Python is a joke

Python is a joke.

>IndentationError: expected an indented block
>IndentationError: unexpected indented block
>IndentationError: expected an indented block
>IndentationError: unexpected indented block
>IndentationError: expected an indented block
>IndentationError: unexpected indented block
>IndentationError: expected an indented block
>IndentationError: unexpected indented block
>IndentationError: expected an indented block
>IndentationError: unexpected indented block
>IndentationError: expected an indented block
>IndentationError: unexpected indented block
>IndentationError: expected an indented block
>IndentationError: unexpected indented block
>IndentationError: expected an indented block
>IndentationError: unexpected indented block
>IndentationError: expected an indented block
>IndentationError: unexpected indented block
>IndentationError: expected an indented block
>IndentationError: unexpected indented block
>IndentationError: expected an indented block
>IndentationError: unexpected indented block
>IndentationError: expected an indented block
>IndentationError: unexpected indented block
>IndentationError: expected an indented block
>IndentationError: unexpected indented block
>IndentationError: expected an indented block
>IndentationError: unexpected indented block
>IndentationError: expected an indented block
>IndentationError: unexpected indented block
>IndentationError: expected an indented block
>IndentationError: unexpected indented block
>IndentationError: expected an indented block
>IndentationError: unexpected indented block
>IndentationError: expected an indented block
>IndentationError: unexpected indented block
>IndentationError: expected an indented block

Other urls found in this thread:

github.com/networkx/networkx
okasaki.blogspot.com/2008/02/in-praise-of-mandatory-indentation-for.html?m=1
twitter.com/NSFWRedditVideo

fix your code dummy

Nope

>write a program
>don't follow the rules/use a terrible editor
>throw a bitchfit when it doesn't work
(You)

Python is fine for kiddy shit.

cringe

>proper indentation and formatting is for babbies!!!!!!!!!

Has its flaws, but reality unfortunately is that many worse languages and libs exist.

Basically, its far from the worst. If you are doing work with computers on this level, learn to deal with it.

And who decides what """"""proper"""""" indentation is?

Python has programmatically significant whitespace. That IS pretty dumb when you consider source code is for human editing. We are shit at seeing and remembering whitespace.

> Language is a joke because I'm a moron who doesn't understand indentation

Use a text editor that shows your indentation level

And don't recursively nest your if statements 200 times and you won't have text going off the screen

Step 1: use a text editor that isn't a complete piece of shit (ie. it understands indentation, and writes the correct number of spaces when you use tab)
Step 2: Stop blaming the language for your own failures

> And don't recursively nest your if statements 200 times and you won't have text going off the screen

i.e. break tasks out into functions

That it can be dealt with doesn't change that it is pretty damn dumb.

...

That it can be *easily* dealt with means that it is in fact you who is dumb.

the compiler.

OP isn't using tabs converted to 4 spaces, fucking pleb

>python is shit

github.com/networkx/networkx

>Los Alamos Natlional Labs

k

>laugh at pythons indentation
>have to use curly brackets for blocks of code in C
>write C program with curly brackets
>use indentation in said C program for better readability

Indentation is done to make things easier to read for humans even in languages where the machine would ignore it.

This
Python code which looks right generally is right
C code which looks right is only that way for your convenience; and if you fuck up the braces but keep using certain indentation then it looks right but is wrong, which is awful.

In languages without significant whitespace, you can improperly indent code in a way which hides your intent. It can be helpful when the language, in a certain sense, forces you to "say what you mean".

Chris Okasaki has a nice post talking about how this is particularly true for novice programmers: okasaki.blogspot.com/2008/02/in-praise-of-mandatory-indentation-for.html?m=1

That being said, I prefer Lisps.

Python is a language for people who actually have developer jobs in the real world.

If that was the intent, Python would feature mandatory automatic code formatter instead. But no, this is just a lazy man's way of avoiding braces. That turned out (obviously) to be stupid because it then requires need way too much editor support to reduce a slew of new possible mistakes it causes.

Almost the same argument here.

I do not care that some university prof might feel he gets more "readable" code, the problem is that something we are really shit at seeing now affects program correctness.

retard, install a pep8 format engine and shut up.
you've never been through the pain fixing a missing bracket in a huge project.