forked from LordMZTE/pythonlang2
add True/False point
This commit is contained in:
parent
5882c3102f
commit
e8eb8fa6b1
1 changed files with 1 additions and 0 deletions
|
@ -22,6 +22,7 @@ title = "Why python is a bad language"
|
|||
- The syntax for inheritance looks really confusing. `Foo(Bar)` looks like `Foo` has a constructor that takes a `Bar` as an argument, and not like `Foo` extends `Bar`.
|
||||
- For some reason, the `pass` keyword exists. Why can't we just leave the block empty or omit the `:`? Yet another lazy implementation!
|
||||
- The recently added `:=` (assignment expression) operator exists, instead of simply making the normal assignment (`=`) an expression.
|
||||
- `True` and `False` are capitalized which is unconventional and annoying.
|
||||
|
||||
{{ sec_header(name="Lacking Features") }}
|
||||
- Lambdas are a poorly implemented afterthought.
|
||||
|
|
Loading…
Reference in a new issue