this post was submitted on 15 Nov 2024
280 points (93.2% liked)
Programmer Humor
32483 readers
392 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I said it was better, just not much better.
The maintenance costs of equals is nearly zero. Scrolling over boilerplate seems like a real stretch, like saying a novel with a picture every chapter is harder to read.
I like that you can't accidentally forget to update it, which is kinda nice but is rarely a concern.
And it's a bit more readable, which is nice.
It's better, but folks are talking like it's Super Jesus and I think it's more like finding a dollar in the parking lot.
Who said it was superjesus? It's one of the smaller points on the long list of rusts advantages over other systems level PLs, but nonetheless notable. Especially if you consider that the feature that makes this possible is used for a ton of other useful stuff. And seriously, the boilerplate does matter, especially if you also add Ord, Hash and Debug impls. Your comparison with pictures in a noval makes no sense, since these add something valuable to the text and are easily distinguished from it. Heaps of boilerplate at a glance look just as meaningful as important sections of code, so being able to avoid it makes navigation significantly easier.
I know the image post was hyperbole, but the way y'all are gushing over it is borderline religious, in an unsettling way.
Immediately, you call boilerplate a Big Deal and identify yourself as a zealot. Even in Java, a notoriously verbose and boilerplate laden language, it's a Small Deal unless you're doing something insane. Let me guess, your coding in VI or something.
Rust looks great. It's a bunch of small improvements over most languages. But True Believers of any lang need to chill the fuck out.