HTML5 Canvas
Written by: Simon Sarris
Featured Refcardz: Top Refcardz:
  1. Apache Hadoop
  2. Web Driver
  3. MVVM
  4. REST
  5. ADO.NET
  1. HTML5
  2. Ajax
  3. jQuery Selectors
  4. CSS Part 1
  5. Git

Link Details

Link 75369 thumbnail
User 188795 avatar

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?
  • 7
  • 14
  • 3131
  • 0

Comments

Add your comment
User 236137 avatar

dzonelurker replied ago:

0 votes Vote down Vote up Reply

That's Python's disclaimed C heritage.

User 205238 avatar

jchiu1106 replied ago:

1 votes Vote down Vote up Reply

I kinda like the double underscores.

User 208784 avatar

projecktzero replied ago:

0 votes Vote down Vote up Reply

I was expecting the usual "whitespace" and/or "self" rant.

User 204084 avatar

kenman replied ago:

0 votes Vote down Vote up Reply

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.

User 188795 avatar

villane replied ago:

0 votes Vote down Vote up Reply

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.

User 222608 avatar

Mourner replied ago:

0 votes Vote down Vote up Reply

Actually this is what annoyed me a lot too.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.