DEV Community

Discussion on: Architectural decisions that you regret...

Collapse
 
eljayadobe profile image
Eljay-Adobe

Mine is super-controversial.

I regret using multi-threaded programming in C++ (mid-1990s). C and C++ were not designed for multi-threading programming, and to use them thusly requires (in my opinion) super-human discipline. Even today.

Back in the 1990s, what alternatives existed that had a solid multi-threading programming paradigm? I'm not sure. Ada, I suppose. I'm not sure if OCaml was mature enough back then.

The platform was DEC Alpha 64-bit Unix. Ada, OCaml, or whatever may not have been readily available.

If I could use today's available languages, I'd choose D. 20/20 hindsight.