r/pythontips • • Apr 06 '19

Some Python anti-patterns

46 Upvotes

18 comments sorted by

View all comments

-1

u/[deleted] Apr 06 '19

[removed] — view removed comment

0

u/PiaFraus Apr 06 '19

When i see fruits, i know it's an iterable. The proper logic shouldn't give a damn of the types. All you know it's some sequence of something representing fruits. You can store them and print, and dont care about tyoes, together with this abomination of a syntaxis