Golang and generics

agolangf · · 822 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>Hi guys<br/> I wanted to ask, if Golang will get in one day generics or not?</p> <hr/>**评论:**<br/><br/>Ainar-G: <pre><p><a href="https://www.youtube.com/watch?v=VoS7DsT1rdM?t=54:30" rel="nofollow">Rob Pike at the GopherCon 2014</a> (at around 54:30 mark):</p> <blockquote> <p>There are no plans for generics. I said we&#39;re going to leave the language; we&#39;re done.</p> </blockquote> <p>So, I wouldn&#39;t count on that.</p></pre>zero_coding: <pre><p>thanks</p></pre>champioj: <pre><p>There is no plan for it, so no one know. Have a look at that document: <a href="https://docs.google.com/document/d/1vrAy9gMpMoS3uaVphB32uVXX4pi-HnNjkMEgyAHX4N4/edit#" rel="nofollow">https://docs.google.com/document/d/1vrAy9gMpMoS3uaVphB32uVXX4pi-HnNjkMEgyAHX4N4/edit#</a> It does resume the situation.</p> <p>Personally, I would really dislike java-like generics but Modula-3 package level imlpementation would fit in the language quite well.</p></pre>gchain: <pre><p>have you tried: <a href="https://clipperhouse.github.io/gen/" rel="nofollow">https://clipperhouse.github.io/gen/</a> ?</p></pre>drvd: <pre><p>Predictions are hard, especially predictions concerning the future.</p></pre>

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

822 次点击  
加入收藏 微博
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传