MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/igvny1/python_goes_brrrr/g2wh6t5/?context=3
r/ProgrammerHumor • u/das_freak • Aug 26 '20
789 comments sorted by
View all comments
1.3k
This is multiplying string by number. Multiplying strings would look like 'abc' * 'de'. Python goes kaput.
756 u/delinka Aug 26 '20 Result should be ‘adbdcd aebece’. Someone needs to fix this. 31 u/absurdlyinconvenient Aug 26 '20 why not dabceabc or adebdecde? Nevermind that multiplication always should be commutativeOr, let's go totally rogue and multiply the character codes and retranslate, fuck it 91 u/[deleted] Aug 26 '20 [removed] — view removed comment 8 u/absurdlyinconvenient Aug 26 '20 matrices make me cry → More replies (1)
756
Result should be ‘adbdcd aebece’. Someone needs to fix this.
31 u/absurdlyinconvenient Aug 26 '20 why not dabceabc or adebdecde? Nevermind that multiplication always should be commutativeOr, let's go totally rogue and multiply the character codes and retranslate, fuck it 91 u/[deleted] Aug 26 '20 [removed] — view removed comment 8 u/absurdlyinconvenient Aug 26 '20 matrices make me cry → More replies (1)
31
why not dabceabc or adebdecde? Nevermind that multiplication always should be commutative
Or, let's go totally rogue and multiply the character codes and retranslate, fuck it
91 u/[deleted] Aug 26 '20 [removed] — view removed comment 8 u/absurdlyinconvenient Aug 26 '20 matrices make me cry → More replies (1)
91
[removed] — view removed comment
8 u/absurdlyinconvenient Aug 26 '20 matrices make me cry → More replies (1)
8
matrices make me cry
1.3k
u/itoshkov Aug 26 '20
This is multiplying string by number. Multiplying strings would look like 'abc' * 'de'. Python goes kaput.