by phantom_oracle · 9y ago · 0 comments
However, 2 improvements that could be made are:
1) being able to write the code as normal (if instead of IF, else instead of ELSE) and then using something like:
zu.fmt
To format the code (best of both worlds?)
2) Dropping the ending-brace. It will just lead to many errors that could otherwise be avoided
---
Also, if you are interested in a similar language, maybe Nim might be worth a look:
Is that really true? An amazing amount of absolutely mission-critical infrastructure runs on code that was written once and probably never even code-reviewed.
The really ugly bit is the macro system: Nim macros are awful.
If I had a penny for every time I see you say that on HN... :)
In any case, I disagree with you. Nim macros are really easy to work with, the AST construction is a bit verbose but that can be easily remedied by writing functions which make the construction easier.
>that can be easily remedied by writing functions which make the construction easier.
That can only really go so far...
You can go look up the comments, if you like. I can't do another writeup on it at the moment, sorry to say.