TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Hello Go

83 点作者 caspervonb大约 7 年前

9 条评论

ktpsns大约 7 年前
&gt; Note: If you are on Microsoft Windows without a UNIX like environment you might want to re-evaluate your life choices at this moment.<p>Great sentence! However, Powershell got quite mature. `cat -n` is definetly something you will be able to do in Powershell with a similarly lengthy command.
评论 #16958491 未加载
评论 #16960361 未加载
评论 #16961653 未加载
评论 #16958176 未加载
jimktrains2大约 7 年前
Perhaps I&#x27;ve never hit the problems that go solves? I just don&#x27;t understand why I&#x27;d learn it when it offers nothing new or unique and feels even more clunky to work in than alternatives.<p>Specifically for me, I know enough poorly-typed lanagues that I want to be learning and using languages that offer me a good type system to express my program in, and not just jump through hoops to get things to work with no large benefit or reduction in code (and do when I get a chance).<p>I get coroutines are cool, but they don&#x27;t really seem to solve the problems I have with concurrency. They feel like baked-in message queues.
评论 #16958863 未加载
评论 #16959257 未加载
评论 #16959176 未加载
评论 #16958845 未加载
评论 #16959063 未加载
评论 #16959616 未加载
评论 #16960252 未加载
评论 #16960031 未加载
shekhar101大约 7 年前
Slightly OT, but I really want to learn golang but the amount of available resources[0] makes it quite overwhelming. I don&#x27;t want to learn simple stuff but also want to go along the basics and learn good coding practice and design patterns. Any recommendations? What&#x27;s your favorite resource for learning golang that helped you the most? [0]: <a href="https:&#x2F;&#x2F;github.com&#x2F;golang&#x2F;go&#x2F;wiki&#x2F;Learn" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;golang&#x2F;go&#x2F;wiki&#x2F;Learn</a>
评论 #16964871 未加载
jhoechtl大约 7 年前
Did I miss something or does this article end without coming to a conclusion?<p>So let&#x27;s do the authors work: What is the conclusion to be drawn here?
评论 #16959140 未加载
评论 #16959545 未加载
vijaybritto大约 7 年前
But coroutines are not threads right? Multiple coroutines can run on the same thread isnt it?<p>I find it confusing when coroutines are interchanged between concurrency and parallelism.
评论 #16957776 未加载
评论 #16958930 未加载
评论 #16959078 未加载
millstone大约 7 年前
That rand.Shuffle interface looks pretty nice; why wasn&#x27;t that used for sort?
评论 #16960249 未加载
评论 #16988805 未加载
AngeloAnolin大约 7 年前
Fastest way to get around the paywall on this article is by right clicking on the link and selecting:<p>Chrome: Open Link in Incognito Window<p>FF: Open Link in New Private Window<p>These are the browsers I used generally.
ngrilly大约 7 年前
Are we supposed to share articles behind paywalls on HN?<p>Edit: I wasn&#x27;t aware of the entry in HN&#x27;s FAQ related to paywalls. See comments below.
评论 #16958651 未加载
nikivi大约 7 年前
I think Medium premium stories should be at least marked as such in the title.<p>I also think it&#x27;s quite absurd marking personal articles as &#x27;pay to read&#x27;.
评论 #16957837 未加载
评论 #16958438 未加载
评论 #16957715 未加载