Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
zwnow
on Dec 14, 2024
|
parent
|
context
|
favorite
| on:
Go should sometimes be a no-go
Its actually a good question on who needs generics. It makes code unreadable and was never really useful in commercial products.
BreakfastB0b
on Dec 14, 2024
[–]
Try writing Go without generics. No typed maps, arrays, slices, channels or function types. Only `interface{}`. Go always had generics, you just weren’t allowed to write your own until recently.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: