<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <br>
    <blockquote type="cite" cite="mid:717967696.2951765.1690213828242.JavaMail.zimbra@univ-eiffel.fr">
      <div style="font-family: arial, helvetica, sans-serif; font-size:
        12pt; color: #000000">
        <div data-marker="__QUOTED_TEXT__">
          <div><br>
          </div>
          <div>Let's take another example, a builder. I see no problem
            to have a template processor that acts as
            StringBuilder/StringJoiner.<br>
          </div>
          <div><br data-mce-bogus="1">
          </div>
          <div>var joiner = new StringJoinerAndTemplateProcessor();<br data-mce-bogus="1">
          </div>
          <div>for(...) {<br data-mce-bogus="1">
          </div>
          <div>  joiner."""</div>
          <div>   several lines and \{ holes }<br data-mce-bogus="1">
          </div>
          <div>   """;<br data-mce-bogus="1">
          </div>
          <div>}<br data-mce-bogus="1">
          </div>
          <div>return joiner.toString();<br data-mce-bogus="1">
          </div>
          <div><br data-mce-bogus="1">
          </div>
          <div>I do not see why I can not to that.</div>
        </div>
      </div>
    </blockquote>
    <br>
    I am sorry to hear this.  This is a needlessly-bad design.  <br>
    <br>
    The invocation of ."..." has an effect, but there is no verb
    visible.  What does it do?  (I am not looking for an answer; the
    fact that I have to ask makes this a terrible API design.)  <br>
    <br>
    Whereas, when TemplateProcessor behaves more like Function, it is
    clear what it does; takes an X, and gives me a Y.  (It is then on me
    to handle the Y properly.)  <br>
    <br>
    <blockquote type="cite" cite="mid:717967696.2951765.1690213828242.JavaMail.zimbra@univ-eiffel.fr">
      <div style="font-family: arial, helvetica, sans-serif; font-size:
        12pt; color: #000000">
        <div data-marker="__QUOTED_TEXT__">
          <div><br>
          </div>
          <div>Designing is about trying to separate different concerns.<br data-mce-bogus="1">
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    And having LOG."..." do both the formatting and the logging
    side-effects is cramming two separate concerns into one.  <br>
    <br>
    <br>
    I think it is probably time to end this conversation here, though;
    further arguing about "I wish the design center of this feature were
    different" doesn't seem counterproductive, and it seems you are
    pretty much there.<br>
  </body>
</html>