By villane
via villane.wordpress.com
Published: Apr 11 2008 / 17:50
Based on what I know about it, I consider Python one of the good languages. But there’s one thing that really irks me about the language, more than the somewhat significant whitespace or some of the syntax quirks: __init__ and all those damn double underscores. Do you program in Python regularly? What do you think about the underscores?



Comments
dzonelurker replied ago:
That's Python's disclaimed C heritage.
jchiu1106 replied ago:
I kinda like the double underscores.
projecktzero replied ago:
I was expecting the usual "whitespace" and/or "self" rant.
kenman replied ago:
Wow, could you nit-pick about anything more trivial?
Underscores are commonly used in many languages to denote reserved functionality, and is the same in Python.
villane replied ago:
I agree that I'm nitpicking, but I have my reasons to nitpick on such little details: I think we increasingly need languages with better usability and that includes not exposing technical and low-level stuff as much, especially in interfaces. That's why I don't really feel comfortable with C++. I just don't want to be thinking at that low a level when writing code. I'm much more comfortable with Java or Scala. While holistically Python is probably more high-level than Java, some things make it look much more low level. I think that's not consistent, and I value consistency.
Mourner replied ago:
Actually this is what annoyed me a lot too.
Voters For This Link (7)
Voters Against This Link (14)