5 ms·
Is it really that easy to write a dirty script with rust? It doesn't seem like something that's very forgiving nor allows rapidly testing concepts or prototypi
by LockAndLol 6y ago
Is it really that easy to write a dirty script with rust? It doesn't seem like something that's very forgiving nor allows rapidly testing concepts or prototyping.
Do you personally start writing Rust from the get-go or do you first write something in some scripting language and then transform it to rust once the basics work?
- mamcx 6y ago> Is it really that easy to write a dirty script with rust? Eventually. I struggle, a lot, for the first 3 months of Rust. Not each minute doing rust. I code in 2-3 other langs, but the slow was pretty obvious. I think have worked in so many other langs (+12) actually hurt me most. I try to start with rust like all the rest: Go ahead coding, figure stuff along. I stop doing like a idiot when I start looking at it as my FIRST lang ever: read a book, be slowly, PAY attention to what are the concepts "owned", "move", etc.. Also: I try to learn with building a relational lang, and develop the routine to build very small rust projects of a single file. I have done dozens now, and I start to click to me, and can do a lot of stuff far faster and near python-speed (when simple and normal).
- steveklabnik 6y agoDepends on what you’re doing. It can be, especially if there’s a library to give you a hand. It really depends on your attitude toward type errors. I find rust great for exploration because when I change something, the compiler tells me how to fix everything up. I also have a lot of bias here, of course.