Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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.



The 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


Continuations 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.


The explanation is mine. It wasn't an argument.

The application and implementation decisions are YC's. The essay explains their rationales.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: