4 ms·
The sad state of affairs is that so many people assume native languages (C/C++) to be so complicated when in fact it is the environments and API that are common
by pcunite 13y ago
The sad state of affairs is that so many people assume native languages (C/C++) to be so complicated when in fact it is the environments and API that are commonly used with these languages that should bear the greater blame.
I'm putting together a backend webserver and frankly, there is nothing complicated about using C/C++ syntax over PHP or JavaScript. Using my own objects and data abstractions is simple. However, as soon as I need to use someone's library, that is when the complexity, confusion, and bugs begin.
I encourage anyone who wants to use system languages (for performance or academic reasons) to take the time to find a good library (libuv on which node.js is based for example). Program procedurally for a while to get a good feel for things before endlessly wrapping logic in object or functional abstractions.
Should you ever expose your API to others you'll do the world some good if you make it enjoyable for others to use. Perhaps make two abstractions: one for performance and one for simplicity.