10 controversial programming opinions?
pixelstech.net
pixelstech.net
1) The only “best practice” you should be using all the time is “Use Your Brain”. If working on individual projects, sure. The problem is that best practices are an opinionated collection of tradeoffs. There are often other alternatives that may be better tradeoffs to work with for the situation. Most of the time, these tradeoffs involve coding style rather than any real functionality changes. At that point, whichever you advocate - either your own thought, or a "best practice" is going to cause disagreements among people. The "best practice" then, is a good option simply because you have a lot of public support behind it for whatever reason, so hopefully the people who disagree with that particular practice will be convinced to work with it. Counter-arguments?
I don't think XML is overrated but certainly overused and misused.
What maddens me is when people use XML to communicate with themselves. It is the biggest waste of bandwidth and processing power, when there are much simpler formats.
Many years ago I took the XAjax library for PHP and re-wrote it without XML.. Using 2 simple delimiters instead, the code was 80% smaller.