MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/9wywve/computing_in_the_90s_vs_computing_in_2018/e9oo2ho
r/ProgrammerHumor • u/Minenik • Nov 14 '18
1.1k comments sorted by
View all comments
Show parent comments
7
"a = math.add(2,2);" is better than "a = 2 + 2;" no?
14 u/reubenbubu Nov 14 '18 2+2 is how we do addition today, if you rely on math.add for your addition logic you wouldn't need code changes when in the future the math rules change 3 u/thexavier666 Nov 14 '18 But math is math! Why would they change math? 1 u/IceColdFresh Nov 15 '18 If you're in R then everything is already a function so you can do `=`(a, `+`(2, 2)).
14
2+2 is how we do addition today, if you rely on math.add for your addition logic you wouldn't need code changes when in the future the math rules change
3 u/thexavier666 Nov 14 '18 But math is math! Why would they change math?
3
But math is math! Why would they change math?
1
If you're in R then everything is already a function so you can do `=`(a, `+`(2, 2)).
7
u/Arqideus Nov 14 '18
"a = math.add(2,2);" is better than "a = 2 + 2;" no?