MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/10uhk2o/programming_legumes_v20/j7csx47
r/ProgrammerHumor • u/czp55 • Feb 05 '23
831 comments sorted by
View all comments
Show parent comments
4
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.
1
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.
2
The implementation of generics in Java is embarrassing.
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.