Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
c-cube
on Aug 22, 2021
|
parent
|
context
|
favorite
| on:
Generics enabled by default in Go tip
"coupled with the preprocessor" is a bit of a cop-out :-). Do you have a concrete example of what typeof would enable? Like a basic implementation of a vector type?
pjmlp
on Aug 22, 2021
[–]
True, it is basically //go: generate, before Go was born.
Here is an example,
https://codereview.stackexchange.com/questions/101816/generi...
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: