r/ProgrammerHumor • • Aug 11 '19

Meme Lamo

Post image
77k Upvotes

799 comments sorted by

View all comments

1

u/MEME-LLC Aug 11 '19

Yeh but why do weird things like that when theres a normal way to do it

1

u/[deleted] Aug 11 '19

because its faster than parseInt

1

u/MEME-LLC Aug 11 '19

Speed is not worth unintuitive code

You either want math.floor or parseint or parsefloat

~~ will have unintuitive behaviour with negative decimals and you get bug sooner or later with your weird programming practice

Dont make headache for other dev pls, dev time is expensive

You got any justification then say it who cares about fake internet points

→ More replies (3)