News for hackers. Stuff that matters.
Re:A modest proposal by masklinn on Saturday September 09, 2017 @05:17AM (#15206220)
In Erlang, commas and semicolons are separators not terminators. So you are in fact disallowed to have a semicolon at the end of a sequence of clauses, it's either nothing (for case) or a period (for functions)
Re:A modest proposal by donatj on Saturday September 09, 2017 @06:34AM (#15206435)
It sounds dumb, but this was actually one of the things that turned me off Erlang despite my interest.
Re:A modest proposal by masklinn on Saturday September 09, 2017 @06:51AM (#15206485)
It's definitely weird, but it allows for neat stuff e.g. in Emacs' erlang-mode when you type a semicolon it automatically creates a new clause (function or case) for you.