Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

Why I Don't Like Singletons

thecherno

thechernoproject

cherno

c++

programming

gamedev

game development

learn c++

c++ tutorial

game engine

how to make a game engine

singleton

singletons

singletons bad

global

static storage

static storage duration

singleton discussion

code review

code chill

c++ singleton

meyers singleton

singleton pattern

antipattern

Автор: The Cherno

Загружено: 24 авг. 2024 г.

Просмотров: 112 299 просмотров

Описание:

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.

Why I Don't Like Singletons

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

Global Variables in C++... not as easy as it seems

Global Variables in C++... not as easy as it seems

Deep & Melodic House 24/7: Relaxing Music • Chill Study Music

Deep & Melodic House 24/7: Relaxing Music • Chill Study Music

КАК УСТРОЕН TCP/IP?

КАК УСТРОЕН TCP/IP?

SOME UNIQUE C++ CODE! // Pacman Clone Code Review

SOME UNIQUE C++ CODE! // Pacman Clone Code Review

ООП На Простых Примерах | Объектно-Ориентированное Программирование

ООП На Простых Примерах | Объектно-Ориентированное Программирование

КАК ПЕРЕСТАТЬ ТУПИТЬ? | амоБлог

КАК ПЕРЕСТАТЬ ТУПИТЬ? | амоБлог

The mind behind Linux | Linus Torvalds | TED

The mind behind Linux | Linus Torvalds | TED

Why Didn't He Get the Job? Let's Find Out! // Code Review

Why Didn't He Get the Job? Let's Find Out! // Code Review

Programming ▫️ Coding ▫️ Hacking ▫️ Designing Music 🦠

Programming ▫️ Coding ▫️ Hacking ▫️ Designing Music 🦠

Deep House Mix 2024 | Deep House, Vocal House, Nu Disco, Chillout Mix by Diamond #3

Deep House Mix 2024 | Deep House, Vocal House, Nu Disco, Chillout Mix by Diamond #3

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]