Details
-
Aboutpozdrav iz srbija
-
Skillspressing f12
-
LocationBanja Luka, BiH
Joined devRant on 4/28/2022
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
-
I hate the growing trend in IT to be "diversity" or "embrace diversity." It's Orwellian because embracing diversity is a form of uniformity. None of these companies want diverse ideas; they want you to believe in a specific ideology.
I wrote a full article on this the other week:
https://battlepenguin.com/politics/...10 -
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 need to invent time travel so I can go back to Friday morning and slap my past self for thinking that Linux From Scratch might be a fun weekend project. I should've gone to bed four hours ago and instead I've been shouting at LLVM.
It really makes me appreciate the hard work that Linux distro maintainers put in to keep all the pieces up-to-date and compatible with each other. I already want to put my fist through my monitor and I'm only trying to maintain a single virtual machine.11 -
Short one, but it really gets me every time:
PLEASE tell me that I am not the only one typing hex-numbers in all caps!!!
I literally can't stand to see them in lowercase!!!
Every code I use with hex numbers in it (primarily ASM and C) I HAVE TO convert them into uppercase!!!
Is it just me and my stupid OCD or are there other ones like me????10 -
There was a variable named 'isVisible'
Wanted to make it visible
I typed in 'yeah' as a keyword instead of 'true'
🤦♂️6