DEV Community

Discussion on: What Is Your Main Language?

Collapse
 
hkrogstie profile image
Håvard Krogstie

C++ with a well rounded amount of object orientation. There is something special about using linux syscalls on file descriptors, combing through 30 different five-letter-acronyms trying to get serial to work on a Raspberry Pi. Yes headers are somewhat of a hassle, but when you write closer to C with sensible use of global variables it actually cleans things up. I have even come to enjoy multithreading in C++, using std::mutex and std::thread.

I suppose the point is that procedural programming is suprisingly maintainable even when threaded, because you don't try guessing objects' future use cases or data races.