|
|
|
|
|
by BeetleB
2747 days ago
|
|
It is because those things are simply not needed to parse or understand the code. Everyone indents anyway. So why need braces? Most people write one statement per line. Who needs semicolons. I've often called it the most useless character in programming language history. Whenever I switch from a language that doesn't use them to one that needs them, it's a horrible transition. I have to mentally remember to add this character at the end of most lines. Parentheses for function calls - in some contexts they are helpful. In most, though, they are not needed. Wherever they are needed, you will have them in F#. For people who went from Python 2 to Python 3, you'll know the pain of suddenly needing parentheses for print statements, and for most of those people, you will not see any benefit to adding those parentheses. Extend that to other functions. |
|
I don't indent. I let the editor do it based on braces.