I love languages that go the extra mile with their syntax errors. Here's Julia being helpful when you write 'else if' rather than 'elseif'.
miniblog.
Related Posts
I've released difftastic 0.62! In this release:
* Updated parsers for Bash, C, C++, C#, CSS, Go, Haskell, HTML, Java, JavaScript, JSON, Julia, Lua, Objective-C, OCaml, PHP, Python, Ruby, Scala, TOML, TypeScript and XML.
* Obligatory crash fixes.
One underrated feature of Go and Julia: methods are defined without extra indentation. In e.g. Java they're inside the the class at the next indentation level.
Methods are so common and indentation is a finite resource. "Top level method" syntax is surprising at first though.
It's funny how markdown has won in so many tools for prose, but doc comments syntax is so varied.
Rust and Julia are largely markdown, Python is ReST plus doctest syntax, and Java even an HTML dialect!


