How Not to Build a Music Player

81 points by alichraghi


vincent-uden

Fun article. I for one wholeheartedly want more "How not to" articles on the web. It was one of my big frustrations while working as a physics researcher. No publishes what they've tried that didn't work!

Learning from your own mistakes is good. But learning from someone elses mistakes so you don't have to make them yourself is even better!

kalkin

I decided to write my own music player and call it AMP with a few goals in mind: minimal feature-set, no C++ dependencies, proper system integration to make it feel like a native app, and of course, write it in Zig (including the shaders!). I also wanted to roll my own UI

If these are “a few goals”, I feel like an unaccomplished slacker.

I literally couldn’t hit the plan limits no matter how hard I tried, so after a few non-stop days of prompting, a good chunk of AMP was vibecoded..

🫣

That said I think it’s still possible to create a healthy relationship with LLMs as long as you look at them as a fancy IDE feature. A lot of times they are just running long sed or regex commands that are a no-brainer act for humans when done by hand but still consumes a good time. For now and hopefully forever I think I’ll be going the old school way. Never rush your hobbies!

IMHO, the author learned the wrong lesson from this experience. They underestimated the sheer scope of the project they wanted to tackle. A project like this needs months of thinking before a single line of code gets written. If you view prompting as a kind of customer–developer conversation about what you want, you can’t expect even the best developers to deliver anything but slop after just a few days of talking.