Re:Humble Bundle Books: Functional Programming
by lallysingh on Tuesday February 13, 2018 @11:41AM
(#16368464)
And when did Rust become a functional language?
[ Parent
| on HN ]
Re:Humble Bundle Books: Functional Programming
by yetanotheruser on Tuesday February 13, 2018 @11:47AM
(#16368524)
Re:Humble Bundle Books: Functional Programming
by steveklabnik on Tuesday February 13, 2018 @11:58AM
(#16368644)
Please note that this is from 2014, before Rust 1.0, and therefore is inaccurate in a few ways.
We talk a little bit about Rust and functional programming in the book: https://doc.rust-lang.org/book/second-edition/ch13-00-functi...
> Rust’s design has taken inspiration from a lot of existing languages and techniques, and one significant influence is functional programming. Programming in a functional style often includes using functions as values, by passing them in arguments, returning them from other functions, assigning them to variables for later execution, and so forth. We won’t debate here the issue of what, exactly, functional programming is or is not, but will instead show off some features of Rust that are similar to features in many languages often referred to as functional.
Re:Humble Bundle Books: Functional Programming
by yetanotheruser on Tuesday February 13, 2018 @03:50PM
(#16370623)
Thanks for replying. I've got to check this out.