News for hackers. Stuff that matters.
Re:Reasons Python Sucks by setpatchaddress on Tuesday December 18, 2018 @12:16PM (#18708317)
Agreed. After indentation-as-syntax -- which I've always hated, and I've been using Python since version 1.5 -- lack of switch statement is my #1 problem with Python.
Re:Reasons Python Sucks by bakery2k on Tuesday December 18, 2018 @12:34PM (#18708530)
> indentation-as-syntax -- which I've always hated

What would you prefer? C-style syntax? Ruby-style `end end end`?

Re:Reasons Python Sucks by unethical_ban on Tuesday December 18, 2018 @07:55PM (#18712076)
Literally anything that allowed easier linting, less "wait am I doing it right" regarding multi-line statements, etc.

If that is a keyword, or brackets, or whatever, I would prefer that. You can't minify or easily lint python. And you can't easily tell if there are mixed indent methods (tabs/spaces) and IDEs struggle with it vs. a simple bracket structure.

Re:Reasons Python Sucks by saagarjha on Tuesday December 18, 2018 @08:21PM (#18712235)
C-style syntax. I'm not a fan of using something that is inherently invisible to scope my code, and be yelled at if it's not quite right (I'm writing this in Python because I want it to be done quickly; just leave my code style alone and I'll fix it later!)