Comment

Comment by JulianWasTaken

I really don't like the core language developers spending time on an IDE or editor (which is why I would have loved for IDLE to never have been part of the Python standard library), but just as a tangentially related anecdote on the value of interaction between language designers and text editors: I found it eye opening (and insightful) when I learned that in Python the reason why statements that introduce blocks (if, with, for, while) have colons at the outset, even though newlines would be enough (as it is in Ruby and elsewhere) is so that text editors have an easier time indenting: To put it simply, if you see a colon at the end of a line, you know it's time to indent. No need for too much parsing.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton