Currently reading The Eye of the World

It has been very interesting so far. Mild spoilers ahead. I’ve gotten to the point where the company has been split and each party is trying to get to Caemlyn. I’m enjoying the cities and the towns of this world. Baerlon was great. I’m looking forward to the rest of the book.

Posted in Books | Tagged | Leave a comment

Giving Swift a chance

I’ve started learning Swift again. Today, I’ve been playing around with a hello world ContentView. Something like below.

struct ContentView: View {
	@Environment(\.modelContext) private var modelContext
	@Query private var items: [Item]
	var body: some View {
		// stuff
	}
}

I think I finally understand, with clarity, what the property wrappers and key paths are doing. This was the biggest “ugh, that looks strange” feeling that I’ve had in the past. Not anymore. Once I got it, it actually feels just a bit beautiful. I’m almost starting to remember my Java and Spring coding days with all that dependency injection, from 2013.

Posted in Projects and hobbies | Tagged , , | Leave a comment