5 ms·
Ruby's syntax is much nicer. I just can't stand the idea of using whitespace for scope delimiting.
by shmerl 1y ago
Ruby's syntax is much nicer. I just can't stand the idea of using whitespace for scope delimiting.
- dapperdrake 1y agoRon Garrett noticed that emacs can use "pass" like a closing brace for auto-indenting. Genius.
- pzo 1y agoI wish python had support for optional braces. Maybe time I copy some snippet or integrate some other project into mine and have to worry if someone using 2 spaces, 4 spaces or tabs.
- shmerl 1y agoYeah, but they seem to think it's a feature, not a hindrance. I don't really understand the idea.
- fastasucan 1y agoIf you are worrying about that you should try to Ruff or an equivalent.
- t43562 1y agoI thought that too....but I did get over it. I ended up feeling that it removes a lot of (internal) debate about what's the best style for braces that you get in C-like languages.
- shmerl 1y agoIt's just weird. May be if you are used to it, it doesn't bother you, but I find it too easy to do something wrong with scope.
- mixmastamyk 1y agoI love it, so much more concise and clean without the brace noise.