New answers tagged

1

Consider code generating the C++ and Java from some other language


1

This is a very broad question, as it depends on the language used, and the features that language offers: Can "plain old data structures" be made immutable? Does the language enforce encapsulation of private functions and data, or is it by convention? Is the language statically or dynamically typed? Does it allow functions outside of static classes? Does ...


0

Classes vs "free data" + functions The freedom of data is always at the expense of the freedom of the programmer: With a POD you're free to do whatever you want. And what you want, you will implement in a nicely overloaded function. But other programmers (or your future yourself) are also free to do whatever they want and express their creativity. They ...



Top 50 recent answers are included