4 ms·
Are you kidding? Mandating whitespace is possibly the single worse feature of python. Lisp editing is an extremely mature topic, and rarely does a lisp progra
by burgerbrain 16y ago
Are you kidding? Mandating whitespace is possibly the single worse feature of python. Lisp editing is an extremely mature topic, and rarely does a lisp programmer have to actually deal with code formatting. To turn that on it's head would be madness. A complete step backward.
- Locke1689 16y agoYou both have stupid arguments which basically boil down to "I don't like it because I prefer it the other way." This stupid flamewar has been fought countless times on countless online forums, let's not do this.
- burgerbrain 16y agoNo... my argument is: "requiring lisp programmers to pay attemtion to formatting when they haven't had to do so for years, just to make some python developers feel more at home, is stupid." Mandating whitespace complicates the situation, and for what benifit? You're the one proposing a dramatic change, show some dramatic evidence to back up your proposition.
- Locke1689 16y agoMandating whitespace complicates the situation, and for what benifit? You're the one proposing a dramatic change, show some dramatic evidence to back up your proposition. What did you not understand by "let's not do this?"
- jacobolus 16y agoPaul Graham says: > We can get rid of (or make optional) a lot of parentheses by making indentation significant. That's how programmers read code anyway: when indentation says one thing and delimiters say another, we go by the indentation. Treating indentation as significant would eliminate this common source of bugs as well as making programs shorter. http://www.paulgraham.com/popular.html http://www.paulgraham.com/popular.html
- burgerbrain 16y agoBy requiring parenthesis, indentation becomes so much simpler, the programmer doesn't even have to do it. It's done automagically.
- eru 16y agoIt's done automagically for me in Python and Haskell, too. Instead of hitting the paren keys in Emacs, I just hit tab to cycle through the possibilities. Because the Lisps have such a canonical way to indent them, in practise it feels very similar to significant whitespace with a funny input method.
- burgerbrain 16y ago"automagically", "I just hit tab" You and Understanding are not exactly on speaking terms, are you?
- eru 16y agoNormally, hitting tab just insert another \t wherever your cursor happens to be. Hitting tab in haskell-mode or python-mode just cycles through the two or three (or sometimes one) possibility for indentation for the current line. That's automagically enough for me.