8 ms·
> Use a modern language. If you want to stay in the Java ecosystem, for example, you could use Kotlin. That's easier in Java given how easy it is to interop be
by maleldil 3y ago
> Use a modern language. If you want to stay in the Java ecosystem, for example, you could use Kotlin.
That's easier in Java given how easy it is to interop between languages (see also Clojure). What if I'm using C++? There's no easy upgrade path to anything else.
There's still value to "shoe-horning all those modern features". I might not start a project with C++ today, instead choosing a modern language (e.g. Rust) instead. But there are millions of lines of C++ already written that would be improved by modern features (see how C++11 changed the landscape).
- einpoklum 3y ago> I might not start a project with C++ today, instead choosing a modern language (e.g. Rust) instead. This would depend on what your constraints and needs are. Rust isn't a "modernized C++", it's a language/ecosystem with a different set of strengths and weaknesses. You may very well prefer C++ over Rust today.