459 karma · joined Jul 23, 2009 (17y ago) · 95 submissions
comment 2y ago · link · parent
comment 5y ago · link · parent
Do they, though? I don't know how familiar you are with the German political parties, but the concern about climate change is mostly empty marketing on all sides. We should stop running coal electricity plants, but somehow turning off all nuclear plants immediately is more important. We should stop subsidising driving to work, but that would be regressive etc. Most parties are making noises about climate change being bad, but they're all pretty unwilling to accept any trade-offs involved in doing something about it.
I'm saying if you want something effective do be done, look at what the parties are actually proposing to do, not how concerned they're expressing to be in their election flyers.
comment 5y ago · link · parent
But as a voter who is in favour of a higher CO2 tax, why would you care about that distinction? If there's one party who thinks climate change doesn't exist and one who believes in climate change but is unwilling to do anything about it, the only difference between the parties is in their rhetoric. I'd argue that voting based on actual policy proposals a benefit, not a drawback of this approach.
comment 5y ago · link · parent
comment 8y ago · link · parent
All the ML dialects that I know have a zip function and ML pre-dates Python by about 20 years. This is particularly relevant since Rust is clearly strongly influenced by ML.
> The fact that those are functional I think is not particularly relevant. It's like someone seeing a comparison of Java and Go and saying that those are just the principles of imperative programming, or object oriented programming.
The comparison feels right, but I think it would certainly be odd if somebody explained loops in Go as "a Java idiom".
comment 9y ago · link · parent
Religious beliefs seem to fall squarely in the latter category (at least to the extent that political views do). Are you really comfortable with people discriminating on that basis?
comment 10y ago · link · parent
Edit: match doesn't insist on a default clause, it enforces exhaustiveness. Which can be achieved by having a default clause, but quite often you just have an explicit branch for every possible case.
comment 10y ago · link · parent
> 1st phone interview (screening) -> 2nd phone interview (technical) -> [crickets]
I get it, we are all busy, but I think sending a "No, thanks" email to applicants who have spent time on your interviews isn't asking too much.
comment 10y ago · link · parent
I've analysed all bug tickets for a Python system at a previous job for several months, tracking how many of our bugs would have been prevented by a Haskell-style type system. This isn't very scientific either, but for my sample it was somewhere between 70%-90% depending on your interpretation. I'm not saying this generalises to all projects, but I can definitely say that the 2%-number is hilariously wrong.
comment 11y ago · link · parent
I'm not convinced that's true. Rust is even stricter than Haskell in many respects (first example that comes to mind is incomplete pattern matches, which is a compiler error in rust) and strictness also avoids some run-time errors. I've managed to produce infinite loops in Haskell by accidentally defining recursive values more than once.
comment 11y ago · link · parent
(That being said, I think 'woeful' is a pretty strong word to describe the situation. Sure, Haskell is nicer in that regard, but most other languages aren't.)
comment 11y ago · link · parent
Why would you have to rewrite code because of an expanding std lib?
comment 11y ago · link · parent
I think one of Haskell's biggest marketing problems is that its strong points (strong static types + separation of side effects) aren't all that important in scripts (or any program that's small enough to fit in someone's head in its entirety), which makes it difficult to convince people of its merits in reasonably-sized examples.
What Haskell gives you are good, solid abstraction boundaries that you cannot accidentally break, and the ability to refactor code with a high degree of confidence that it's still going to work fine afterwards.
Neither of those are particularly helpful for any program that you might write in a competion, but both are incredibly important in day-to-day software development.
comment 12y ago · link · parent
It's fair to say that giving this issue much thought strongly correlates with thinking that eating animals is immoral. But thinking it's immoral doesn't necessarily imply you are a vegetarian. I can't find the statistics right now, but there was a study that compared philosophers' position on eating meat to the general population's and found that philosophers (particularly ethicists) usually thought eating meat was wrong, even though their rate of vegetarianism didn't really reflect that.