Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
DennisP
on May 14, 2013
|
parent
|
context
|
favorite
| on:
Why Go?
Go has first-class functions, so if you want map/reduce/filter there's nothing stopping you.
quatrevingts
on May 14, 2013
|
next
[–]
Except that you lose type safety (or write an implementation for every permutation of types..)
DennisP
on May 14, 2013
|
parent
|
next
[–]
Didn't realize that, thanks.
papsosouid
on May 14, 2013
|
prev
[–]
Go doesn't have parametric polymorphism. So yeah, there is something stopping you.
voidlogic
on May 15, 2013
|
parent
[–]
Nope, not stopping you:
http://blog.burntsushi.net/type-parametric-functions-golang
papsosouid
on May 15, 2013
|
root
|
parent
[–]
Yes, stopping me. "You can resort to a horrible ugly cludge and lose type safety for your efforts" is not having parametric polymorphism.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: