У нас вы можете посмотреть бесплатно Why I Don't Like Singletons или скачать в максимальном доступном качестве, которое было загружено на ютуб. Для скачивания выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
To try everything Brilliant has to offer—free—for a full 30 days, visit https://brilliant.org/TheCherno . You’ll also get 20% off an annual premium subscription. Patreon ► / thecherno Instagram ► / thecherno Twitter ► / thecherno Discord ► / discord 🔗 LINKS Meyers' Singleton ► https://laristra.github.io/flecsi/src... Radar Contact code ► https://github.com/Bogdanctx/Radar-Co... Hazel ► https://hazelengine.com 🕹️ Play our latest game FREE (made in Hazel!) ► https://studiocherno.itch.io/dichotomy 🌏 Need web hosting? ► https://hostinger.com/cherno 📚 CHAPTERS 0:00 - Comments and the Community 3:41 - The Comment 4:52 - Singletons and Context 8:47 - Lazy Loading 10:35 - Why are singletons "bad"? 15:51 - Having a "global variable" is "better" 16:23 - Reviewing Meyers' Singleton 19:38 - Improving our singleton to make shutdown explicit 21:11 - Not storing our instance in static storage 22:56 - Removing lazy loading to make initialization explicit 23:47 - The "global" situation - my solution 💰 Links to stuff I use: ⌨ Keyboard ► https://geni.us/T2J7 🐭 Mouse ► https://geni.us/BuY7 💻 Monitors ► https://geni.us/wZFSwSK This video is sponsored by Brilliant.