With Rust the questions become "Hey, why isn't that allowed again?" and "All this code for just that?"
@jeancf Someone called one of my pet Rust projects code "Pythonic", so I really don't buy the "all this code for just that" part.
@jeancf Also, like someone commented on Birdsite (https://twitter.com/bitshiftmask/status/1196785160429228034):
Literally all I do as rustc:
6 | Can I do this?
| ^^^^ No. You can't
= note: expected `good idea`
found `idea that needs improvement`
= help: you should:
* find some
* what is this even
error: aborting due to bad idea
@jeancf (The parts where I had to write more code in Rust than Python actually proved to make the code easier to read later, IMHO.)
Actually, I agree that verbosity is not an issue with Rust. Java is a lot worse.
@juliobiason but the REAL revelation comes when you ditch all the ideas about Proper Object Orientation™ and start expressing what you mean as simple as possible, in small plain functions accepting arguments of standard types (as opposed to building custom classes for everything). That's where #Python starts to really shine :-)
@juliobiason well, you can do that with Java too, but you have to ignore community norms, possibly using Java 8+. ^_^
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!