Comment

Comment by bovermyer

Partly, it cluttered the code and decreased legibility.

Mostly, though, it was the debugging ecosystem that was the bigger issue with error handling. With the version I'm writing in PHP/Laravel, stack traces are very clear about where they happen and involving what components. When I plug in Sentry, this makes debugging production issues much easier.

Go's code is more elegant, more performant, and is fun to write, but maintaining PHP in production is much nicer and less time-consuming.

For a project like this, where it's just something I do in my spare time for fun, not having to spend a lot of time managing production is important.

parent bovermyer 6 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton