There’s an Italian Facebook page called “Il Programmatore di Merda” (which can be translated to “The Shitty Programmer”). I love that page.

They often share shitty pieces of code and memes about programming, but today I’ve seen something quite incredible:

There are so many wrong things in here that I don’t know where to start.

This post will help you understand some terrible errors written in the code above if you’re a junior developer.

28 Lines of Errors

Ok, I don’t really know where to start.

Let’s divide the errors above into 3 categories:

  1. Security issues
  2. Basic programming knowledge
  3. Code formatting

#programming #clean-code #javascript #nodejs #code-review

Reviewing The Worst Piece of Code Ever
2.35 GEEK