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

Who says the struct has no other value? An ADT is the only place this approach makes any sense and these are not typically comprised of two values/references alone.

A interface devised just to unwind information from a two member struct is beyond 'cumbersome'.



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

Search: