Re:Learning Rust
by ufo on Sunday November 02, 2014 @10:21PM
(#8549209)
REPLs aren't just for learning- they are great for exploring and interactively designing programs. You are also conflating REPLs with scripting languages - the parent post already has a bunch of examples of languages suited for complex tasks that make very good use of their REPLs.
[ Parent
| on HN ]
Re:Learning Rust
by shadowmint on Sunday November 02, 2014 @11:57PM
(#8549379)
They're really not in this case.
play.rust-lang.org is a bite sized code compile \ execute environment that lets you play, explore, delect different compilers and share failed build to get help. Its fantastically useful ... but its not a REPL, and being one would in no way make it more useful.
REPLs are useful where a few lines can make a meaningful program.
That is not the case in rust.
I use the REPL to try out syntax I don't quite remember and to ascertain myself of how the libraries work, something that I have to do often. It's not an absolute necessity, but it makes coding a lot faster.