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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Google Swift Style Guide

55 点作者 dkmar将近 7 年前

5 条评论

weiming将近 7 年前
Is there any data on Swift adoption among the popular apps&#x2F;companies? E.g. last I remember hearing, Facebook was still on ObjC&#x2F;C++, but Uber has gone all in.<p>One use at Google is internal tools according to this post: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=15701107" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=15701107</a>
评论 #17216463 未加载
brazzledazzle将近 7 年前
Someone made a comment and deleted it that I’ll reply to here for them. One of their complaints was about spaces vs tabs and having to smash arrow keys.<p>I’m about to blow your mind (definitely blew my mind ages ago when I first learned about it):<p>Windows&#x2F;Linux: Ctrl+arrow<p>Mac (rarely apps do ctrl but usually you can remap): Alt+arrow<p>This jumps words and will let you get around your lines much, much faster.<p>Of course vim or vim plug-ins would be useful to learn too, but you shouldn’t need to learn a whole new paradigm to navigate more efficiently.
评论 #17216109 未加载
评论 #17231490 未加载
himom将近 7 年前
<a href="https:&#x2F;&#x2F;github.com&#x2F;kciter&#x2F;awesome-style-guide&#x2F;blob&#x2F;master&#x2F;README.md#swift" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;kciter&#x2F;awesome-style-guide&#x2F;blob&#x2F;master&#x2F;RE...</a>
tempodox将近 7 年前
The nice thing about style guides is that there are so many of them to choose from.
melling将近 7 年前
I don’t suppose there’s an Xcode&#x2F;AppCode plug-in that handles most of this automatically, or with warnings?<p>Personally, I think every language should include its over version of gofmt.
评论 #17215645 未加载