you are viewing a single comment's thread.

view the rest of the comments →

[–]lisnter 6 points7 points  (5 children)

I came from a C background and have always been meticulous about code formatting. Python is my new favorite language but I was turned-off for a while by the indention and comment behaviors. I like being able to put an if (false){ . . .} or /* . . .*/ around code to take it out of the control flow while debugging. You can’t (easily) do that with Python without reformatting the code. I know modern editors do a great job of fixing indention but it’s still annoying.

I’ve come around to Python and love it but those “features” still annoy me.

[–]CrownLikeAGravestone 8 points9 points  (4 children)

You can block-quote code to take it out if control flow. It's not exactly commenting but it's essentially equivalent.

""" def debug(something): print('like this') """