And while one dev might indent every line perfectly every time, another dev probably doesn’t care (and knows JavaScript doesn’t care too much either, so s/he can get away with it). Isn’t that painful to look at? Yeah.ĭoes this sound at all familiar to you? Congrats, you’re on a working dev team, and everyone has their own preferences for how they like to code.Īs you might already be able to imagine, what one developer is perfectly fine with (no whitespace anywhere), probably drives another one nuts. This is an example of poorly formatted code. Take this piece of code from a codebase I’m currently working in:
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |