Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mseepgood
on Oct 28, 2021
|
parent
|
context
|
favorite
| on:
Expectations for generics in Go 1.18
But that will make error handling more verbose.
stouset
on Oct 28, 2021
|
next
[–]
Speaking as a user of languages that have exactly this, it can’t possibly be any worse than the situation in Go right now.
mseepgood
on Oct 28, 2021
|
parent
|
next
[–]
Other languages have an additional zoo of language syntax besides generics to make monadic error handling bearable, which Go doesn't have.
mohanmcgeek
on Oct 28, 2021
|
prev
|
next
[–]
It'll make it unmanageable by hiding complexity.
But more verbose? I'm not so sure.
mseepgood
on Oct 28, 2021
|
parent
|
next
[–]
Passing a single anonymous function is already more characters to type than if err != nil {}.
EdwardDiego
on Oct 28, 2021
|
prev
[–]
Will it?
I can't see it myself, but happy to educate myself.
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: