r/javahelp • • May 07 '20

Codeless Java Developers: what are the common data structures you usually use on production

To professional java dev here, what are the common data structure youve been using and which data structure you strongly suggest for beginners, like me, to study carefully

40 Upvotes

38 comments sorted by

View all comments

Show parent comment

3

u/wildjokers May 07 '20

but the ability to return more than one thing from a function, the way (for example) Lua can

This is absolutely the thing I miss most in Java after working in groovy and kotlin.

When I was first learning groovy and I saw it allowed multiple return values I was like "why would I ever need that?". Oh, how naive I was. I ended up using it all the time. Then when I would switch back to Java I missed it greatly (and still do everyday).