Jump to content

Talk:McNuggets problem: Difference between revisions

(Python)
Line 22:
 
==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 sate 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. [[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 07:14, 26 October 2018 (UTC)
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.