7 ms·
Ironically they reject tabs and require space indentation. Something something the complexity of supporting both. Yet we have style insensitivity..
by throwaway_au_1 4y ago
Ironically they reject tabs and require space indentation. Something something the complexity of supporting both. Yet we have style insensitivity..
- isofruit 4y agoTo be fair, you can tell your IDE to just turn tabs into spaces and call it a day, that's an issue for all of 5 minutes. What you can't do is tell your IDE to interpret camel-case as snake-case if you want (or vice versa), just because this package you really need uses camel-case and you want to use snake-case.
- elcritch 4y agoThat actually makes whitespace syntax in Nim much better. Can't recall the number of times I copied Python code snippets and had to track down lurking tabs.
- int_19h 4y agoYou can't mix tabs and spaces in the same file since Python 3, which completely solves this problem without imposing one or the other choice on the users.