Preferences

commandersaki parent
Does the origin of "DTO" come from Java? I've never seen it used anywhere else.

paulddraper
DTO comes from OOP for which Java is the poster child.

But you can find it many places.

https://codewithstyle.info/typescript-dto/

zaphirplane
Why is Java the poster child of OO when c++ was literally c with classes
paulddraper
1. 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.

This item has no comments currently.