---
title: "Github's Swift Style Guide"
url: https://deallocatedobjects.com/posts/githubs-swift-style-guide
author: Jake Marsh
published: 2014-11-03
updated: 2014-11-04
link: https://github.com/github/swift-style-guide
topics: ["iOS Development"]
description: "Github: This is an attempt to encourage patterns that accomplish the following goals (in rough priority order): Increased rigor, and decreased likelihood of programmer error Increased clarity of intent Reduced verbosity Fewer debates about aesthetics Some fantastic guidance in here."
---

# Github's Swift Style Guide

By Jake Marsh, November 3, 2014. HTML: https://deallocatedobjects.com/posts/githubs-swift-style-guide

This is a link post about https://github.com/github/swift-style-guide

*Github*:

> This is an attempt to encourage patterns that accomplish the following goals (in rough priority order):

> - Increased rigor, and decreased likelihood of programmer error
> - Increased clarity of intent
> - Reduced verbosity
> - Fewer debates about aesthetics

Some fantastic guidance in here. 

One of my favorites is the bit about preferring *Structs* to *Classes* when writing Swift. This makes value types simpler, and can also be a bit easier on the eyes without all those extra `inits` hanging around.
