I’ve been idly thinking about this topic for months_ now, and recently again as I work on a smaller project in Rust for work— Rust *does* push me to model problems differently.https://twitter.com/strangeloop_stl/status/1429836015724728320 …
-
Show this thread
-
For me (perhaps for you?) programming is about coming up with a domain-specific language for expressing the problem at hand. This DSL is your internal API, or whatever word we have for the functions and the data & how they interact.
2 replies 0 retweets 5 likesShow this thread -
Rust has been shifting how I do this, and where I end up after the exercise. I’ve been working on something to the side for work that started off as a straight translation from some dusty Javascript, but that resulted in some annoying Rust.
1 reply 0 retweets 2 likesShow this thread -
I’ve slowly improved how I model the problem to make the Rust more natural, less repetitive, etc. On Friday I was sighing at how the part of the problem that I can’t change— the data source— was modeling things via inheritance not composition so as a result I’ve still got clunk.
4 replies 0 retweets 2 likesShow this thread -
anyway systems are fun but this is fun too
1 reply 0 retweets 5 likesShow this thread -
Rust is doing fun things to my brain I love this the end
1 reply 0 retweets 12 likesShow this thread
I'd love to see any before/after examples of Javascript -> JS-Rust -> idiomatic Rust if you have any!
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
cognitive psychology. PhD