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
-
Not like that but I sometimes add extra safety checks in my code so that if someone else uses it and modifies without caring the app doesn't crash.
I've seen people that focus on "declare ...."
and never notice what's after it, which in your case checking if still null then assign a value. -
Voxera113976yEither something was forgotten, or more likely, removed without rewriting the code.
I often see similar things when refactoring old code, often a bit more obscure but the same flow. -
@ravijojila You are imagining a scenario that exceeds technical capacity of the creator.
Related Rants
-
linuxxx32*client calls in* Me: good morning, how can I help you? Client: my ip is blocked, could you unblock it for m...
-
DRSDavidSoft28Found this in our codebase, apparently one of my co-workers had written this
-
linuxxx23*client calls* "hello, we forgot the password to our WiFi router. Could you reset that for us?" 😐😶😮...
declare @username varchar(255)
if @username is null
set @username = suser_name()
.........
WHAT DID YOU EXPECT @USERNAME TO BE RIGHT AFTER YOU DECLARED IT???
rant
wtf
sql
sql server