4 ms·
> Return type is completely feasible to implement Yet it is rarely done. Lots of boilerplate to replace what is easily done in other languages. If java provide
by Supermancho 3y ago
> Return type is completely feasible to implement
Yet it is rarely done. Lots of boilerplate to replace what is easily done in other languages. If java provided a native tuple type, new patterns would appeat. As it is, too many lines for 1 off returns. Send off a serialzed json and deserialize it later. Easier than specific dtos.