Earlier quoted context omitted.
I'd love for them to adopt something similar to Razor (Microsoft server side html engine) note: i've changed your example to show code inside html tags, i'm aware it does something different to yours. conditionals @if(cond1 && cond2) { foo } loops @for(var i in collection) { } variables @variable ternary/longer statement @(variable ? 1 : 2)
The one negative thing I've found with Razor is the ambiguous start and end of statements or expressions vs html. Sometimes a @ is required before a statement and sometimes its a syntax error, conversely statements and and expressions may be rendered as text if they follow html with a @. I think jsx's approach is clearer.
Maybe just a personal thing.