Better HN
topnewbestaskshowjobs
Log inSign up

QuantumLogic

-3 karma · joined Oct 1, 2015 (11y ago) · 9 submissions

Submissions

1.

Discord and functional programming(discord.me ↗)

1 points · by QuantumLogic · 9y ago · 1 comment

2.

We set up a functional programming Discord server (Haskell/etc.). Check it out(discord.gg ↗)

4 points · by QuantumLogic · 9y ago · discuss

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

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; };

comment 10y ago · link · parent

How does that explain Uber's data breach?

comment 11y ago · link · parent

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.