Rust-for-undergrads icon indicating copy to clipboard operation
Rust-for-undergrads copied to clipboard

[Proposal] Exploiting more Rust features in examples

Open k0pernicus opened this issue 8 years ago • 1 comments

Maybe it can be more explicative and useful to learn Rust using more Rust features in those examples. I think, for example, at binary_search.rs, which can include generics and traits (in a very simple way), to understand how/why to use them, and experiment the zero-cost abstraction feature of the Rust programming language.

For that, I propose to write multiple functions that exploit each of those features, or to exploit those features in different source code files.

Are you interested by one of those proposals?

k0pernicus avatar Feb 14 '18 12:02 k0pernicus

@k0pernicus sounds good. We can have these features in different source codes. As the repo will be helping beginners, creating separate source files for same program will be better to understand.

sanjitschouhan avatar Feb 26 '18 13:02 sanjitschouhan