3 ms·
I, an actual adult, would love a Python like that. It's not that I can't program in Python (or that I'm sloppy with indentation - quite the reverse, actually),
by eszed 3y ago
I, an actual adult, would love a Python like that. It's not that I can't program in Python (or that I'm sloppy with indentation - quite the reverse, actually), but I find significant white-space really difficult to read, and harder to hold in my head. I'm not sure why that is!
- ikari_pl 3y agoIt only used to be a progrem if you use more than one editor for your code. Set everything to 4 spaces and be merry! For where you have to put a newline and an indent, I tend to think of it like the mandatory "only good" formatting, which many languages suggest, or enforce, anyway. Maybe rather than "whitespace matters", we should see it more like "you gotta start an indented block after if condition:"