<div dir="ltr">Hamlet, Cassius and (currently) Julius all use a consistent set of characters for interpolation. The dollar sign ($) is for plain scalars, the at sign (@) is for URLs and the caret (^) is for embedding other templates (mixins in the case of Cassius). I like this consistency.<div>
<br></div><div>Unfortunately, in the case of Julius, the dollar sign is a suboptimal character to use since jQuery uses is so extensively. Currently, to write some simple jQuery Javascript such as:</div><div><br></div><div>
$(&quot;h1&quot;).hide()</div><div><br></div><div>you have to use a double dollar sign to achieve escaping, namely:</div><div><br></div><div>$$(&quot;h1&quot;).hide()</div><div><br></div><div>So the questions to the list are:</div>
<div><br></div><div>* Is it worth trading consistency for a better choice of interpolation character?</div><div>* If so, what would be a more optimal interpolation character? I think percent sign (%) might be acceptable.</div>
<div><br></div><div>Interpolation is not as important in Julius as it is in Hamlet, so I&#39;m beginning to lean towards replacing the character.</div><div><br></div><div>Michael</div></div>