<commit_before><commit_msg>100 Days of Swift - Day 6 post<commit_after>---
layout: post
title: "100 Days of Swift - Day 6"
date:  2019-02-07 17:07:48 +1300
categories: swift
---
According to the rules for taking part in [100 Days of Swift](https://www.hackingwithswift.com/100), as soon as I've finished each day, I have to post about it.

Topic for Day 6 was: Closures, Part 1.

I'm used to how Ruby does closures, so it's going to take a little while for the Swift style and usage to really sink in.
{'fraction_non_alphanumeric': 0.09181636726546906, 'fraction_numerical': 0.06786427145708583, 'mean_word_length': 3.826923076923077, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '821502', 'n_tokens_mistral': 186, 'n_tokens_neox': 151, 'n_words': 80}