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
-
mzpro1044708yIf its a free plan you thank the user for the purchase? Else ask if they upgrade? @SirWindfield
-
You must be new manteining legacy code OP, that code seems pretty decent, try to follow a bug on multi threads environments, all the business related stuff can't be explained in one pic...
-
donuts236728y@g-m-f o... thought it was some sort of style. Our code goes thru a style Checker that has this rule... I never understood why... Have to go back every time I commit and add spaces...
-
Whoever you are, if you don't curly brace those single lines I will find you and I will beat you!!
Also consider a ternary statement...
Review: Request Changes 😝 -
The biggest problem I see : Doesn't have braces {} around if and else blocks.
-
amsghwdp948yI see a bunch of discussion about the style, what about the fact it's a photo of a screen?
-
@matsaki95 That argument only gets you a slap. I know you don't need them, but I insist you add them. And my style guide applies for reasons.
-
@matsaki95 Sorry - I was only messing with you. Appreciate your openness though - I like that.
But, for me, in JavaScript particularly... it'd be:
if (...) {
...
} else {
...
} -
@matsaki95 Really? Really? Your rickroll is bad and you should feel bad. Tut tut...
Related Rants
-
cdrice105"You gave us bad code! We ran it and now production is DOWN! Join this bridgeline now and help us fix this!" ...
-
MoboTheHobo36My Friend: Dude our Linux Server is not working anymore! Me: What? What did you do? My friend: Nothing I swe...
-
tommy15Right now someone at Google is coding something useless for us to laugh at on April Fools.
I got hired to fix the script a developer before me wrote. That's just 1% of the shit!
undefined
fml