Erik Engheim
1 min readAug 26, 2021

--

You should have read the last part Dick ;-)

" I hope to convince you to not think of language which don’t use curly braces as somehow being second rate and not worthy of your attention. "

A lot of people are highly opiniated about this and simply refuse to use languages without curly braces. I am just trying to show that there are completely valid choices behind other syntax choices.

With respect to parsing, I think you missed the point. The parsing discussed was the problems introduced by using <> to contain type parameters. It limits the type of expressions you can have inside. That is undeseriable for an expressive language such as e.g. Julia.

Parsing {} is of course trivial. I don't know why you presumed that anyone would think that is difficult. Identifying a single character as a token in a lexer is trivial compared to identifying a multi-character lexeme.

--

--

Erik Engheim
Erik Engheim

Written by Erik Engheim

Geek dad, living in Oslo, Norway with passion for UX, Julia programming, science, teaching, reading and writing.

No responses yet