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

I find records super useful! You can not only express things like a Point(x, y) easily, but you can also wrap primitive types like integer to give values semantic, behavior and typesafety. Records are the perfect fit for value types as used for example in Domain-driven Design.


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

Search: