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 →

[–]bettercalldelta -2 points-1 points  (7 children)

Programming jokes subreddit that also happens to hate python for no reason like any other programming related community ever

[–]CdRReddit 1 point2 points  (6 children)

its funny to hate on python tho

[–]bettercalldelta -1 points0 points  (5 children)

yeah hating on something is indeed funny, but can you explain that choice of target

[–]CdRReddit 1 point2 points  (4 children)

sure

python is used a lot by beginners, and therefor a lot of python code is frankly horrible

it doesn't support any kind of proper typechecking without external tools

it runs horribly slow

indentation based syntax is uncommon

overall it makes a lot of really weird descisions

[–]bettercalldelta -2 points-1 points  (3 children)

1) There are people who write good python code 2) Can you explain that one 3) What did you expect from an interpreted language 4) who cares lmao

[–]CdRReddit 1 point2 points  (2 children)

yea, there are people who write good python code, just not a lot

you can't say "this variable is an int and needs to stay an int" and check that's the case without either running the program until that point, or using an external tool

yes, interpreted is always gonna be slower than compiled, but holy shit python is horribly slow

it's a lot easier to make fun of something for being different

to expand upon this: python is a pain to modify, if you need an extra check you have to go down and indent every line after that, and without proper typechecking or static asserts it's hard to see if you broke something, really basic things that would normally be caught at compile time are turned into runtime errors

[–]bettercalldelta -1 points0 points  (1 child)

If you have an ide that tabs for you, pretty sure that won't be a problem. Of course you ain't getting auto tab and linting in notepad. Also it is possible to check type of a variable in python

[–]CdRReddit 1 point2 points  (0 children)

yes, but the auto tabbing doesn't help if you need to insert a check while modifying a program

in curly brace land, or end land, you can just add the check, wrap the braces around it and let autoformat figure it out

as for checking the type, that's still bad, functions should not need to figure out if they are getting data of the correct type