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
-
sm1th2149yLooks a lot nicer with the space IMO.. But not sure if it's enough of an issue to have a sit down with the boss..
-
zzguy6029yLol I actually agree, it's a stupid bad habit. I just was miffed b/c I was in the zone and I was like "really?!?! was this worth it?"
-
@zzguy Are there clear coding standards? Just wondering why the boss would even bother...
-
I've seen them as if( true ) and started using that. Maybe if ( true ) as a hybrid. Haha.
If ( true ) -
Oh I'm sorry were there not enough spaces for you?
if ( true )
Just to fuck with him -
mano2859yOh man, code formatting should definitely happen automatically. But to answer the question, yes, there should be a space or it's weird and yes, you boss is weird too.
-
zzguy6029yWay more response than expected! Thanks for the tips peeps. Will def add eslint to our builder for my own sanity or lack thereof.
Is it weird to not put a space between the beginning of my if statements? (i.e. if(true) vs if (true) ) Cuz my boss thinks it's weird enough to "have a talk with me"...
undefined