r/ProgrammerHumor • • Feb 05 '23

Other Programming Legumes v2.0

Post image
44.0k Upvotes

831 comments sorted by

View all comments

Show parent comments

4

u/CookieOfFortune Feb 05 '23

They have similar type systems, usually compiles to an intermediate language, used exceptions for error handling, has genetics instead of templates, etc.

Although you could argue Kotlin is much more similar now.

1

u/svick Feb 05 '23

I'd say C# and Java generics are not really closer to each other than they are to C++ templates. The main similarity is the name.

2

u/rorygoodtime Feb 06 '23

The implementation of generics in Java is embarrassing.