Bjarne Stroustrup - Object Oriented Programming without Inheritance - ECOOP 2015

preview_player
Показать описание
ECOOP, Prague July 9th 2015.
Рекомендации по теме
Комментарии
Автор

I just use composition, and encapsulation. Data structures are really useful too; you can have a lot of stuff simplified by using them more often.

SpiritVector
Автор

Wouldn't purely abstract base classes (like Java og Go interfaces) with dynamic dispatch count as "no inheritance"?

BjarkeEbert
Автор

Is the slide deck going to be available?

diltsman
Автор

To me, gradual language design doesn’t really work. Because once you create bad rules, you can’t change them in later time without breaking things.
C++’s great success was that it was a gentle transition from C. But it paid it with poor design decisions which were harder to fix later on. Make it too radical, and people would hate it.
That’s probably one of the reasons Eiffel failed to gain traction.
This isn’t an attack on Stourstoup. There was a discussion a while back that the concept of the C drive in Windows (the two floppies are A and B) created a stupid legacy that would be hard to break.

gareginasatryan
Автор

This talk is full of jokes, and "C++ doesn't leak" is the best one. As if smart pointers don't cause reference cycles, which are nothing but memory, and occasionally resource, leaks.

egorsozonov
Автор

Guess the audience is full of Java devs… They're already using (old) C++ they just call it the JVM.
Sure lambdas are "new" to C++, thing is any of the programing languages cited didn't have to be backwards compatible with C (some of them came before C). Java doesn't have to compile or run fast (or if it does it's failing at least at the former. And in most cases, without careful precautions, at the latter. )

LemonChieff
Автор

Object orientated programming is alot of abstracted bollocks.

cd
Автор

I don't get this obsession with "modeling the real world". Programming problems, mmost of the times, , doeflect the real world at all... It's a fools errand, it creates a new problem besides the one we actually need to solve

PabloGnesutta
Автор

Object oriented programming has wrecked the programming industry...

mjsanchez
Автор

"Object-oriented programming" is one of the most poorly defined things in IT. There is absolutely no consensus. There are many different interpretations of this concept.

There are broadly two general schools of OOP. One is from Alan Kay and the other is from Bjarne Stroustrup/Kristen Nygaard. Until we can nail down the definition, these kinds of debates, including the one in this video, are like arguing about how many angels can dance on the head of a pin. It's rather a waste of time.

horridohobbies
Автор

I think: modern programming is not programming, it's spanking fucking code. Don't get me wrong, abstraction is good evolution like from assembler to c++ and more but it was natural. Today is overhead and something there is going wrong way. Next time we will be discuss how to write sites in c++

marianwitek
join shbcf.ru