Details
Joined devRant on 1/8/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
-
this code is messy .. it has to be refactored..
abstact those classes to commom interfaces .. create a base class for all those common classes .. make this a parameter, make that a setting.. generalize this, pass a behaviour to that.. separate responsobilities..
hmm .. need to handle that special case .. let's just add a temp method for now to get it compiling .. //todo this later .. maybe add a couple virtual bools to handle the base class behaviour
238 compilation errors! .. let's do a static var for now on this.. and just add this for backward compatibility .. maybe hardcode that dll name, I know it'll NEVER change..
aah finally, all compiles..
oh..
this code is messy .. it has to be refactored.. -
as a windows10 user, I'd like to coin the term
Restartophbia
[fuhk win-dohz]
a general sense of fear and despair, caused by either seeing the words "please wait", "we're getting things ready", or "update and restart"
Restartophobia treatments include having two or more pc's, or the application of Linux on a regular basis.
> Do I have Restartophobia?
General fear from the Restart is common, and does not necessarily mean you suffer from Restartophobia. But, if you dread opening your pc, or sweat and feel unbalanced every time you open the shutdown/restart options, you might want to check your symptoms6 -
application runs fine..
colleague makes a small code change..
application crashes..
colleague asks in wonder why the application crashes all of a sudden
did you debug? no
can you debug? ok .. .... ... .. ah it's that change I just did2 -
generally, the quality of code is inversely proportional to the number of public booleans
thing.IsThatTypeOfThing
thing.IsAVerySpecificTypeOfThatThing
thing.CanDoSomething
thing.EnableSomething
apparently that's where we're heading now :/ -
lesson of the day:
if you enter the office toilet while chewing gum, the simultaneous smell of shit and jaw movement will lead your brain to think you're eating shit3 -
I am a windows user but just wanted to say arch linux .. it just sounds nice
hey, I'm going to arch linux for a bit
what are you doing? I'm arching linux
hey, stop arching with my linux
btw, is it pronounced ark or arch?4 -
in college ages ago, professor was "teaching" us overloading in C++, he goes something like this:
"so you can overload a function by changing the number of arguments, argument types, or method return type"
I dare put my hand up: "emm .. you can't overload by just changing the return type"
"you can"
"but, but.. how would the compiler know which overload I'm invoking when I call the method?"
pause..
"it depends on the type of the variable receiving the method call result"
"what if I call the method without assigning the result to a variable?"
agitated by now: "ah these are complex compiler concepts that are too complicated blah blah"
although I was unhappy, it was useful to realize no one knows everything5 -
!dev !rant
can any Americans here enlighten me, why do US police in movies/documentaries always say "vehicle" and "individual" instead of "car" and "person"?
I know a vehicle is not necessarily a car, but come on, say car, truck, bus, whatever.. isn't it more natural/common?7 -
instant coffee isn't reeeeally instant, is it 🤔? I guess depends on when you start timing and whether time is continuous or stops at planck's constant or so1
-
Give me your legacy, your undocumented,
Your huddled classss yearning to be bug free,
The wretched security holes of your multiple backdoors.
Send these, the testless, spaghetti-code to me,
I lift my keyboard beside the golden door! -
if you were code, you wouldn't compile
I wouldn't catch you if you were the last exception in my code
your brain is so tiny, indexing it would make no significant performance gain
you are so embarrassing, I can only go out with you in SSL
if you were a pointer I'd move to java2 -
what do you think of my setup?
/* picture of desk with 200 monitors, 7 keyboards, a flying mouse, a rasbperry pi with a human head, and a desk lamp */5 -
for the sake of society and the future of humanity, recommender systems should introduce an element of randomness ... say I view items X and Y, and I am only very slightly inclined to pick Y .. next time the system shows me Y1 and Y2 because I like Y's... I pick Y2 and then it recommends Y21 and Y22 etc. .. never again would I see X, X1, X2, etc. although I might have been interested in checking them out, it's just that I had to pick something
I really think Amazon, Youtube, Netflix etc. shpuld have a "random picks" section .. not bestsellers, not most watched, just random6 -
why do java developers wear glasses?
because their ciliary muscles can't contract to focus light on the retina1 -
for some reason, the async/await C# keywords evoke the image of a child with ADHD running around in excitement shouting "async, async" and letting go of helium balloons in the air, while his father stands in a stiff brown suite and a mustach and every few seconds says calmly (but strictly): "await" .. just killing the excitement1
-
would software product companies plz start describing what the product *actually* does on their homepages? if u say ur product/framework/tool will help me leverage this or collaborate that, it's an almost zero entropy statement, because everyone says so. Are u selling coffee or a .net gui library? because both can help me make my software better and leverage whatever it's supposed to leverage .. so, pleaaase, just say what ur product does, if that doesn't sell it, using hyped catch all phrases won't either ...
oh, and stop calling ur products somethingfy or somethingly .. just stop -
After realizing that php.js is an actual thing, I'm thinking of ending all my sentences in.js, I think it's cool.js, might actually catch on.js and replace the period.js if everyone does it.js1
-
"Visual Studio is busy" .. oh sure VS, don't let me interrupt whatever u're doing on *my* computer using *my* cpu .. by all means, take ur time, I can wait .. want to call ur mom from my phone after u're done too? something to eat maybe? as long as u're happy..2
-
some ppl seem to take too much pride in making everything configurable, tbh sometimes it just seems they're too lazy to make a decision
why not just ship the compiler with an empty text file and let the user "configure" the system it with code :/6