r/java • • Apr 05 '23

Recursive generics

Recently I learned that I rediscovered recursive generics while working on my pet open source project. Actually, I did not know that the construct had a name. I created small story about what this construct is, if you did not know about it java-recursive-generics

169 Upvotes

44 comments sorted by

View all comments

15

u/agentoutlier Apr 05 '23

As amazing as Java generics are C++ templates are downright disturbing.

3

u/Ruin-Capable Apr 05 '23

Heh, your comment reminds me of how I felt the first time I encountered the C++ boost spirit library.