mirror of
https://github.com/google/comprehensive-rust.git
synced 2024-12-14 22:15:54 +02:00
Rust isn't functional, but it does have functional elements (#987)
* Rust isn't functional, but it does have functional elements * End sentence Co-authored-by: Martin Geisler <martin@geisler.net> * add info about OO --------- Co-authored-by: Martin Geisler <martin@geisler.net>
This commit is contained in:
parent
e7253e2b5e
commit
97ac01dc75
@ -25,7 +25,7 @@ a ton of it over the next four days so we start small with something familiar.
|
||||
Key points:
|
||||
|
||||
* Rust is very much like other languages in the C/C++/Java tradition. It is
|
||||
imperative (not functional) and it doesn't try to reinvent things unless
|
||||
imperative and it doesn't try to reinvent things unless
|
||||
absolutely necessary.
|
||||
|
||||
* Rust is modern with full support for things like Unicode.
|
||||
@ -37,4 +37,7 @@ Key points:
|
||||
the scope they are used in. Rust macros are actually only
|
||||
[partially hygienic](https://veykril.github.io/tlborm/decl-macros/minutiae/hygiene.html).
|
||||
|
||||
* Rust is multi-paradigm. For example, it has powerful [object-oriented programming features](https://doc.rust-lang.org/book/ch17-00-oop.html),
|
||||
and, while it is not a functional language, it includes a range of [functional concepts](https://doc.rust-lang.org/book/ch13-00-functional-features.html).
|
||||
|
||||
</details>
|
||||
|
Loading…
Reference in New Issue
Block a user