Skip to content

Commit 3e589e8

Browse files
committed
Cleanup
1 parent b10f401 commit 3e589e8

File tree

15 files changed

+2
-25
lines changed

15 files changed

+2
-25
lines changed

content/en/posts/post-14/index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ description:
66
topics: ["Swift", "Benchmarking", "Data Structures and Algorithms"]
77
---
88

9-
# Benchmarking in Swift with `swift-collections-benchmark`
10-
119
There is an age-old adage of programming which states *"Make it work, then make it right, then make it fast."* Today we will be focusing on how to *make it fast*, with the help of a valuable technique called Benchmarking.
1210

1311
When developing software, especially when working with algorithms and data structures, performance is often a key concern. You may have experienced a piece of code that behaves well in your tests, but when it's exposed to real-world data, performance degrades. This is where **benchmarking** comes in. Benchmarking allows developers to measure how long a piece of code takes to run, helping to identify bottlenecks and areas for optimization.

content/en/posts/post-15/index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ description: Learn the subtle differences between native Mac apps, Mac Catalyst
77
topics: [macOS, SwiftUI, Catalyst, Swift]
88
---
99

10-
# Demystifying Modern macOS Development
11-
1210
## Introduction
1311

1412
For many years Apple, arguably left the Mac to languish for years while it focused on iOS and the iPhone. The Mac repeatedly got features years later than its mobile cousins, and the hardware was often behind and underpowered. But now, Mac app development is currently in the best state that it has been in a very long time, thanks to three major developments:

content/en/posts/post-16/index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ description: Learn about retroactive protocol conformance, and why you probably
77
topics: [Swift]
88
---
99

10-
# Swift 6's New `@retroactive` Attribute
11-
1210
Swift 6.0 introduced the `@retroactive` attribute to address a specific issue with protocol conformances. Here's what you need to know:
1311

1412
## The Problem

content/en/posts/post-17/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ images: [""]
66
description: Ranges in Swift exlained, plain and simple.
77
topics: [Swift, Ranges, Cheatsheet]
88
---
9-
# Swift Ranges Cheatsheet
109
Ranges are fantastic for when we want to work with a range of sorted values that contain no duplicates.
1110

1211
## Core Concepts:

content/en/posts/post-18/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ images: ["pexels-googledeepmind-17484975.jpg"]
66
description: Has another technology broken your heart when it promised to make things simpler? Abstractions don't reduce complexity, they delegate it.
77
topics: ["Software Development", "Abstractions"]
88
---
9-
# Abstractions Increase Complexity: Here's Why That's Not A Bad Thing
109
I'm starting to see a pattern that seems to replay again and again. A shiny new technology comes out that solves a problem. A bunch of developers flock to it, evangelizing it to everyone else. Eventually the tech disappoints. The developers complain that the new solution is so complicated, and they long for the next shiny new thing.
1110

1211
Surely this pattern has existed for a long time, and will continue to repeat. But why does it happen? I think it's because we have fallen for a fallacy. The fallacy is this:

content/en/posts/post-19/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ images: [""]
66
description:
77
topics: ["Swift", "SPM"]
88
---
9-
# How to Visualize a Dependency Graph of Swift Dependencies
109
As projects grow in complexity, it is common to use two techniques:
1110

1211
1. Depend on external libraries.

content/en/posts/post-20/index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ description: Learn how to get a compile-time guarantee that you have handled eve
77
topics: ["Swift", "Swift 6", "Error Handling"]
88
---
99

10-
# Exhaustive, Flexible, Multi-Typed Error Handling in Swift
11-
1210
Swift has long had fantastic error handling! Errors are simple value types that conform to the `Error` protocol.
1311

1412
```swift

content/en/posts/post-21/index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ images: ["https://i.imgflip.com/96ybn9.jpg"]
66
description: Should you use assert(), precondition(), or maybe fatalError()? Let's learn how to decide.
77
topics: ["Swift", "Cheatsheet"]
88
---
9-
10-
# Swift Assertions Cheatsheet: How, Why, and When to Crash
119
<center>
1210
<img src="https://i.imgflip.com/96ybn9.jpg" alt="Chaos Girl Meme: Swift watches while a house labeled `fatalError()` burns.">
1311
</center>

content/en/posts/post-22/value and reference types.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ description:
77
topics: ["Swift", "C", "Pointers"]
88
---
99

10-
# A Deep Dive into Value and Reference Types in Swift
11-
1210
Understanding how Swift handles memory and data is key to writing efficient, bug-free code. In this post, we'll explore the differences between value and reference types, and more importantly, what value and reference **semantics** mean in Swift. By the end, you'll know how to think about these concepts when designing your own Swift code.
1311

1412
## Value vs. Reference Types

content/en/posts/post-23/Unordered Equality Checking in Swift.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ topics: ["Swift", "Equatable Protocol"]
77
images:
88
description: Learn how to ignore ordering when checking equality in Swift.
99
---
10-
# Unordered Equality Checking in Swift
1110

1211
Have you ever needed to compare two arrays in Swift, but the order of elements doesn't matter? I find this often happens to me when convert between an ordered type such as `Array` and an unordered type such as `Set` or `Dictionary`. Today, we'll explore how to implement **unordered equality checking** in Swift, starting with the basics and working our way up to a flexible, protocol-based solution.
1312

0 commit comments

Comments
 (0)