3 ms·
If you're a fan of discipline then you could also just call lint (or equivalent) before compiling.
by amelius 2y ago
If you're a fan of discipline then you could also just call lint (or equivalent) before compiling.
- em-bee 2y agodoesn't help me when i have to deal with other peoples code. a language that enforces discipline by itself tends to be easier to read.
- amelius 2y agoBut what is the next step? A compiler that complains when you multiply by constant one?
- em-bee 2y agoanything a linter can do, can be included in a compiler. or the linter can be part of the compilation process by default. iaw instead of being optional it should be required maybe with a special opt-out, but opt-out should be frowned upon.