3 ms·
Does the origin of "DTO" come from Java? I've never seen it used anywhere else.
by commandersaki 1y ago
Does the origin of "DTO" come from Java? I've never seen it used anywhere else.
- paulddraper 1y agoDTO comes from OOP for which Java is the poster child. But you can find it many places. https://codewithstyle.info/typescript-dto/ https://codewithstyle.info/typescript-dto/
- zaphirplane 1y agoWhy is Java the poster child of OO when c++ was literally c with classes
- paulddraper 1y ago1. Java was made OO from ground up. No pointer arithmetic, all code is encapsulated in classes, etc. 2. C++ has some unusual OO features -- friends, multiple-inheritance. 3. Most importantly, Java is significantly more approachable than C++ due to automatic memory management.
- int_19h 1y agoThe poster child for statically typed OO is actually Simula 67. And Java is basically Simula with C-style syntax and packages.