首页
注册
登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请
登录
The Go Programming Language
›
http://golang.org/
›
Go Playground
Go Projects
›
Revel Web Framework
广告
V2EX
›
Go 编程语言
python内置函数map/reduce/filter 用go语言实现的话有没有牛叉点的类似的解决方案?
1
itfanr
·
itfanr
·
2013-09-01 11:10:36 +08:00
· 1844 次点击
这是一个创建于 3915 天前的主题,其中的信息可能已经有所发展或是发生改变。
牛叉点
reduce
Python
3 条回复
•
1970-01-01 08:00:00 +08:00
1
timonwong
2013-09-01 12:41:39 +08:00
没有牛叉的。。。主要就是没有generic导致的不通用,但是用反射来代码就又臭又长。
反正go按照c风格写是没错的。。。functional不是go的菜。
2
timonwong
2013-09-01 12:43:09 +08:00
对了,补充前段时间看到的:
http://blog.burntsushi.net/type-parametric-functions-golang
3
itfanr
OP
2013-09-01 12:45:00 +08:00
@
timonwong
收藏了 以后看看 谢谢啊
关于
·
帮助文档
·
博客
·
API
·
FAQ
·
实用小工具
·
1675 人在线
最高记录 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 26ms ·
UTC 16:52
·
PVG 00:52
·
LAX 09:52
·
JFK 12:52
Developed with
CodeLauncher
♥ Do have faith in what you're doing.