4 ms·
Can you give an example?
by zufallsheld 12y ago
Can you give an example?
- bpicolo 12y agoThe best justification is probably that you lose an entire class of errors, but imo you improve language expressiveness. Rust takes advantage of it's braces in good ways, I'd say.
- k__ 12y agoI'd like some examples, too. I found myself struggling with whitespace-languages at first.
- arohner 12y agoMulti-line lambdas, for one.
- k__ 12y agoWasn't the multi-line lambda problem in Python due to the fact how small lambdas have to be in Python?
- Grue3 12y agoAutomatic, unambiguous indentation of code by editor.
- ahoge 12y agoIt lets you paste some code and hit auto-format. I'm actually kinda serious. Moving pieces of Python code around is unnecessarily error-prone. I don't consider this to be a good tradeoff.