Hacker News new | ask | show | jobs
by planb 558 days ago
For me, it’s quite the opposite—it brought back the joy of programming.

There are thousands of weather apps in the App Store, but none display rain data exactly the way I’d like to see it. That’s why I’ve long considered writing my own home screen widget to show it exactly as I want.

I hadn’t developed iPhone apps in a few years, so I had no experience with SwiftUI, the Swift Graph framework, or creating widgets. Just two years ago, building an app with a widget from scratch would have taken me a week — to read tutorials, navigate the necessary documentation, get started and solve my beginner bugs. Because of that time investment, I always hesitated to even begin.

Now, I’ve created exactly what I wanted in a single afternoon after work, with the help of AI. To be honest, GitHub Copilot isn’t very helpful for this, though it does speed up repetitive typing. However, using ChatGPT to scaffold the graph code—with me tweaking the parameters—made the process much faster. Since they added search functionality, there’s minimal "hallucination" of APIs, allowing for quick iterations and bringing back that “joy of programming” feeling.