News for hackers. Stuff that matters.
Re:Not Lisp again (2009) by lisper on Wednesday May 03, 2017 @01:00PM (#14257680)
No. Our editors auto-indent the code for us. This is one of the reasons Lisp syntax is better than python. Python syntax does not have enough information to auto-indent so it really is up to the programmer. Not so with Lisp.
Re:Not Lisp again (2009) by nitroll on Thursday May 04, 2017 @08:58PM (#14270341)
I hate when I code python and refactor stuff, moving stuff around and such, that I cant just copy/clip around and then do a final 'indent all my work correctly' like I can in a language like lisp.

I am kind of developing a grudge against whitespace sensitive languages. Not because it forces the programmer to indent properly, but because it disables my editors abilities to do it for me.

Re:Not Lisp again (2009) by lisper on Friday May 05, 2017 @12:55AM (#14271192)
Actually, Python has the equivalent of open-parens: the colon. What it doesn't have is close-parens, but if you use emacs then it will outdent on PASS and RETURN statements. In my personal coding style I always put PASS statements at the end of block so my code auto-indents properly. Hard-core Pythonistas hate this, but I really don't care what they think.