Re:Clean – A functional programming language
by daveFNbuck on Saturday December 16, 2017 @10:23AM
(#15939900)
How does Rust make it any easier?
[ Parent
| on HN ]
Re:Clean – A functional programming language
by dorfsmay on Saturday December 16, 2017 @10:37AM
(#15939962)
All clauses are defined within curly brackets like C so indentation has no meaning and you can let tools take care of that.
Re:Clean – A functional programming language
by vram22 on Saturday December 16, 2017 @11:11AM
(#15940118)
Also, with editors like vim, you can press % to go to the matching brace (curly bracket). In fact that works in vi too, right from the early vi days; also, in vim, if you position the cursor on an opening or closing brace, it momentarily highlights the other one (at least if that brace is visible on the screen, can't remember offhand if this works even if not visible).
I still like languages like Python and F# though.
Re:Clean – A functional programming language
by daveFNbuck on Sunday December 17, 2017 @11:03AM
(#15946248)
But is it any easier to tell which clause an else is connected to? Python has tools too.