3 ms·
> The lack of decent sugar for tuples makes them very annoying to work with and situations demanding two or more dependent return values are the one place where
by jcheng 15y ago
> The lack of decent sugar for tuples makes them very annoying to work with and situations demanding two or more dependent return values are the one place where my code looks nasty and is difficult to follow (unless I create a class specifically for the return type, which I usually end up doing).
At least you have the option of out params. I have to use Java every day and the only real option is return classes.