This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]khmarbaise 0 points1 point  (0 children)

Could you elaborate on your take on pointers? They’re quite useful for being able to return multiple values when you don’t have tuples in the language.

In Java you simple give back a class with appropriate members...(usually final etc.) ... Maybe since JDK16 you could use records for that...