Compare commits

...

1 Commits

Author SHA1 Message Date
deAdvance 2adc864c78 Fixed capitalisations, added missing bits 2021-12-31 11:38:30 +00:00
1 changed files with 5 additions and 5 deletions

View File

@ -41,15 +41,15 @@ title = "Why python is a bad language"
- Variables don't need to be declared. This leads to many issues, such as accidentally overwriting other variables with the same name, or typos going undetected.
- A variable's type may be changed after its assignment, making it harder to work with.
{{ sec_header(name="Poorly done Classes") }}
{{ sec_header(name="Poorly Done Classes") }}
- The `self` parameter being passed into functions explicitly is pointless boilerplate. Instead it should just be there implicitly, and static functions should be declared with a keyword such as `static`.
- Fields do not need to be declared. This leads to issues mentioned before. It also makes the data a class stores undefined, making it harder to work with. It is recommended to declare fields, but unfortunately not enforced.
- 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. There is practically
- 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 is seen as "the beginner's language", and it really should not be. It doesn't teach important concepts, and is way too simplfied.
- 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 and quick scripts you'll only use like 5 times, 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.