Популярное

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

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

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

Топ запросов

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

There is no silver bullet - Klaus Iglberger - Meeting C++ 2024

Автор: Meeting Cpp

Загружено: 2025-01-03

Просмотров: 2191

Описание:

There is no silver bullet - Klaus Iglberger - Meeting C++ 2024
Slides: https://slides.meetingcpp.com
Survey: https://survey.meetingcpp.com

Most developers love simplifications — they love the idea of that one tool that solves all of their problems. We have seen that in the late 90s and early 2000s, when object-oriented programming (OOP) was promoted as the one solution to all software problems. Today, however, the tide seems to have turned and functional programming (FP) is on the rise. OOP, on the other hand, seems to be considered an obsolescent paradigm:

“Inheritance is the Base Class of Evil” (Sean Parent, 2013)

“OOP is dead” (Stoyan Nicolov, 2018)

“[Object-oriented programming] is not what the cool kids are doing in C++.” (Jon Kalb, 2019)

“Eliminating Virtual Functions” (Jonathan Gopel, 2022)

”I believe that object-oriented programming and especially its theory is overestimated. … C++ always had templates, and now also has std::variant, which makes most of the use of inheritance unnecessary.” (Unknown Reviewer, 2023)

std::variant is indeed a fantastic solution: it’s functional, it’s simple, it’s value-based, and — perhaps most importantly — it’s fast. So it feels and sounds like a great replacement of virtual functions and object-oriented programming.

Unfortunately it is not. There is no silver bullet. There simply isn’t this one solution that works everywhere and every time. Truth is that neither OOP nor FP can solve all problems — we need both of them.

In this talk I’ll shed light on this antagonistic competition between OOP and FP. I’ll compare them by means of a practical example and show that both have their architectural strengths, but also weaknesses — along with many similarities.

I’ll also demonstrate that OOP has evolved: today, we prefer the value-based type erased style to the classic GoF style. From an architectural point of view, the object-oriented Type Erasure is the antipode to the functional std::variant and I’ll show that only a wise combination leads to successful architectures.

There is no silver bullet - Klaus Iglberger - Meeting C++ 2024

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

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

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

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

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

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

The C++ Execution Model - Bryce Adelstein Lelbach - Meeting C++ 2024

The C++ Execution Model - Bryce Adelstein Lelbach - Meeting C++ 2024

Breaking Dependencies: Type Erasure - A Design Analysis - Klaus Iglberger -  CppCon 2021

Breaking Dependencies: Type Erasure - A Design Analysis - Klaus Iglberger - CppCon 2021

The real problem of C++ - Klaus Iglberger - Meeting C++ 2025

The real problem of C++ - Klaus Iglberger - Meeting C++ 2025

Breaking Dependencies: The Path to High-Quality Software - Klaus Iglberger - Meeting C++ 2022

Breaking Dependencies: The Path to High-Quality Software - Klaus Iglberger - Meeting C++ 2022

Как устроен PHP 🐘: фундаментальное знание для инженеров

Как устроен PHP 🐘: фундаментальное знание для инженеров

C++ Type Erasure Demystified - Fedor G Pikus - C++Now 2024

C++ Type Erasure Demystified - Fedor G Pikus - C++Now 2024

Functional Programming in 40 Minutes • Russ Olsen • GOTO 2018

Functional Programming in 40 Minutes • Russ Olsen • GOTO 2018

Design Patterns - The Most Common Misconceptions (1 of N) - Klaus Iglberger -  NDC TechTown. 2023

Design Patterns - The Most Common Misconceptions (1 of N) - Klaus Iglberger - NDC TechTown. 2023

Back to Basics: Move Semantics (part 1 of 2) -  Klaus Iglberger - CppCon 2019

Back to Basics: Move Semantics (part 1 of 2) - Klaus Iglberger - CppCon 2019

Breaking Dependencies - The Visitor Design Pattern in Cpp - Klaus Iglberger - CppCon 2022

Breaking Dependencies - The Visitor Design Pattern in Cpp - Klaus Iglberger - CppCon 2022

Implementing Ranges and Views in C++ - Roi Barkan - C++Now 2024

Implementing Ranges and Views in C++ - Roi Barkan - C++Now 2024

Функциональное программирование для прагматиков • Ричард Фельдман • GOTO 2021

Функциональное программирование для прагматиков • Ричард Фельдман • GOTO 2021

Back to Basics: Designing Classes (part 1 of 2) - Klaus Iglberger - CppCon 2021

Back to Basics: Designing Classes (part 1 of 2) - Klaus Iglberger - CppCon 2021

Гольмий. Ненужные Редкоземельные металлы.

Гольмий. Ненужные Редкоземельные металлы.

A Journey Into Non-Virtual Polymorphism in C++ - Rudyard Merriam - CppCon 2023

A Journey Into Non-Virtual Polymorphism in C++ - Rudyard Merriam - CppCon 2023

НОВЫЕ ПРАВА И СТС 2026: новый РАЗВОД ДПС, 55 000 000₽ за ржавчину, новые ловушки и знаки ПДД

НОВЫЕ ПРАВА И СТС 2026: новый РАЗВОД ДПС, 55 000 000₽ за ржавчину, новые ловушки и знаки ПДД

Алгоритмы и структуры данных ФУНДАМЕНТАЛЬНЫЙ КУРС от А до Я. Графы, деревья, хеш таблицы и тд

Алгоритмы и структуры данных ФУНДАМЕНТАЛЬНЫЙ КУРС от А до Я. Графы, деревья, хеш таблицы и тд

CppCon 2017: Klaus Iglberger “Free Your Functions!”

CppCon 2017: Klaus Iglberger “Free Your Functions!”

Keynote: There Is No Silver Bullet to Solve All C++ Software Problems - Klaus Iglberger - C++ on Sea

Keynote: There Is No Silver Bullet to Solve All C++ Software Problems - Klaus Iglberger - C++ on Sea

Breaking Dependencies - C++ Type Erasure - The Implementation Details - Klaus Iglberger  CppCon 2022

Breaking Dependencies - C++ Type Erasure - The Implementation Details - Klaus Iglberger CppCon 2022

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



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



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