Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
rplnt
on Feb 4, 2022
|
parent
|
context
|
favorite
| on:
What I'd like to see in Go 2.0
I mean, that's a pretty common usage of enums, isn't it?
TestSomething(T1 & T2)
morelisp
on Feb 4, 2022
[–]
And this is the big, probably irreconcilable, difference in culture between the sum-typers and the compiler-assisted-named-valuers....
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: