3 ms·
It's impossible to place such a limit on Java/C#, but for C, it's not that hard especially if you go for 4 spaces indentation.
by chj 10y ago
It's impossible to place such a limit on Java/C#, but for C, it's not that hard especially if you go for 4 spaces indentation.
- sedatk 10y agowith c# you need at least two more indents for class and a completely frivilous namespace block. i wish c# had adopted java's namespace syntax too.
- derefr 10y agoThis reminds me of one diamond-in-the-rough of Erlang's syntax: rather than a module block, you just have a module-name attribute at the top of each file (where the entire file is then related to that module.) Your functions are just right there against the left of your screen!
- erik_seaberg 10y agoHaskell has a module block, but you don't need to indent the content because the block can end at EOF.