araffin:
One question, did you read the article ?
Yes, I just found it now and had a quick look through it. I don't get it, I'm afraid.
For example I don't agree with this because the example that your logic is based on is designed to support the argument rather than to avoid the problem.
First, there is a lack of readability: looking at the code, you have to understand that the character ‘a’ corresponds to the order of going forward. You have to make sure that at every place, where you want to read or send a command, the same character is used. This becomes clearly unmaintainable and error prone when the number of possible orders grows, or when you want to interface with different programming languages.
And this is a complete non-issue if the Arduino code is designed sensibly
But the main issue is not there. The “classic technique” for arduino serial forgot one important thing: the limited serial buffer size on the Arduino.
Also the whole concept underlying the Arduino system is simplicity. Why would you force people go to the trouble of using a Make file when they could more easily use a .ino file.
...R