Hacker News new | ask | show | jobs
by improbable22 2062 days ago
Other things are OK too. I quite like that if/elseif/else/end only needs one closing, no other openings.

I don't know whether using {} for both types & blocks would be hard to parse, maybe it's possible. I have heard & can believe that parsing <> as a 4th ascii bracket is pretty tricky.

1 comments

I have heard & can believe that parsing <> as a 4th ascii bracket is pretty tricky.

That's probably because < can appear without >, e.g. in a<b.