Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "grrrrrrrrr"
-
Fuck you, devs who quote Knuth:
"Premature optimization is the root of all evil"
I agree with the spirit of the quote. I agree that long-winded arguments comparing microsecond differences in performance between looping or matching constructs in a language syntax is almost always nonsense. Slightly slower code can even be preferable if it's significantly clearer, safer and easier to maintain.
But, two fucking points need to be made to you lazy quickfix hipsters trying to sell your undercooked spaghetti code as "al dente", just fucking admit that you had no clue what you were doing.
So here we go:
1. If you write neat correct code in one go, you don't need to spend time to optimize it. Takes time to learn the right patterns, but will save you time during the rest of your career.
2. If you quote Knuth, at least provide the context: "We should forget about small efficiencies, say about 97% of the time [...] Yet we should not pass up our opportunities in that critical 3%"
YES THAT CRITICAL 3% IS WHERE YOU MESSED UP.
I'll forgive you for disgorging your codevomit into this silly PR.
BUT YOU'RE QUOTING KNUTH IN YOUR DEFENSE?
Premature optimization is the root of all evil... 6300 SQL queries to show a little aggregate graph on the dashboard... HE WOULD FUCKING SLAP YOUR KEYBOARD IN HALF IN YOUR FACE.3 -
This happens way too FUCKING often:
Random person: Hey, can I have your number so I can text you?
Me: Yeah sure! *gives number*
*A few days later*
Person: Hey you gave me your number to message you but I can't find you on whatsapp???
Me: no indeed....?
Person: Well, then why did you give me your number?!?
Me: you asked if you could TEXT me, I don't have whatsapp.....?
Person: Ohh but I meant whatsapping.... that's like the same
THAT'S NOT THE MOTHERFUCKING SAME!!! TEXTING != WHATSAPPING YOU FUCKING COCKSUCKING MOTHERFUCKING ANNOYING PIECE OF GRRRRRRRRR5 -
Tech support to family member:
Mom: "App just goes black after 30 seconds"
Me: "remove it and install again"
Mom: "how?"
Me: "tap the icon and hold till icon wiggles"
Mom: "doesn't do anything"
Me: "did you tap and hold?"
Mom: "hold what?"
Me:"Tap and and don't pull your finger up"
Mom: "Nothing... oh wait, yes it jiggles"
Me: "lift finger, tap the x that appeared on the icon, follow instructions"
Mom: "ok did that so what do I do now?"
Me: Grrrrrrrrr
Mom: "ok it's deleted"
Me: "Go to app store, and search for the app. after you tap the appstore icon, in a moment or so you should see a magnifying glass icon with the word search, tap that"
Mom: "nope no magnifying glass"
Me: ggrrrrrrr "yes their is one"
Mom: "nope"
Me: "yep"
Mom: "nope, it isn't their, I'M NOT STUPID YOU KNOW JUST BECAUSE I'M OLD!!! WHY DO YOU ALWAYS THINK I'M SO STUPID? THERE IS NO MAGNIFYING GLASS!!!"
Me: Deep, deep deep breath to the point of bursting my lungs (which is the preferable outcome)
Me: "top right corner or bottom right corner"
Mom: silence.... a few crickets in the background then some giggles followed with "Oh yea, their it is "....
20 minute call. no hi, how are you, how's your day. Just hello, I have a problem, it's fixed, bye.
Sometimes, and I don't want to sound mean BUT I wish we could pick our family.....10 -
Stupid fucking MySQL.
I thought I have fixed your fucking issue.
I'm hungry and I wanna go home. It's 19:38 now.
I was up since 05:00 and started coding at like 06:00.
Grrrrrrrrr fucking piece of shit.
// Or was it the laptop at home that I fixed this issue? I don't know anymore. I'll try to fix you at other day.6