Talk:Cheryl's birthday: Difference between revisions
Content added Content deleted
(→Improve tag on Python entry: Moved.) |
m (→Improve tag on Python entry: sp.) |
||
Line 1:
==Improve tag on Python entry==
I added an improve tag on the Python entry as it does not look or read like idiomatic Python. To avoid an edit war I will
# Commented type annotations read like those from a different programming language.
|
Revision as of 07:30, 26 October 2018
Improve tag on Python entry
I added an improve tag on the Python entry as it does not look or read like idiomatic Python. To avoid an edit war I will state my reasons:
- Commented type annotations read like those from a different programming language.
- Use of map/filter over comprehensions.
- Use of trivial functions: fst, id, _not, snd, swap
- Overwriting a builtin name: id
- main() without `if __name__ == "__main__"`
- Shares structure and naming with examples from other languages.
It reads like a translation from another language and RC is about idiomatic code. Paddy3118 (talk) 07:14, 26 October 2018 (UTC)