1,549 karma · joined January 24, 2022
star my code at https://github.com/arjvik
reach me at <github username>@gmail.com
trying out arjvik.at.hn
Perhaps a society where all income comes from the government in proportion to how much one improves the overall well being of society?
(Yes, it's difficult to measure this objectively, and even harder to agree on what the priorities for societal well being are)
fn funny(){
fn f(_x: ()){}
f(return);
}
f() is never called because funny() returns before it gets called.The reason you want return to be coercible to any type is so that you can write something like
let x: i32 = if y {
4
} else {
return; // type ! coerced into i32
}
And you pick the return value of ! because return never actually produces a value that is propagated on at runtime, it immediately exits the function.(Note this all works even with returning a value)
https://blog.xkcd.com/2007/08/14/mirrorboard-a-one-handed-ke...
Members ending in a double underscore as well aren't mangled, because this interferes with syntax sugar methods like __add__ (addition operator overloading).
(Disclaimer: have not used PowerMockito in ages, am not confident it works with the new module system.)
:)
('Expected a Collection' & never)?
If Meta can pull off the public cloud correctly, I’d trust them greatly - they’ve shown significant engineering and product competence till now, even if they could use some more consistent and stable UI.
https://wasmer.io/posts/wasmer-and-trademarks-extended
I don't think this is as much of a smoking gun as it is made out to be.