_"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." - _Martin Fowler
Recently during my internship period at 99XTechnology I came across some leanings about clean coding practices. I think it is worth sharing some important facts about clean coding with you.
Every developer has his/her favorite technologies. There is nothing wrong in specializing and striving for expertise of a given tool. But a developer should not get too fixated to a tool, pattern or paradigm.
When picking tools the risk of selecting wrong tool for the job exists in the boundaries. Consider the bellow set of technologies used for web applications. Each technology is used for a specific purpose
The boundaries between these technologies let developers in trouble.
In such a scenario some frequent bad coding practices that developers do as follows
The bottom line is avoid using one language to write another language/format via strings. Eg Using strings in C#, Java, PHP etc. to create
This ideas also called as "Staying Native". A good rule of thumb is to stick for a single language for a file. So if you have more than one language in a single file think about more different and elegant way of solving the problem.