Ranter
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
Comments
-
Oh God, I feel you so bad!
Them: “Why did you use a static???”
Me: “Cause it’s a value shared across members of the same class?”
Them: “NNOOOOOOO! Static is bad! You keep memory busy for no reason and it messes up with memory fragmentation!”
Me: *stares aimlessly trying to decide wether they are trolling or wether the fact they are senior is an insult*
Them: “you must make a method that gets all the class instances and changes the value which will be not static.”
I think I am actually in coma due to an aneurism since then. This is just a dream.
Don’t do professional unity development, kids! Do drugs, they fuck up with your brain less than this shit does. -
They make testing harder, but that doesn't mean they don't have their use cases.
I've been avoiding private methods for this reason since other classes are always going through an interface, so it doesn't matter if every method is public since only the ones I want exposed are exposed. -
@Hazarth an interaction with a person who was trying to outsmart the compiler every day.
Wish I was joking, my soul is scarred.
Related Rants
"private is evil" or "static is bad" being thrown around without even thinking.
They're both a solid 14 out of 10 on my wtf scale.
rant
what
wk274
stfu
context