News for hackers. Stuff that matters.
Re:Criticizing Hare language approach for generic data struc... by jolux on Wednesday May 04, 2022 @09:48AM (#31260357)
No, but it’s widely acknowledged that functional programming features are useful even in imperative languages. Almost every imperative language that isn’t C, Go, or Hare has them. Java, C#, JavaScript, Python, Ruby. You should take a look at all the functions available on iterators in Rust if you haven’t. The Rust community tends to prefer using iterators to express things like looping when possible, which is a more functional style.

There are no comments on this comment yet.