2 ms·
> Python is a very poorly designed language, If you're going to throw around your words so sloppily like this at least give us a few decisions you don't like s
by kjeetgill 4y ago
> Python is a very poorly designed language,
If you're going to throw around your words so sloppily like this at least give us a few decisions you don't like so we have something real to agree or disagree about, lol
- z9znz 4y agoI've covered this in detail before, so I didn't feel like rehashing it. Also, while in fact I did have a run-on sentence (because I failed to use a semicolon in one place where I used a comma), I don't believe it's reasonable to say my words were sloppy. See this thread if you want more than a few examples of how Python is poorly designed (as compared to Ruby): https://news.ycombinator.com/item?id=32116957 https://news.ycombinator.com/item?id=32116957
- IshKebab 4y agoI don't think it's really a controversial opinion though (except among Python fans, of which there are many due to how popular a teaching language it is). IMO the biggest issue is that they add features with absolutely no regard to how you could implement it with good performance. There are also a ton of features that let you do things that are just a really bad idea. Look at something like __subclasses__. Encourages terrible coding practices! (I learnt about it by reading some terrible code my colleagues wrote.) And good luck JITing that. There's also a ton of syntax that is weird and asymmetric, like list comprehensions. Also the fact that you don't need to explicitly create variables is very error prone. Some of that is excusable given how old Python is but that doesn't mean it isn't bad. Oh and import resolution. That's just downright terrible. No excuse there. I'd almost take #include over the insane mishmash of different ways imports work. It's even worse than JavaScript's module disaster.