forked from LordMZTE/pythonlang2
Fixed capitalisations, added missing bits
This commit is contained in:
parent
d43cd0b441
commit
2adc864c78
1 changed files with 5 additions and 5 deletions
|
@ -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.
|
- 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.
|
- 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`.
|
- 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.
|
- 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.
|
- 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. There is practically
|
- 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.
|
- 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 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") }}
|
{{ 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.
|
||||||
|
|
Loading…
Reference in a new issue