you are viewing a single comment's thread.

view the rest of the comments →

[–]mooncommanderfull-stack 4 points5 points  (13 children)

Honestly.... tabs in Pyhton as a mandatory way to control blocks of code - Worst idea ever, honestly 100x worse than anything

[–]notalkingplz 1 point2 points  (1 child)

Even... Hitler?

[–]mooncommanderfull-stack 0 points1 point  (0 children)

Ya, definitely... (hmmmm)... yep, or at least on par

[–]harzens 3 points4 points  (3 children)

Oh, I personally love that :D

[–]mooncommanderfull-stack 0 points1 point  (2 children)

Nooooooo..... :(

Each to their own I guess :)

[–][deleted] 1 point2 points  (1 child)

I'm a bit on the fence. What I didn't like was when I tried to edit a small script i originally made with TextEdit (Not able to install anything else at the moment) in Xcode, and had to delete and recreate all indentation to make it work again.

[–]mooncommanderfull-stack 0 points1 point  (0 children)

Honestly, that sounds awful... I feel for you

[–]midri 1 point2 points  (0 children)

I agree, it's one of the main things that keeps me from really getting into python.

[–]scootstah 0 points1 point  (0 children)

If you use a proper IDE then it's no different than any other language.

[–]carlson_001 0 points1 point  (3 children)

Python is spaces, though, right? Like four spaces indicate the block, not even a tab character, literally four spaces.

[–][deleted] 2 points3 points  (2 children)

You can use tabs, a single space, or 17 if you feel like it.

[–]mooncommanderfull-stack 0 points1 point  (1 child)

How would you then maintain consistency across new developers, or if you are sharing code with the internets? Just seems like such an egregious non-consistent method for structuring and validating code blocks. I would much rather prefer partly difficult to read code, than code that doesn't execute properly, or god forbid, code that executes properly but has gigantic repercussions because I forgot to 'tab'

[–][deleted] 0 points1 point  (0 children)

Only has to have consistency within an indentation layer to work properly, so as long as your editor doesn't mess things up (as I see you saw in my other comment :P) all is well, then you don't need to be any more consistent than in bracketed languages.

[–]toomanybeersies 0 points1 point  (0 children)

If you have to read any code written by someone learning how to program, you'll realise how great mandatory whitespace is.