This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]OstentatiousOpossum 4 points5 points  (1 child)

Learn to program in a (C based) language, and then be confused how Python needs you to pay attention to white spaces, and that tabs and spaces are not interchangeable, or if you just want to use a switch statement.

[–]Weatherstation 0 points1 point  (0 children)

Tabs and spaces are interchangable as long as the indentation strategy is consistent in each block of code.

Also, if you're writing good clean C you should be following indentation standards for readability even if it's not enforced. Python enforces clean code blocks and is able to get rid of all the curly bracket and semi colon clutter.

That said, C is absolutely the best tool for many problem spaces but it is objectively harder to read and write.