I don't see how initial values solves for much, or how an Optional constitutes a workaround; if anything, I see initial/null values being a hack to get around Optional, which is an explicit declaration of what possibilities exist.
Initial values, like null, is an attempt to smuggle the "unset" case into the type without declaring it. And like null, the defensively written logic should prefix every single usage with a check for validity.
Optional is just a natural subset of the generalization that multiple possible states exist; in this case, just the two, and sum types to properly handle bigger sets.
Initial/null never admit more than 2 possible states, and also believe everything is always in one of those 2 states.
I wouldn’t consider that a scam so much as the inevitable result of brand reputation being diluted into nothing. Intermingling is part of the problem, but the real scam is every single Reddit-brand-check for BIFL is always “20 years ago this was a top-tier brand, now it’s garbage. Check craigslist/ebay”
Which is probably a direct result of things like consumer reports going down the gutter.
With the massive expansion of information available today, reputation should be utterly paramount to sort out the chaff and somehow it’s instead become entirely meaningless
is a world where I have to perpetually carry keys, keycards and wallets one so much worse than the one where I perpetually carry a phone?
The difference is in that the phone is infinitely more useful and potentially useful; and the dystopia only arises from the fact that it has been used against me in accordance to the surveillance state.
The phone, and the carrying of it, is not really the issue.
My favorite gym was a small one where the staff recognized the members. I didn't need to carry anything.
At a couple other gyms (these were some 20 years ago), you gave your name when you came in, they pulled up your photo, and checked if it was close enough. Again, no need to carry anything.
That requires staff, which is expensive, but my point is to highlight there are options where you don't need to carry anything. Those sound like the world I would prefer.
While a phone may often be more useful, it's not infinitely more useful than other options. When I used to regularly swim at neighborhood pool, which is in walking distance, I had an RFID card to get in. The card could fit in my swim trunks. When the weather was warm enough I could walk to the pool carrying only card, towel, and body wash. I didn't bother getting a locker. A phone would have been less convenient and therefore less useful.
by consolidating all tools into one tool, the bus factor is now 1. by consolidating all tools into one tool, the quality of individual tools decreases (eg. phone flashlight is adequate for small jobs but is much less effective than a torch). every single god damn person on the train sits there with their head buried in their consolidated tool screen, nobody socializes. there seems to be plenty of issues, privacy notwithstanding.
Some states have an official app that is accepted as your driver's license, and most stores take NFC payments from your phone, so many people don't even need a wallet anymore.
I used to have a ring of like 2-3 dozen keys. Now the only key I need to carry is for my car.
"... The dough is boiled in honey water, hand-rolled and baked in a wood-fired oven; it contains malt but no salt or eggs, giving a crisper, sweeter, flatter and denser bagel than New York's. The texture difference traces back to which region of Poland each city's immigrants came from. "
Why would you ever list steps of a recipe out of order? I haven't been to Canada but none of the recipes I've read this this was posted have you forming the bagels after boiling "the dough". Weird.
You run into this issue any time you do a LEFT JOIN in sql and the field you care about is nullable.
The right side value could be null because it was missing, or because it was literally null. You resolve by checking the join key, and if that is itself nullable, you’re forced to introduce a sentinel
I think it’s also because these UI changes are always designed to improve first-impression and first-usage. They are outright hostile to anyone who wants to go fast and get faster — the power user. At minimum the re-arrangement resets any gains you had, and at maximum its irrecoverable because the UI is now fundamentally designed to slow you down.
This eventually becomes awkwardly precise complaints about information density and general change; but the underlying issue is I want to go fast and the system says no
I think the only real solution to this is to switch to an OS with a backing org that has optimization for power users as a first-class goal. I've been liking Omarchy and NixOS for that. I say this as a Mac user since 1989.
It’s the same as games; people not paying that much attention to it see the ugly side and assume it’s the whole medium. With children shows, it’s the fucking songs. They’re mindless, addictive, and usually revolting to look at; and it will hook in like nothing else.
Bheem, cory carson, rogers, Pixar, etc is like unquestionably to lead to less degenerate behavior than something like cocomelon (though I get some pushback on shutdowns for those too, I get the same pushback on any other toy).
In games, the equivalent would be social spaces (minecraft, Fortnite) and competitive multiplayer; they can be consumed for far longer than they hold any value. But I fully intend to let them play paper Mario, pikmin, puzzle games, point and clicks, etc.
It’s mentally lazy to throw out the baby with the bathwater
So it’s really the case that JS conflates objects/dictionaries, so only people familiar with only JS would know what you mean
Edit: actually thinking about it, I’m fairly positive python also models objects as dictionaries; it just puts more effort into hiding it
reply