catapart
Joined 4 years ago
Joined 4 years ago
I realize it's not the most efficient way to work, but I like my code to read like instructions. There's nothing reduce will do that a for loop won't accomplish and the for loop (+ an accumulator, of course) is more clearly "readable" than reduce. If I read map, I know what's going on. If I read filter, I know what's going on. If I read reduce, I have to figure out what's going on, even if I'm pretty sure what is going on. If I could rely on reduce to always give me back an element of the input array, I would use it more. But since it can give back anything, I prefer the simplicity of a for loop.
[0] I don't have any suggestions for "better" names because the whole operation is hard to sum up in a word? "dispatch" makes sense, as a function dispatching a function over each element in an array, but it masks the concept of accumulation from return values. "transform" is accurate, but hardly descriptive at all. the list goes on. It's an undeniably useful little function, it's just hard to make it easy to understand and therefore debug.
You really should listen to me. If you need some time to think it over, I understand. It's a lot to consider and you've got a lot in your plate. I'll check in soon - would tomorrow be okay? If you need more time, just tell me when.
vs
You really should listen to me. I'll give you a day to think it over before I take further action.
Same information, but the latter assumes a position of authority (I, the person in charge, will be the provider of the time you will receive), and then uses that position to provide an ostensible benevolence as a way to mitigate the implied follow up of non-benevolence. The threat is introduced as the power disparity. The person in power has leverage over the less powerful and the threat is that they will use it. Remove the power disparity, and the implication of threat is also removed.
Tailscale just moved up in my priorities list. Was going to host my next website with hostinger, but now I'm going to at least try to run a personal server with tailscale to make it public. I might not be able to figure it all out, and may end up going with the VPS route, but this gave me some appreciation for the company that makes me willing to try the less familiar method.
If nothing else, this blog post certainly invites scrutiny over how much feelings affect what classifications feel comfortable.
Though, I will admit that I never include cooking in that. Food, for some reason, has never felt, to me, like "content". Can't say I've ever interrogated why.
I don't particularly like the term "content creator". It feels too blunt and sterile to be particularly useful. But it does seem to be generally useful in how wide-reachingly descriptive it is.
"Hmm. Not sure. Maybe google it?" is pretty innocuous no matter the context.
"Hmm. Not sure. Maybe look it up?" can sound dismissive or condescending in some cases to some people's ear.
It's a weird quirk of English where being non-specific is like saying "I don't know, you figure it out", where being very specific is like saying "Here's the solution (that I would use)".