Why mandatory interpolation? #572
Closed
Stefanovicius
started this conversation in
General
Replies: 1 comment
-
|
It's mostly because our parser is checking each block on it's own (token based). So we need interpolation to make sure that we have encapsulated the text inside. This single change would slow down the parser/compiler as it would need to have additional checks (token by token) to analyze whether something is text or statement. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Why
<h1>{"Welcome to Ripple!"}</h1>And not
<h1>Welcome to Ripple!</h1>?
Seems redundant, should be:
Then it would be perfect.
Beta Was this translation helpful? Give feedback.
All reactions