由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - golang需要很多copy paste?
相关主题
问一个paste as html得 control (转载)为什么本版不少人赞同编程就是copy & paster,让外行的觉得很容易
code pasting site做个django project.
What syntax is this?(about macro)coding = google + copy + paste
请教有关header file的几个问题Share slides for scala, FP, monad etc.
[合集] Help: realize a simple function in HTMLwpf: 自定义命令command
请问如何可以像run SAS, R一样的run python? (转载)如何在xterm里重定义键盘按键?
第一次正式做架构的东西,几个人都要用,怎么开Java Past, Present, and Future
请教如何在Powerpoint中使用Macros改变文字颜色今天被project manager 震惊了:I don't know what this code is doing
相关话题的讨论汇总
话题: paste话题: copy话题: go话题: terrible话题: way
进入Programming版参与讨论
1 (共1页)
p*****2
发帖数: 21240
1
Copy and Paste
A combination of interfaces and good ol’ copy and paste is the way Go
currently implements sortable slices. This is of course a terrible, terrible
idea. The names of your types will end up being StringSet, IntSet, and
FloatSet. When you find a bug you’ll be forced to go through all of the
instances where you copied and pasted, fix it and hope you don’t miss any.
This is clearly not a sustainable way to ‘implement’ generics.
1 (共1页)
进入Programming版参与讨论
相关主题
今天被project manager 震惊了:I don't know what this code is doing[合集] Help: realize a simple function in HTML
家里还有一个闲置的960,能挖矿吗?请问如何可以像run SAS, R一样的run python? (转载)
一个小程序差点搞死了g++,怎么回事?第一次正式做架构的东西,几个人都要用,怎么开
取代C++!Google 开发自己的编程语言Golang了 (转载)请教如何在Powerpoint中使用Macros改变文字颜色
问一个paste as html得 control (转载)为什么本版不少人赞同编程就是copy & paster,让外行的觉得很容易
code pasting site做个django project.
What syntax is this?(about macro)coding = google + copy + paste
请教有关header file的几个问题Share slides for scala, FP, monad etc.
相关话题的讨论汇总
话题: paste话题: copy话题: go话题: terrible话题: way