Joined devRant on 10/10/2016
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
var floored = 12.68 | 0;
Is much faster than:
var floored = Math.floor(12.68);
And in both cases floored === 12
Performance test: https://measurethat.net/Benchmarks/...5
Notch, the creator of Minecraft was my biggest influence.
He did what he loved to do and inspired me to do the same. I discovered I wanted to start programming because of him.
PM: Please do this immediately.
Me: But the other deadline, I...
PM: I don't care, do this first!
Me: Alright, fine.
(at the end of the day)
PM: Why is the thing you were doing not finished yet!?4
This happened a few years ago:
Cousin: So one of my friends is going to teach me how to hack.
Me: Oh so you know something about programming?
Cousin: No, I'm going to learn how to hack first, because that's way more awesome.4