Why it is important to have a well-organized code?

Having a well organized code is important, because when it comes to finding errors in it, it becomes tedious and we can even think about starting to program again. Also a well-organized code will help us when carrying out any project, especially when we use some complicated programming language.

For example in Javascript it is necessary to organize the code correctly, as this type of language is usually very extensive and an error involves several minutes of searching and perhaps the biggest problem of not having an organized code is the security of it, because a small error in it could cause computer attacks (DDos) in the case of websites.

Tips to have an organized code:
Use a text editor to program, this will help you to be organized by yourself without the need to use dedicated software for programming, it may seem like a crazy idea but all the great programmers started like this.