3 ms·
Well for personal projects I choose my tool myself and I'm open to use C++, it is going to be my code. But doing it for a living and cooperating with other peop
by JanneVee 11y ago
Well for personal projects I choose my tool myself and I'm open to use C++, it is going to be my code. But doing it for a living and cooperating with other people... I prefer use other tooling.
- AnimalMuppet 11y agoI've heard that "people can write bad code in any language", and always assumed that it was true. Do you have experience with other languages/ecosystems where that isn't true? If so, which one(s)?
- JanneVee 11y agoI haven't found a language which can't be abused. But I have found that C#/.NET and Python has many straight forward solutions which its users gravitate towards. So it is more about that how the programmers in the ecosystem behave that is my main issue. One anecedote is: "I know I'll use one of the Curl++ wrappers instead of using the normal interface, because C" ... "But this wrapper throws exceptions in the destructor, that is bad and leads to 'interesting' debugging sessions" ... "but C!".
- AnimalMuppet 11y agoSomething that throws an exception in the destructor? And people want to use it anyway?!? That's enough to make you want a different ecosystem, all right...
- JanneVee 11y agoIt is an anecdote of things I got tired of. Another one is the return of reference for "performance". I pass around this link each and everytime. https://en.wikipedia.org/w/index.php?title=Return_value_optimization https://en.wikipedia.org/w/index.php?title=Return_value_opti... And other numerous of other small gripes... I'm familiar with some of the dusty corners of C++ and I have to constantly educate people about them. In a way I have plateaued with C++, almost too comfortable with it. I need to do something else.