23 ms·
I'm happy to accept 'relatively unimportant compared to other issues with rust'. REPL is a useful learning tool, but its also a not relevant to the majority of
by shadowmint 12y ago
I'm happy to accept 'relatively unimportant compared to other issues with rust'.
REPL is a useful learning tool, but its also a not relevant to the majority of tasks for rust. Rust is for large complex tasks. If you want a scripting language, use python.
- Dewie 12y ago> If you want a scripting language, use python. You know, that's what some people's attitude is towards high-level languages and performance: 'who needs a better C? Just write the performance-critical code in C and the rest in Python or whatever'. Just sayin'. ;) (obviously people who say this aren't working on kernels and browser engines, but still.)
- ufo 12y agoREPLs 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.
- shadowmint 12y agoThey'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.
- tormeh 12y agoI 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.