MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/igvny1/python_goes_brrrr/g2wxvxe/?context=3
r/ProgrammerHumor • u/das_freak • Aug 26 '20
789 comments sorted by
View all comments
2
I remember code where we did:
def get_number_of_thingies(thingies_per_section, number_of_sections): number_of_thingies = thingies_per_section * number_of_sections return number_of_thingies
without realizing that thingies_per_section was a string ... with a value in the millions. The result was a string the size of a several novels.
thingies_per_section
2
u/[deleted] Aug 26 '20
I remember code where we did:
without realizing that
thingies_per_sectionwas a string ... with a value in the millions. The result was a string the size of a several novels.