Off the top of my head, rails (currentattributes), Laravel (facades) especially, and most iOS apps use singletons quite well. It’s all in moderation and depends highly on how it’s used, much like every other design pattern.
I think people just don’t like Singletons because they’ve been especially misused in the past but I guarantee the same argument stands for any other design pattern.
I will offer a second positive but more reserved data point. It took me closer to a day to get my custom Bazzite build working.
Switching over to my images using bootc failed because of what I eventually tracked down to permissions issues that I didn't see mentioned in any of the docs. In short, the packages you publish to Github's container registry must be public.
Another wrinkle: The Bazzite container-build process comes pretty close to the limits of the default Github runners you can run for free. If you add anything semi-large to your custom image, it may fail to build. For example, adding MS's VSCode was enough to break my image builds because of resource limits.
Fortunately, both of these issues can be fixed by improving the docs.
The reason I use Bazzite is very simple: I only use my desktop computer for gaming and when I turn it on, I want it to work immediately without issues.
With previous distros I always had issues configuring something or another with games/drivers. Bazzite has been the closest to Windows/console experience for me wrt Linux pc gaming.
If this is a generalist computer, then you are absolutely correct. This is not the distro for you. This is very specifically built for gaming.
I just got off of a few years at a FAANG and perhaps my greatest learning is that code is just table stakes. That is, it hardly matters and for a well functioning business it is best for it to be malleable and to not get too attached. It’s just code, the product is what actually matters.
Really just a long winded way of saying no one cares. Anybody who is looking at your portfolio is going to care more about what you built than how you built it. Anyone trying to rip you off it’s just hurting themselves more than anything
It’s more complex now since they shipped the new renderer, but essentially serializes the react UI tree to JSON and passes it to native which parses and renders native components
I think people just don’t like Singletons because they’ve been especially misused in the past but I guarantee the same argument stands for any other design pattern.
reply