« first day (2541 days earlier)      last day (947 days later) » 

7:11 AM
Once again the good answer is probably "Don't" (stackoverflow.com/questions/69356922/…)
 
@DenysSéguret How's the job hunt going?
 
I'm waiting for some official letter, maybe today or tomorrow, and then I'll be sure of where I'm at.
@PeterVaro (so basically, it goes well)
 
That's great news, well done!
 
8:17 AM
Happy to hear that @DenysSéguret! :-)
 
 
1 hour later…
9:31 AM
@E_net4takesitliterally Going to read this on my break!
 
9:54 AM
Oh, good catch @Stargateur I am excited for the new edition!
 
 
1 hour later…
11:04 AM
@Jason that not a catch I'm waiting for it LUL
 
 
4 hours later…
2:46 PM
Don't you love it when you update a dependency and your tests start taking from 350ms to 5s.
 
goooood mornings everyone
calinours song plays
 
 
3 hours later…
5:42 PM
Apr 1 at 8:05, by E_net4 the curator
Acquire The Key today.
Ben Popper on September 28, 2021
This is no joke. The copy and paste keyboard from our April Fool’s joke is real and available for purchase.
 
5:59 PM
lol yeah just seen this pop in the sidebar, this is glorious
 
 
4 hours later…
9:55 PM
Say you wish to implement the builder pattern for your struct, and instead of specifying one of its method as fn with_temperature(&mut self, temp: Temperature) -> &mut Self, where Temperature can only have two values Hot or Cold, you do not wish to make Temperature enum to be public, and you would like to have a xxx_hot and xxx_cold methods. The question is, what should be the prefix, i.e. what should xxx be?
with_hot and with_cold doesn't sound good to me
set_hot and set_cold somewhat implies that you pass in a value for hot and cold
set_as_hot? set_as_cold?
Maybe just hot and cold? (But those also imply they are getters)
 
10:11 PM
@PeterVaro with_{hot,cold}_temperature, that_is_{hot,cold}, make_it_{hot,cold}, and_its_{hot,cold} (I'm not being serious about all of these :P)
 
that_is_hot <3
Brilliant.
The with_hot_temperature works well, because the enum's name and it's members' names have nothing in common. But say you would have Determinism with two members Deterministic and NonDeterministic. Now, with_non_deterministic_determinism doesn't sound that great, does it @FrancisGagné?
 
@PeterVaro agreed
 

« first day (2541 days earlier)      last day (947 days later) »