18
Got told my indentation was wrong by a senior dev at my first job
I was 3 weeks into my first coding job in Atlanta and this senior guy walks by my desk, looks at my screen, and says my indentation is all over the place. He said I was using spaces inconsistently like 2 spaces here 4 spaces there. I thought it was just a style thing but he showed me how it actually breaks code review tools and makes diffs impossible to read. Now I just set my editor to auto-format on save and never think about it again. Anyone else get roasted for little stuff like that early on?
2 comments
Log in to join the discussion
Log In2 Comments
the_nancy5d ago
oh come on, it's just spaces who cares as long as the code runs. senior devs love making a big deal out of nothing to feel important.
5
dakota7875d ago
it's just spaces until you merge someone's branch and their 2 spaces turn into 4 spaces because their editor autoformatted something. then you spend 2 hours tracking down an indent error in a yaml file. i've seen a whole deployment fail because a spaces vs tabs thing made ansible throw a fit. it's not about feeling important.
8