The whole point of it would be to have a higher level of abstraction which makes codebases more concise. Avoiding duplication for the sake of avoiding it is as nonsensical as avoiding 100 dollar bills since we already have 100 single dollar bills that could make it up.
HN user
QuantumLogic
-3 karma
Posts2
Comments4
Announcing Rust 1.13 10 years ago
Announcing Rust 1.13 10 years ago
I don't get why they'll let the language be abstracted in that way, but are against having ternary operators. It's the one thing that's somewhat bugged me about Rust. Aside from this one minor thing, I"ve been really loving the language itself.
let greater = a < b ? b : a;
Is a lot better than having to write this all the time: let greater = if a < b { return a; } else { return b; };How does that explain Uber's data breach?
Ask HN: How can you tell if you are insane? 11 years ago
It's 60mg day that's the maximum daily amount. No idea where you got that from. The pills themselves go up to 30mg per pill as well. In fact, in some cases, they allow up to 90mg a day, that's like the max-max they can legally give, but it's in more specific circumstances like if someone's already been taking it for years and also has a larger body mass as well.