Details
-
AboutGrumpy programmer.
-
SkillsJava, C/C++, PHP, JavaScript, Python and too much frameworks.
Joined devRant on 3/3/2017
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
-
Manager: This code you wrote violates the single responsibility principle!!
Dev: How so?
Manager: You have one function that you call in *MULTIPLE* places. That’s too much responsibility for one function! Functions should only have one responsibility!! Creeping the scope of a function beyond that is a TERRIBLE way to write code!
Dev: But why spin up multiple functions that all perform the same thing?
Manager: Well if a function has a bug in it and you use that function multiple places then that bug exists everywhere you use that function. If a function only has one responsibility then if it has a bug that bug will only exist in the single place it is called! You really should think first before asking questions like that.
Dev: …26 -
I'm so fucking done with all those "woke" YouTube programming tutorials like: "Why you should NEVER use else statements", "Why functions should ALWAYS return a value", "Why switch statements are actually EVIL" and stuff like this
I swear to fucking god26 -
So HR invited us to a mandatory hour long talk on why rest and relaxation is important for work efficiency.
On a Saturday.
You can’t make this shit up.15 -
Never google "man" command!
I was looking for "man touch" and the result was "3 Ways to Touch a Guy - wikiHow" :|22 -
My classmate is a real SAVAGE!!
He (team leader) and his team participated in hackathons several times and kept losing.
He noticed something common about winning team, majority of those team members were women, even if they were non technical and their project was pure bs, they were winning in the name of women empowerment.
This time he came out with a plan, he fired his boys and invited women into his team, and even made one girl the team leader.
Result? HE WON!!!
NOT ONE BUT THREE HACKATHONS BACK TO BACK
AND
His so called women team was invited by Google to pitch their startup idea.
Now, if they gets funding, he's gonna kick out these women and bring back his teammates32 -
Removed a bug 2 weeks ago.
Customer calls today and wants to have it back.
The error miscalculated a sum.
🤷
When you thought you saw everything...10 -
Someone found my curriculum online, hooked me into an interview. I go there and the dude that handles the interview asks me: "So, why do you want to work with us?"
Man, I don't even know myself.18 -
* The app is almost ready, boss asked me to show the progress.
Boss: The design is bad, I don't like it 🤔
Me: I just implemented the design, which is approved
Boss: Really? because I "feel" that the design is bad on the screen.
Me: Okay 😐, can you tell me what exactly the part to change?
Boss: I don't know, *calls the designer
Designer: *showing his PSDs* yes it is the same, and you [the boss] approved it.
Boss: Ok make some changes to make it feel better.
Me: (Inside: 😡 ) ok, have you some suggestions?
Boss: dunno,
Me: at least tell me what is wrong with it
Boss: dunno
Me:🤢26 -
So I wrote a code in HTML and js that puts an alert on the screen that says "all of your info is mine now, goodbye" and then redirects you to the nyam cat site
I sent it to some of my friends to have a little laugh but they have sent it to other people and eventually the school principle called me and told me to go to her office and retrieve all the data I stole
I went there and explaind her the prank but she didn't believe me
So she called the programming teacher to check the file
She laughed as hard as I've ever seen anyone laughing and told me to go back to class
It was scary and funny but the thing I've learnt is that it's stupid to prank ignorant people.15 -
Dev: boss, there are some abnormalities and confusion in the client's specifications.
Boss: So?
Dev: Shouldn't we get clear about them and then start coding?
Boss: No need. We assume and code. Then show them to our clients and then ask for their opinions. We will change again according to their opinion.
Dev: ..
A few months later....
Dev: *seeing so many specifications change and realizing now have to refactor a lot of codes* , FML.15 -
npm has to be the single worst package manager on the planet... Trusting devs to use semantic versioning properly and forcing devs to trust authors of dependencies to use it properly is nothing short of insane. The package-lock that is "supposed to be version controlled" causes *constant* merge conflicts. Using shrinkwrap in its place is borderline useless because it Doesn't. Lock. High. Level. Dependencies.
I don't know who designed this, but I want to give them a very bad day for every hour I've spent trying to lock versions correctly on a live project.
Not to mention requiring root by default to install things that can just run whatever they want is ludicrous.2 -
Early in my career I was assigned the task of implementing a 3D pie chart into our application that you could spin and rotate with your mouse. You know, because sometimes you want to see the sides and the back of a pie chart.4
-
At work today.
Collegue: hey, if you continue like this, you'll be just like me in a year or so!
Me: as, so completely fucked up?
Boss: hahaha rekt!
C: okay gotta give you that one 🤣
Love those random moments :)2 -
What a horrible feeling when you pin a shortcut to taskbar then launch it and you find yourself with two icons on the taskbar.23
-
Boss: You'll need to make the presentation an hour earlier than usual. There'll be 20 people attending..
Me: Sure. Will everyone show up?
Boss: Oh yes, they'll show up.
*Reschedules other work at home*
*Gets 4 hours of sleep to wake up earlier*
*Prepares material*
*Shows up for the meeting 5 minutes earlier*
*Crickets chirp*
There literally wasn't a single person there. Everyone shows up at the normal fucking time and good old boss was 2 fucking hours late.
Guess what the presentation was for? To solve the fucking issue of why stuff never gets done on time and nothing works right. I think I might have a tiny fucking idea why, at this point.9 -
Been torrenting for many years by now, but somehow never heard about sonarr. Just got it set up, and holy crap it's amazing!10
-
Next time I see a constructor with 22 parameters. I'm gonna report whoever wrote that to the police40