bananaface
Joined 6 years ago
Joined 6 years ago
I think the popularity of untyped languages is one example of that. Clearly worse, you're removing an entire class of embedded test and nuking your ability to refactor safely, but huge chunks of the industry don't see that as a bad thing. I'm a worse programmer because I've spent so much time in Python.
function foobar(version: number): string {
if (version >= 3) { return 'result_3'; }
else if (version >= 2) { return 'result_2'; }
else if (version >= 1) { return 'result_1'; }
else {
throw new Error(`Cannot interpret version '${version}'`);
}
}
?I don't see what advantage the switch provides here.
But I've not been exposed to that kind of corporate environment. Is it really that important? It reeks of corporate buzzwords to me.
I'd argue the people at FAANGs are the people who are best at hitting the requirements of a FAANG. That's still a competition and they'll brain drain from smaller companies, but it creates arbitrage on unrecognised ability and other opportunities may exploit that (e.g. starting your own venture relies much more on genuine ability than where you stand on a FAANG progression matrix).
I was contributing to an open-source FAANG project recently and the oversights they'd made in the codebase were surprising to me. There were very basic errors and mistakes and the people managing the codebase didn't understand what some of the functions were even supposed to do. The API wasn't consistent. Tests were testing behaviour that was outright wrong (and, somehow, passing). Feature prioritization was way off. There were half-hearted implementations of some features that were bad enough that they weren't useful. They weren't talking to other departments working on the same basic area (who are also open-source, and hold the state of the art), so there were important features that weren't ported. The project was small, too (but not unimportant).
I don't have high market value, but I was fixing some of these bugs in minutes. The guys managing that project are obviously a lot better than me overall, but I think it betrays a flaw in the institutional structure. Those weaknesses in the codebase would be cheap to fix, the problem is the FAANG standards are such that they are able to go unrecognised.
In the 70s there were genuine left-wing terrorists like the Weathermen, which might be a good comparison, but the vibe I get is that they liked violence first, and fell into a movement that gave them a justification to perform it. They didn't seem scared to me. The far left rarely seems genuinely scared, but the far right seems very scared.
The difference to me is that nowadays, left-wing threat narratives tend to exist to justify behaviour they already want to engage in, whereas right-wing threat narratives exist much more to be scary. Toward the center things are similar but the differences are quite stark at the fringes.
I don't mean this as a technical argument or anything. I could be wrong, I'm just trying to describe my instinct.
> The Great Purge
Was a genocide by people who attained power, not the fringes of society acting out for weird psychological reasons. I wouldn't really compare the motivations. Dictators are dictators, right or left, and the support they get is much more transactional. I'm also skeptical that Lenin was genuinely motivated by Marxism. I think Marxism was an excuse he could use to gain power.
Left-wing narratives are often decoupled from intention (e.g. systemic and unconscious bias) because it makes them easier to propogate, whereas right-wing narratives are the opposite - intention is ascribed whether or not it's there, also because it helps the narrative propagate. They're selling to different human tendencies, I think.
Watch the far-right protest. Their eyes usually convey fear or animalistic aggression, even when they're dominant. Far-left groups carry very different emotions, even violent ones like Antifa.
I guess this doesn't solve injection, but there must be other ways to solve "display some additional data."