Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Cyph0n
1 day ago
|
parent
|
context
|
favorite
| on:
Odin: Moving Towards a New "core:OS"
Eh, it’s not uncommon to need this distinction. The Go convention is to return (res *MyStruct, ok bool).
An Option type is a cleaner representation.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
An Option type is a cleaner representation.