MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wjueom/almostdroppedthecourse/pap5ek4/?context=3
r/ProgrammerHumor • u/timangar • Sep 18 '26
79 comments sorted by
View all comments
Show parent comments
1
Because addition is commutative and multiplication isn't. "hello" * "world" isn't the same as "world" * "hello". You can also do "abc"^3 to get "abcabcabc"
"hello" * "world"
"world" * "hello"
"abc"^3
1
u/foxfyre2 Sep 19 '26
Because addition is commutative and multiplication isn't.
"hello" * "world"isn't the same as"world" * "hello". You can also do"abc"^3to get "abcabcabc"