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

> cleverness like what you wrote.

So we should optimise languages for users who are not prepared to familiarise themselves with the language? How is this more complicated than its commonly-used Javascript equivalent?

    function call(fn, val) { return fn(val) }
    call(n => n + 5, 10)
You see when written in a language in which lambdas are first-class citizens it doesn't look clever at all so maybe Python's sad implementation of lambdas and its anti-fp culture could be at fault?


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

Search: