“Use a different language” is a common defense of javascript, but kind of a weird one.
“Use a different language” is a common defense of javascript, but kind of a weird one.
Yeah. My last job, a PR with commented out code typically wouldn’t get approved. Either leave it in version history, or stick it on a branch
Oh yeah that’s the Peter principle I think. Or closely related.
Someone is good at job A, so they promoted to B. They’re good at B, so they get promoted to C. They’re kind of bad at C, so they stay there.
Over time, all roles fill up with people who are kind of bad.
I’ve been stuck on this thought that people making decisions are often idiots.
We’re sort of told that management is smart. That big business leaders are visionaries. If someone’s the director of engineering they’re probably smart right?
No. They’re just people. People that have the skills to get promoted, but those aren’t the same skills to do anything else.
I think it would matter less if there was more competition and more stakes. If some business puts idiots in charge and the whole company dies, okay. But instead we have Google just shitting the bed for years, and there aren’t consequences.
This is a capitalist hell
If I was raising kids, I absolutely would not want to do it in the suburbs. It’s isolating and limiting. I was always so jealous of the kids I knew that lived in the city. They could do things. I was stuck indoors , or walking for like 90 minutes to get anywhere.
I do not miss driving. Public transit forever.
But when I did drive, after my reckless youth, I’d usually just chill in the right lane. I don’t care. Fly by at 120mph. I’ll be here going with the flow of traffic, or about the speed limit if I’m alone.
I do remember one time in the suburbs when I was visiting my parents, I was driving to the grocery store. It’s a short drive (because it’s the suburbs, you can’t safely walk to the supermarket), no highways. About 10 minutes to get there from driveway to parking lot. Some guy behind me started absolutely losing his shit, screaming, and passed me dangerously by driving onto the shoulder. He pulled into the same parking lot. I parked well away from him because I didn’t want to deal with crazy.
I’m not good at math, but if the entire trip was about 10 minutes, I feel like the time difference between me going about the speed limit and me speeding is, at most, what, 2 minutes? 5 minutes? The guy probably took more than 5 minutes off his life being so angry.
Call the function from the if block.
Now your tests can more easily call it.
I think at my last job we did argument parsing in the if block, and passed stuff into the main function.
no different than taking a bunch of books you bought second-hand and throwing them into a blender.
They didn’t buy the books. They took them without permission.
You can do non-monogamy without cheating. I know many people who do so.
There was a thread about cheating the other day and someone posted that they think cheating is… How did they put it… binary? Like there are social groups where everyone cheats and its normal, and then there are non overlapping groups where no one cheats.
Ah, I found it: https://lemm.ee/comment/20529741
I don’t think I know anyone who cheats in relationships.
If you can’t tell people are working productively remotely, you have no business being a manager.
Anyone entering through web development. If you’re self taught or did a “coding boot camp”, it might be the only language you’ve used. A lot of places use it for backend stuff now, too
I saw that one too and thought similarly!
I don’t know about “fine”. It has a lot of weird stuff baked in. Hoisting. Unexpected type coercion. Too many ways to loop over something and I always forget which one is which. “There’s more than one way to do it” is kind of a recurring problem, come to think of it. Several function declaration syntaxes. Dot notation AND bracket notation for objects.
Also it will forever bother me that object keys aren’t quoted.
const foo = "hello";
const bar = { foo: "world" }
That should be, in my mind, { "hello": "world" }
. It’s not. It’s { "foo": "world" }
But if you want to do that, you need to do const bar = { [foo]: world }
. Which looks like your key is an array with one entry, a string with a value of “foo”
You also end up learning a whole framework, with its syntax and idioms, every couple years. Angular. React. Redux. Whatever.
There’s also a lot of people who have never used anything else, and want to use javascript for everything.
Javascript is basically D&D. Wildly popular. Full of legacy jank. People try to use it for anything even though there are better or more specialized tools.
The only case I can think of is like you had to call 911 for an emergency and you want the people around you to also hear the dispatcher.
For day to day stuff, not really.
Folks should unionize. The people mandating these “return to office” schemes can’t do shit unless labor cooperates.
Reminds me of my first big success at work. There was a weekly report that people wanted generated - it showed how much like each operator had done, how much each warehouse had shipped, how many orders we lost from stock issues, etc. it was a low tech company, so they had someone going through the limited UI, looking up each thing one at a time, copying it into excel, and making the report that way. It took hours, and was error prone from stuff like mis-pasting or accidentally skipping a user.
Took a look at it and was like you could definitely automate this. Used some very primitive scripting to pull all the info out of the system’s UI and dump it into a TSV. Took like a couple minutes to run it, import into excel, and add the colors. But it was super janky because it was manipulating the UI like a user instead of, like, directly querying whatever underlying data store it was running on.
Still, management was impressed. I later learned no one actually looked at the report most weeks, so that took some of the wind out of my sails.
This is an ancient joke but they replaced the original pigeon with a blue thing instead. :confused:
On the one hand, yes. But also, it’s mostly capitalism.
I don’t think there’s anything inherently wrong with “I’m starting a frisbee club for fun. We’re going to meet saturdays in the park. I’m going to put up some flyers and tell my friends about it”.
But at some point that can mutate into “i put a 30 second unskippable ad for FrisbeeFranchise on youtube, and a giant billboard over the subway stop that implies if you don’t play frisbee you’ll never be happy”. That’s bad.
I think targeted ads should be illegal as a first step. I don’t think anyone except the worst sort of advertisers would go to bat for those. Old fashioned static ads where they put an ad for bike stuff by the bike lane in town is annoying, but somehow we’ve invented things so much worse than that.
Also the text says
That’s not a metaphor. The camel thing was a colorful metaphor to demonstrate the point.
That’s luke 18:22
Most people who call themselves Christians do a piss poor job of it. Some of them then go “oh well I’ll be forgiven it’s okay”. That’s not really following the intent. That’s trying to take advantage of someone’s kindness.