Re:Tour De Babel -- Rant about programming languages
by pmorici on Sunday August 31, 2008 @11:12AM
(#291386)
I find it annoying that people's only real criticism against Python is the white space. I love that feature, it's like high real estate prices, keeps the rif-raf out.
[ Parent
| on HN ]
Re:Tour De Babel -- Rant about programming languages
by gamble on Sunday August 31, 2008 @07:30PM
(#291578)
Python whitespace is a great shibboleth for screening out people who don't agree with the core philosophy of "one and only one obvious way to do something". You could argue that philosophy is the language's defining feature.
If there's any real barrier to Python adoption, it's the lack of a language-specific fad like Java applets or Rails to push it into a wider audience.
Re:Tour De Babel -- Rant about programming languages
by schtog on Sunday August 31, 2008 @01:09PM
(#291421)
I also don't understand that critic. I have never ever had a problem with it and it is a big part of what makes Python so readable. I don't think there is any other language that comes close to Python in terms of readability.
What is the issue people have with it? They write code that writes code? That is the only issue I can come up with.
And self, yes it might seem a bit unaesthetic at first but it is not such a big deal.
For me, Python = productivity
Re:Tour De Babel -- Rant about programming languages
by yariv on Sunday August 31, 2008 @03:06PM
(#291481)
You can write readable code in any decent language, and you can just as easily write unreadable code in Python. The important variable is the programmer's skill, not some language-imposed restriction. Besides, bad use of white space is rarely what makes code unreadable. It's usually poor organization, functions/modules that are too long, non-descriptive names, overly complex class hierarchies, etc. I think Python is a nice language but I disagree that its whitespace rules make it so much more readable than other languages.
Re:Tour De Babel -- Rant about programming languages
by elai on Monday September 01, 2008 @03:26AM
(#291793)
When your working on cross multi-editor / multi-developer projects, you can do your tabs differently, (one might do tabs, another soft tabs, their soft-tabs are 4 spaces, another is 2, another is 8 (ack)) and you get irritating inconsistent tab errors. It can be quite annoying. Having to synchronize on such an irritating detail is even more irritating.
Re:Tour De Babel -- Rant about programming languages
by pmorici on Monday September 01, 2008 @11:58AM
(#291949)
Exactly, in a language where it didn't matter the code would just look like crap over time where as python would force you to face the problem.
Not to mention can't you fix that sort of in consistency in vim or Emacs with a few commands?
Re:Tour De Babel -- Rant about programming languages
by schtog on Tuesday September 02, 2008 @11:46AM
(#292798)
So you just decide to use the same?