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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

New Features in C# 7.0

46 点作者 vikas0380超过 8 年前

4 条评论

wmccullough超过 8 年前
I for one am incredibly excited for both Pattern Matching and proper Tuples.<p>I have code bases that are about to become significantly shorter because of both. I do need to sit down and perform an analysis to understand the performance implications of this, thought I suspect there aren&#x27;t many.<p>I&#x27;m not sure what to make of local functions. I&#x27;ve read and re-read about them but I still don&#x27;t see the utility over a private function, unless they were intended to alleviate the performance issues that come with using a local Func&lt;&gt; inside of a method.
评论 #12988826 未加载
评论 #12988745 未加载
评论 #12988859 未加载
评论 #12988837 未加载
lukasm超过 8 年前
Mutable tuples look like a really weird design choice. The most important reason I used tuples in python is the immutable semantic they have - this won&#x27;t change.
评论 #12988899 未加载
sctb超过 8 年前
Previous discussions: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=12356259" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=12356259</a>, <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=12971841" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=12971841</a>
jitl超过 8 年前
Can we get a [video] tag?
评论 #12988618 未加载