From 53309a5fb4258d4ac2856f841fc97ac32b2abdf0 Mon Sep 17 00:00:00 2001 From: LordMZTE Date: Fri, 11 Feb 2022 19:39:42 +0100 Subject: [PATCH] add point about operator chaning bullshit --- content/_index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/_index.md b/content/_index.md index 2d32a66..e0c71d5 100644 --- a/content/_index.md +++ b/content/_index.md @@ -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") }}