TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Google Swift Style Guide

55 pointsby dkmaralmost 7 years ago

5 comments

weimingalmost 7 years ago
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 未加载
brazzledazzlealmost 7 years ago
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 未加载
himomalmost 7 years ago
<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>
tempodoxalmost 7 years ago
The nice thing about style guides is that there are so many of them to choose from.
mellingalmost 7 years ago
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 未加载