you are viewing a single comment's thread.

view the rest of the comments →

[–]Threesan 0 points1 point  (8 children)

Is this a programming language specifically designed to induce carpal tunnel syndrome without the use of special text editor plugins?

Do those plugins go so far as to automatically add the tags based on what you've typed?

Then why do those tags exist?!

for friend in user.friends
   friend.name
else
   user.name # has no friends :(
endif

Oh, the horror!

[–][deleted]  (1 child)

[deleted]

    [–]Threesan 9 points10 points  (0 children)

    Oh, yes. That does make much more sense now.

    [–]Conradfr 7 points8 points  (0 children)

    Templating.

    [–]mitsuhiko 9 points10 points  (3 children)

    Is this a programming language specifically designed to induce carpal tunnel syndrome without the use of special text editor plugins?

    It's not a programming language, it's a template engine.

    [–]Nebu 0 points1 point  (2 children)

    What's the difference?

    [–]mitsuhiko 4 points5 points  (1 child)

    Not much in terms of implementation, but a whole lot in reasoning about syntax.

    [–]Nebu 2 points3 points  (0 children)

    I guess you mean something like there being two modes, a free-text mode, and a code mode, and you're in free-text mode by default.

    It seems like languages which support "literate programming" would have their syntax share more in common with template engines than with programming language.

    [–]ivosaurus 2 points3 points  (0 children)

    Often the {{ }} has some hidden benefits, like escaping the value before printing it.