Comment

Comment by faichai

Some unsolicited feedback:

I think the appRoute macro obfuscates the types and signatures, and introduces some unnecessary indirection. I would get rid of it.

Related, the AppContext type could be renamed RequestContext or ControllerContext or something as its App + HTTP Request + DB and not just the App.

Otherwise, I agree with other commenters that this is some of the cleanest C code I’ve seen in a while! Great effort!

parent faichai 1 year ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton