Better HN
topnewbestaskshowjobs
Log inSign up

euroelessar

12 karma · joined Oct 10, 2018 (8y ago) · 2 submissions

SWE @Dropbox, opinions are my own.
Submissions

comment 6y ago · link · parent

There are many reasons which lead to a cleaner codebase, some of them are: RAII, smart pointers, constant types, reusable containers, standard algorithms library, cleaner way to define interfaces, etc.

Overall our experience is that C++ code is smaller, simpler to write/read, and has a smaller chance of mistakes than equivalent logic written in C.

Of course many of this points are relevant only for relatively modern C++ (c++11/c++14 or newer), before that the cost/benefit ratio was much less clear.

comment 6y ago · link · parent

We have built our own control plane in golang tightly integrated with an existing infrastructure (service discovery, secrets/certificates management, configs delivery, feature gating, and so on).