I love strongly typed languages — but they’re no substitute for TDD. For example, let’s make an add function in Swift:
func add(a: Int, b: Int) -> Int {
return 42
}
See?
Strong types mean our code is perfect!
In a world of imperfect AI agents, junior devs, and even seniors, types aren’t enough. That’s why we write tests.