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

    :if    => lambda { |(cond, thn, els), ctx| eval(cond, ctx) ? eval(thn, ctx) : eval(els, ctx) },
Seriously, any production code like that (very long line, cryptic variable names to make it fit better on said line) would get nasty review comments here.

Why not put the whole thing a single line and have an even prettier page title?



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: