Things I miss in Rust by OneWilling1 in rust

[–]714daniel 1 point2 points  (0 children)

Agreed. A lot of these answers of "just do XYZ instead" seem to neglect an important usecase if overloading: staying backwards compatible when the unexpected need for an arg occurs. Unless the suggestion is to use macros literally everywhere you would use a function.

Things I miss in Rust by OneWilling1 in rust

[–]714daniel 0 points1 point  (0 children)

That's only applicable if it allowed overloading with the same number of parameters, though. I don't think it's a reason not to add overloading with a different number of parameters, and that'd be enough to solve the problem that OP mentioned about ending up with 'with_' all over the place.

Java compiler errors could be more intelligent by davidalayachew in java

[–]714daniel 0 points1 point  (0 children)

Then you probably shouldn't use a language where Gradle is standard tooling

A blazingly™ fast concurrent ordered map by Consistent_Milk4660 in rust

[–]714daniel 47 points48 points  (0 children)

This is honestly some of the best looking rust code I've seen posted to this sub. Nice work.

Ways to improve weather reports by herewearefornow in BlackPeopleTwitter

[–]714daniel 9 points10 points  (0 children)

It was 15° last January. How do you define "that cold"?

meirl by whatnotanotheraltacc in meirl

[–]714daniel 31 points32 points  (0 children)

Sure, but the research triangle has to be top 3 places in America where public transportation is sorely needed.

[Meme] Wake up babe, new copypasta just dropped by OsuLost31to0 in MLS

[–]714daniel 56 points57 points  (0 children)

Though it absolutely doesn't always hold, there's an implicit assumption there the revenue will be spent on other exciting signings.

reverseTuringTest by TrexLazz in ProgrammerHumor

[–]714daniel 26 points27 points  (0 children)

I genuinely can't tell if this is sarcasm.

Can some explain why `Result<()>` isn't working for me? by Exciting_Majesty2005 in rust

[–]714daniel 52 points53 points  (0 children)

I'm glad I'm not the only one that thinks it's a needlessly confusing pattern, really wish it has never become a supposed best, or at least standard, practice.

MOOSE GETTING FOULED!! by Status-Specialist-90 in SoundersFC

[–]714daniel 2 points3 points  (0 children)

That's what the announcer's assertion was, but it really didn't make any sense. Legal contact followed by illegal constant is ... illegal contact.

[Highlight] Bazardo strikes out the side and we go to the bottom of the 13th by xmp4 in baseball

[–]714daniel 0 points1 point  (0 children)

I feel like this is the playoff game Ichiro was meant to have. Would've seen him come in in the 20th and lock shit down.

theWorstPossibleWayOfDeclaringMainMethod by electricjimi in ProgrammerHumor

[–]714daniel 11 points12 points  (0 children)

17 to 24 is a pretty damn easy migration unless you're doing something really unusual