10
NoJS
7y

! Worst thing another dev did in our NodeJS code.

1. No indentation. Literally.
2. A single function in a module worth 1000 lines. I'm not even kidding. No breaking into smaller functions. Just a large rock with a lot of js mess scribbled.
3. No comments at all
4. Sending stray values to promises which were not required at all.
5. No jsdoc. Using camelCase and uppercase interchangeably.

Comments
  • 4
    Why do so many new devRant users not get the "!" at the first line of a rant... It is nothing special, ! means NOT in most programming languages, it is used with words like rant to say !rant meaning that the post is not a rant... It does not serve as a header for rants or anything else... please stop using it for other things than saying !rant and/or !dev

    Edit: typos
  • 0
    @rstular that always bothered me
Add Comment