3 ms·
Python was my second language, after Java. I found the whitespace "rules" (I can only think of one) a non-issue, since I always properly indented by Java code a
by baddox 16y ago
Python was my second language, after Java. I found the whitespace "rules" (I can only think of one) a non-issue, since I always properly indented by Java code anyway. Python just took the indentation that was already there and used it as information.
I'm always surprised to see even seasoned programmers attack Python for its whitespace being confusing. The only confusion or problem I can imagine encountering with Python is the spaces vs. tabs debate, and even that is only an issue if you're working with developers who disagree with you on the debate. In a job environment, hopefully there will be a style guide that's accepted and enforced by the developers. Of course, PEP 8 technically settles it for the Python community.
- kenjackson 16y agoAs someone who was experienced I did find it frustrating -- I can recall almost wanting to write a new editor because doing things like I used to (cutting and pasting loads of buffers and refactoring code) just didn't work very well. Again this is pre-1998, so I'm sure now this works just fine, but then it was just frustration. Or at least that's how I recall it.