forked from LordMZTE/pythonlang2
add point about operator chaning bullshit
This commit is contained in:
parent
f3f3257f21
commit
53309a5fb4
1 changed files with 2 additions and 2 deletions
|
@ -47,14 +47,14 @@ title = "Why python is a bad language"
|
|||
- Enums are basically just classes, and are yet another lazy afterthought.
|
||||
|
||||
{{ sec_header(name="Wide Spread Because Of The Wrong Reason") }}
|
||||
- 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.
|
||||
- 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.
|
||||
- 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") }}
|
||||
- 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.
|
||||
- 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") }}
|
||||
|
||||
|
|
Loading…
Reference in a new issue