4 ms·
> Now obviously one might wonder why HN works this way. The reason is that the HN codebase came about as a way of field testing Arc [Graham's 100 year language]
by acdha 13y ago
> Now obviously one might wonder why HN works this way. The reason is that the HN codebase came about as a way of field testing Arc [Graham's 100 year language].
This is really the key point: continuations are the wrong way to write this kind of application. It's significantly more work and there's no benefit from doing so but it allowed someone to test a pet idea and, having done so, fixing it would mean admitting that doing something because it's cool isn't good engineering.
- brudgers 13y agoThe kind of application is specifically Hacker News, not a generic website or webserver. See the essay linked here for what kind of application this is: https://news.ycombinator.com/item?id=7651525 https://news.ycombinator.com/item?id=7651525
- acdha 13y agoContinuations are a questionable fit for web applications in general, however. HTTP is stateless and it requires a lot of extra work to build an abstraction which pretends otherwise. I prefer to embrace that from the beginning so the entire design matches the nature of the medium.
- brudgers 13y agoThe explanation is mine. It wasn't an argument. The application and implementation decisions are YC's. The essay explains their rationales.