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.
- 2 Posts
- 162 Comments
Isn’t it obvious? More code to skim, scroll over and maintain if something changes. If you add a struct field, your manual EQ implementation still compiles and seems to work but is wrong and will lead to bugs. Yes, solving this for 99,999% of cases with an attribute is just far superior and does make a difference (while keeping it easy to manually implement it if needed). Hash and Ord and some other traits can be implemented in a similar fashion btw…
This! It clearly needs more JPEG though. Here, I fixed it: https://morejpeg.com/Image/View/ed39fea5-0150-ef11-8104-ea49aec8cc27
words_number@programming.devto Memes@lemmy.ml•So much for Blockchain's real life use cases192·11 months agoWithout law enforcement, which is centralized anyway, your documented ownership is worthless. So if the state or a similar centralized real life organization, whiches existence people agree on, is needed to grant and enforce that ownership, blockchain is unnecessary. They can instead just store that shit in a database.
words_number@programming.devto Memes@lemmy.ml•Nuclear isn't perfect, but it is the best we have right now.2118·11 months agoIt’s unsafe, not renewable, not independent from natural resources (which might not be present in your country, so you need to buy from dictators) and last but not least crazy expensive.
Not “good guys”, but “lesser evil”. And people are correct.
Yeah I remember those good ol days when memes were high effort!!
/s
words_number@programming.devto Linux@lemmy.ml•text clarity on windows is so good, can I get the same on linux?2·1 year agoThen just download it e.g. from github: https://github.com/rsms/inter/releases
words_number@programming.devto Linux@lemmy.ml•text clarity on windows is so good, can I get the same on linux?11·1 year agoFor a fair comparison you should at least use the same font and font size. Did you try that? It will still look different on windows, maybe better, but I think you can get pretty close. I use the “inter” font on debian xfce and it looks very clean (the font is probably in your repos as well).
words_number@programming.devto Linux@lemmy.ml•Which communication protocol or open standard in software do you wish was more common or used more?4·1 year agoBut of course everyone decided it is just easier to nag all the users with a big splash screen.
Nope, the thing is, you’ll very rarely find a website that only uses technically necessary session/login cookies. The reason every fucking website, yes, even the one from the barber shop around the corner, has a humongous cookie banner is that every fucking website helps google and other corporations to track users across the whole internet for no reason.
That’s actually good. You’ve probably got more free time to work on lemmy than most adults. Impressive that you apparently got the skills too, so congratz! Also for choosing to learn rust! :)
Apple is exactly as shit as every other tech company, because they have to be in order to win the capitalism game.
But yeah, they sure have got a lot of zealots…
The foundational tenet of “the Cult of Mac” is that buying products from a $3t company makes you a member of an oppressed ethnic minority and therefore every criticism of that corporation is an ethnic slur.
(by Cory Doctorow, here’s the recent article: https://pluralistic.net/2024/03/22/reality-distortion-field/#three-trillion-here-three-trillion-there-pretty-soon-youre-talking-real-money )
I’d say at 1000 lines it usually makes sense to extract some parts into other files. But sure, I guess most obscurities have positive aspects. On the other hand, nothing is stopping you from writing a separate file with only function signatures next to your python scripts. It’s just not required, because why would it ;)
The stone-age called, they want their languages that need header files back!
(I use Rust btw.)
Would buy an AMD based T14s or T14 but they removed the rj45 connector from them and I won’t pay that money for a childrens toy. For some reason, some intel models still have it. Why??
words_number@programming.devto Linux@lemmy.ml•Longtime Arch user, first time Debian enjoyer2·1 year agoI can recommend debian testing. I’m using it on laptop and desktop for several years, always running “apt update && apt full-upgrade && apt --purge autoremove” and it never broke. It’s not officially a “rolling release” but practically it is.
words_number@programming.devto Memes@lemmy.ml•Diablo 3 was not fun and Diablo 4 looks worse...191·1 year agoCool, let me try: Fortnite is overrated bullshit!
Yep, feels great indeed :D
words_number@programming.devto Linux@lemmy.ml•Mozilla Announces Layoffs, Renews Focus on Firefox5·1 year agoObviously not. Building a modern browser engine from scratch is an immense undertaking, so it’s definitely possible that it will never be usable as a replacement for every day webbrowsing. But for now I won’t give up hope :)
I think if every contributor ever agreed, you could switch to a more permissive license that permits a superset of the original license.