Hacker News new | past | comments | ask | show | jobs | submit login

These abstractions are not native to go. If you miss them, pick a better language.



Just like FPP is incompatible with C, I agree. And if you want a real taste of FPP go with either Haskell, OCaml or even the good ol' LISP


Or Rust.


My contention that FP has no meaning gains another point of evidence.


As a Rust guy, I disagree. For one, Rust does not have lazy evaluation, just like C which is why I raised the point C is incompatible with FPP. Lazy evaluation in C (and Rust) can be emulated by function pointers (and closures), but it is not easy to use


> Rust does not have lazy evaluation

Does one need lazy evaluation to be FP?

Scheme isn't lazy to my knowledge.


I'm sure it would make a compiler's optimization job easier.




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

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

Search: