add point about operator chaning bullshit

This commit is contained in:
LordMZTE 2022-02-11 19:39:42 +01:00
parent f3f3257f21
commit 53309a5fb4
Signed by: LordMZTE
GPG key ID: B64802DC33A64FF6

View file

@ -47,14 +47,14 @@ title = "Why python is a bad language"
- Enums are basically just classes, and are yet another lazy afterthought. - Enums are basically just classes, and are yet another lazy afterthought.
{{ sec_header(name="Wide Spread Because Of The Wrong Reason") }} {{ sec_header(name="Wide Spread Because Of The Wrong Reason") }}
- Python is seen as "the beginner's language", and it really should not be. - Python is seen as "the beginner's language", and it really should not be. As said earlier on this website, Python has numerous issues that stop the newbie from quickly getting used to other PLs, by lacking basic functions.
- As said earlier on this website, Python has numerous issues that stop the newbie from quickly getting used to other PLs, by lacking basic functions.
- Python should only be used if you wanna handicap yourself into an inferior PL, just to see what you can do. No more, no less. - Python should only be used if you wanna handicap yourself into an inferior PL, just to see what you can do. No more, no less.
{{ sec_header(name="Other Issues") }} {{ sec_header(name="Other Issues") }}
- Strings can be evaluated as code, also encouraging spaghetti code. - Strings can be evaluated as code, also encouraging spaghetti code.
- Doc comments are available at runtime using `help(element)`, and they should not be, because this too encourages spaghetti code. - Doc comments are available at runtime using `help(element)`, and they should not be, because this too encourages spaghetti code.
- The command line REPL prints `Use exit() or Ctrl-Z plus Return to exit` for no reason, instead of simply exiting. - The command line REPL prints `Use exit() or Ctrl-Z plus Return to exit` for no reason, instead of simply exiting.
- Operator chaning often works in completely nonsensical ways. For example `False == False in [False]` is treated as `False == False and False in [False]` and not as something that makes sense such as `(False == False) in [False]` or `False == (False in [False])`.
{{ sec_header(name="Conclusion") }} {{ sec_header(name="Conclusion") }}