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

    data = models.getEntries()
    html = template.render('blog',data)
I may be wrong, but these two lines has to be blocking


That's the whole point, I don't care, hide that complexity from me. I can't render the page unless I have the data and I don't want to deal with callbacks, coroutines, monads, or what not, so I'll wait patiently for the data to come back.


Well, yeah, I'd like to see that too. Just like ruby or PHP, only with JavaScript syntax.

Sorry for pointing the obvious;




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: