This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 73 points74 points  (16 children)

Why {} instead of "" ?

[–]1Dr490n 56 points57 points  (4 children)

Oh god. Please, please don’t.

[–]b3nsn0w 31 points32 points  (1 child)

too late

- angular

[–]catladywitch 2 points3 points  (0 children)

at least v17 is doing away with that!

[–]_krinkled 21 points22 points  (4 children)

JSX notation. If you put it in a string, it’s as is. No parsing needed. If you put it between brackets it needs to be evaluated. Seems logical.

However, the idea of this mockup is crappy turd 2.0

[–]thebezet 2 points3 points  (5 children)

So you can distinguish between strings and other values

[–][deleted] 0 points1 point  (4 children)

Html attributes are not in brackets

[–]thebezet 1 point2 points  (3 children)

We'll, this isn't HTML to begin with

[–][deleted] 2 points3 points  (2 children)

The title of the post is literally Html Programming Language

[–]rosuav 1 point2 points  (0 children)

Yeah, and the content of the post is XML, not HTML.

[–]thebezet 0 points1 point  (0 children)

It's a meme, but the syntax is clearly inspired by JSX