posting these before anyone else does: "bUt ItS nOt GoOd EnGiNeRiNg PrAcTicE11!!1" "LeArN tO cOdE pRoPerLy" "buT ScoPing" "MeSSy" "PoOr OoP"
-
-
Näytä tämä ketjuKiitos. Käytämme tätä aikajanasi parantamiseen. KumoaKumoa
-
-
-
Tämä twiitti ei ole saatavilla.
-
Tbf there is an important reason why the constructor way is actually useful
- Näytä vastaukset
-
-
-
Use the right tool for the job. If that happens to be a singleton, then use a singleton.
-
I remember trawling gamedev dot net in the mid 2000's, and there were 20+ pages topics discussing best practices to write logging systems that avoid globals and singletons, because "gLoBaLs ArE bAd" or whatever.
- Näytä vastaukset
Uusi keskustelu -
-
-
yeah it's pretty interesting (to say the least) to see how far people are able to go just to avoid singletons
-
A valid tool in my toolbox, for a particular set of problems. We can't apply everywhere, but we can't simply say it's universally bad.
Keskustelun loppu
Uusi keskustelu -
-
-
Singletons ARE fine. And you use them anyhow.
Kiitos. Käytämme tätä aikajanasi parantamiseen. KumoaKumoa
-
-
-
Not everything has to be fuckin' OOP, DOP is great in the correct circumstances
Kiitos. Käytämme tätä aikajanasi parantamiseen. KumoaKumoa
-
-
-
*highfives*
Kiitos. Käytämme tätä aikajanasi parantamiseen. KumoaKumoa
-
Lataaminen näyttää kestävän hetken.
Twitter saattaa olla ruuhkautunut tai ongelma on muuten hetkellinen. Yritä uudelleen tai käy Twitterin tilasivulla saadaksesi lisätietoja.
Working on
Founder
Devrel ||
GameDev ||
Community ||
R&D
Prev: