lacampbell
Joined 10 years ago
Joined 10 years ago
Is your boss just a bit of a dick that a lot of people dislike? If other people like your work it's probably way more about him than you.
I do a lot of node.js programming, which uses C++ to write extensions, so here's hoping I rememeber it if/when I need to.
Two times this video has been posted, and two times it's been flagged. Politician in center left UK party saying historys greatest mass murderer "did more good than harm".
Here it is again. UK labour politician saying Mao did more good than harm. Why does this continually get flagged?
Remember the Nazis were brought before an international court. The CCP never had a Nuremberg.
I'm a very low level functional programmer. I'm big on immutability, big on not using loops and instead using map/flatMap/filter/fold, I tend to roll my own either and option implementations when they don't exist because it's the tidiest way of handling errors I've come across, etc etc. But when it comes to stuff like functors I don't get what it's buying me. What interesting stuff can I do if I know that both an option and a list can be mapped over?
I really need to look more deeply into it at some stage. I might be missing out on some powerful tools. Or it might be a bunch of stuff that's theoretically interesting but practically useless.
The largest tragedy of the 21st century is that people still think these policies and these people were 'well-meaning' or 'it just went a bit wrong'. It seems that only when we defeat murderous totalitarians militarily that we understand them for what they are.
interface Functor<A> {
map<B>(f: (a: A) => A): Functor<A>;
}
You map over an option, you get an option. You map over an either, you get an either. etc etc.