Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
keymone
on June 30, 2017
|
parent
|
context
|
favorite
| on:
Go func: Reducing cognitive load
point is typedefs aren't reusable at anonymous function declarations. imo that sucks. that's all i wanted to say.
davidarkemp2
on June 30, 2017
[–]
You could always declare the method on the Printer type...
https://play.golang.org/p/4MG8kgGEGM
keymone
on June 30, 2017
|
parent
[–]
where's the anonymous function with reuse of typedef in there?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: