Coding Stuff

by Loyi Hsu

About

I’m Loyi Hsu, an iOS developer. Most days, that means writing Swift.

This blog is where I put the things I can’t leave alone. Sometimes it’s a small puzzle, like why inout promises a copy but hands over a reference, or why passing a method instead of a closure keeps an object alive. Sometimes it’s a bigger question about how we build software, like whether an architecture is worth adopting, or what’s left for us once AI can write the code.

Either way, I try to get to the bottom of it: read the documentation, look at what the compiler actually does, weigh the trade-offs, then write it up as plainly as I can.

I fell in love with programming early enough to minor in Computer Science, and kept going through a master’s in Software Development. Along the way came C and C++, a little MeteorJS, and a lot of Java. These days it’s Swift, and I’m still as eager to learn as I was then.