3 ms·
Love it, was a masterstroke. Less is more. Needs trivial editor support, however. If you’re having trouble I suggest showing leading whitespace in the editor
by mixmastamyk 5y ago
Love it, was a masterstroke. Less is more. Needs trivial editor support, however.
If you’re having trouble I suggest showing leading whitespace in the editor with a very low contrast grey highlight color. Ended all issues for me a decade or two ago. Indentation guides help any language as well. Simple editors like Geany can handle it well.
Unfortunately, Python has gone backwards with the adding of colons everywhere. Pseudocode aspect has sadly been lost imho.
- kwertyoowiyop 5y agoAgreed. I’m getting more annoyed by seemingly-unnecessary characters these days. Are the colons after if/for/etc really needed for parsing? Could they be made optional, as JS has done for semicolons?
- mixmastamyk 5y agoThose were always there and I think read well due to following prose conventions. Was thinking about typing syntax and walrus.