Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
dureuill
on May 1, 2024
|
parent
|
context
|
favorite
| on:
Borgo is a statically typed language that compiles...
More than just that, Result in general also prevents from accessing the value when there is an error and accessing an error when there is a value.
throw-the-towel
on May 2, 2024
[–]
The absence of that safeguard in Go is a
feature
. It's used when the error isn't that critical and the program can merrily continue with the default value.
Of course, this is also scarily non-explicit.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: