6,536 karma · joined May 1, 2007
Yoyozo[1] is a recently released PlayDate game. The first toot about working on it on Mastodon[2] is from Sept. 5 and it got into the PlayDate store on Nov. 21. Elsewhere the creator said he put about a month into it. So a lone dev working on a legacy-like platform can launch a game in a month. I think Yoyozo doesn't have quite as much depth as Donkey Kong (not as many screens, no enemies), but it was made by a lone dev, so it probably all balances out. I think people are basically still capable of the same level of output, maybe a little higher, if they're willing to work on a limited platform.
[1]: https://blog.gingerbeardman.com/2023/11/21/yoyozo-how-i-made...
[2]: https://mastodon.gamedev.place/@gingerbeardman/1110136615210...
In the Gaza War, the US has direct personal and financial ties to one of the main actors in the conflict. Now, if someone said, "The US should do more to influence Hamas," I would say that's not really possible because we have no connections or leverage over their behavior. They are connected to Iran and Qatar and their own people, but they don't really care what we think of them. But we have fairly decent leverage on the Netanyahu government. So when I advocate for the US to do things with relation to the Gaza War it is all about changing the behavior of the Israeli government, and not something else we don't really affect.
To do the same thing in CSS you would do <div class="myelement"><div class="slot"><div class="a">Transcluded content</div></div></div> @scope (.myelement) to (.slot) { /* rules that apply to .myelement but not .a */ }).
The other things are just plain old JavaScript and have nothing to do with Shadow DOM. Yes, they can be done with customElement, but they can also just be done without it.
The other thing you learn is that no plan survives contact with the enemy.
In any event, shadow DOM is just a worse version of scope selectors. There's not really a good use for it now that you can just do a style reset on a donut selector inside an import layer. It can all be done declaratively with CSS instead of using an imperative JS API that has a ton of gotchas.
Even the name "web components" is basically just marketing fluff. When people say "web component", they mean using two particular DOM APIs: customElement and shadow DOM. Those are both pretty niche APIs. There are some cases where they are helpful, but 99% of the time, they don't add much to a project versus good old querySelectorAll and normal CSS.