LadderLogic
Member
You should write code for other competent PLC programmers to understand.
Why use a PLC then? Use a PC and write your code in one of those powerful programming languages using all the good approaches and techinques you mentioned.
The whole point of a PLC is that it is a programmable device that can be handled by electricians, not professional programmers. If you are building machines that your customer would need to hire and expensive engineer to troubleshoot rather than a lower-paid technician, you may eventually lose that customer due to high total cost of ownership. Of course, if your equipment never breaks down... )))
So as much I share your sentiment, I think it is a bit over the top. Everything has its proper place.