Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: