Richard Bucker

Focus on the problem not the tools

Posted at — Sep 16, 2013

Reviewing some code that it only about 5 years old I was sad to see I broke some common sense best practices. The code was a mix of http server, serial port i/o, database client, and device driver. Even though this was the 2nd generation of refactored code I still see a solid coupling of i/o and workflow or behavior.The reason the code is so hodge podge is because the standard C program does not abstract enough of the environment away in tools or libs unless you’re willing to depend on mountains of dependencies. And 4 years ago it was not a simple task to link serial i/o with an http server in a compiled project (scripting was not an option)If I had to do it all over again… GoLang.