Type Safety in Swift: Haskell-style Newtypes
Here is the updated blog post. The text has been revised to reflect your updated NewType struct, the shift to TimeInterval, and the crucial compile-time error example that perfectly demonstrates the v
Search for a command to run...
Here is the updated blog post. The text has been revised to reflect your updated NewType struct, the shift to TimeInterval, and the crucial compile-time error example that perfectly demonstrates the v
When you compile your high-level Swift code, it gets turned into raw machine instructions. As developers, we rarely look at this level, but it's a fascinating world for anyone interested in security, performance, or just pure curiosity. In this post,...
We've all been there. You're staring at a line of code, your task is to change it, but a cold fear creeps in. You ask yourself: "What will break if I touch this?" 😨 In modern software development, this isn't a trivial question. The answer can range ...
In the world of computer science, ensuring data integrity is paramount. Whether you're building a distributed system, a blockchain application, or simply need to verify that a large file hasn't been corrupted, you need a reliable way to detect any ch...
Some ideas in science and mathematics are so profound they change the way you see the world. For me, Kurt Gödel's First Incompleteness Theorem is one of those ideas. It's a statement about the absolute limits of logic and reason, a beautiful, paradox...
Compiler-synthesized conformance in Swift is a powerful tool that accelerates development by reducing boilerplate code. For protocols like Equatable and Hashable, the compiler can automatically generate the required implementations—a convenience that...

As a software engineer, you likely spend a significant amount of time in the terminal, executing commands that often require sudo privileges. Typing your password repeatedly can become a tedious interruption to your flow. Did you know that you can le...
This is the practice of following the changelogs for new versions of your dependencies and mimicking the new features yourself before you are able to

Swift’ciler olarak ozellikle MVVM, Rx, Reducers gibi mimariler yaygınlaştıkça enum kullanımını artırdık. Objective C’den gelen kavimler olarak pek alışkın olmasak da Swift’teki kullanım kolaylığı ve yetenekleri bize enum’i sevdirdi. Dürüst olmak gere...
