Hacker News new | ask | show | jobs
by adgjlsfhk1 498 days ago
the place where imo static languages come up short is first class functions.
2 comments

I think C# has first class functions. Any pure function you can pass around. And you can create lambdas.

gcc has nested functions that can act like a closure.

And Clang has blocks.

What are you talking about, the majority of functional languages have static types.