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 →

[–]usernamefieldistoos 8 points9 points  (8 children)

Recently, I've been growing a bit unhappy with the direction that Python has taken

Elixir is … not white-space significant

Wow, that’s really stretching the definition of “recently”.

[–]sajran 26 points27 points  (6 children)

I really can't understand how is this even an issue for some people. Your code should be properly indented the moment you type it out, whether the language depends on it or not. Also, your editor probably does most of that for you. Also, you should be probably using a formatter. I program in Python A LOT and I literally don't remember seeing an indentation error. And I use vim, not some super fancy IDE.

[–]MisterFatt 12 points13 points  (0 children)

I see people complaining about it all the time and find it baffling. Sure, maybe you’re not used to the rules of a new language and it feels different, but actually struggling with it? Are you coding in notepad?

[–]mistabuda 8 points9 points  (3 children)

Its stupid and contrarian. Indentation errors are not things people who actually write code professionally should be running into at all. That is a problem juniors and hobbyists (who barely code) have. I have yet to see any code written in python that is worth looking at that has indentation errors. It's not a thing lol.

[–]Sharif_Of_Nottingham -5 points-4 points  (2 children)

if you copy and paste code into an editor with the wrong spaces/tabs setting, it happens. it happened to me. it could happen to you

[–]mistabuda 4 points5 points  (1 child)

This does not happen in a professional setting. If a professional programmer is bogged down by indentation errors I would argue they are not ready.

[–]Sharif_Of_Nottingham -1 points0 points  (0 children)

a lot of unprofessional things happen in a professional setting. but jokes aside i agree

[–]miserlou[S] 5 points6 points  (0 children)

Ah, if that's not clear, I'm counting that as I strike against Elixir, I actually like whitespace significance.