Pong & Object Oriented Programming - Computerphile

preview_player
Показать описание
Using Pong to demonstrate the strengths of Object Oriented Programming. Dr Steve Bagley explains

This video was filmed and edited by Sean Riley.

Рекомендации по теме
Комментарии
Автор

This really took me back to my Java/C++ classes. It's funny how knowledge can lie dormant and forgotten in your brain, but then with the right little push, you remember all this stuff you thought was long gone.

ButzPunk
Автор

How about another video to demonstrate the weak points of Object Oriented Programming?

leonhrad
Автор

I was taught to think about objects as being similar to Pokemon ahah

thetradefloor
Автор

That was the greatest crash message ever.

exception: blahblahblah
kernelpanic: blahdiblahdiblah
help!

ArchAngelSlayer
Автор

All you need to take away from OOP is the idea of associating a function with a type, so that you can call type_instance.function() easily. Everything else is more trouble than its worth. Especially classical inheritance.

And I'm saying this as a game dev. If I can make a whole game with has-a relationships rather than is-a's then you certainly can for business applications.

noxabellus
Автор

"I used to be enamoured of object-oriented programming. I'm now finding myself leaning toward believing that it is a plot designed to destroy joy." - Eric Allman

"The problem with object-oriented languages is they've got all this implicit environment that they carry around with them. You wanted a banana but what you got was a gorilla holding the banana and the entire jungle." - Joe Armstrong

edgeeffect
Автор

I personally prefer using the bank account example that many authors like, because it's easier to explain certain things like inheritance, initialization, and mutators than in the GUI example.

ElagabalusRex
Автор

Ok, now you need to cover functional programming too! :)

TheBedrockCreeper
Автор

The problem with OOP as implemented is that it’s not supposed to be difficult to wrap your head around; it’s not supposed to be more complicated; it’s not supposed to make programming harder. It’s supposed to help manage complexity; it’s supposed to be easier to understand; it’s supposed to make our jobs easier. We should ask why new programmers are intimidated by it. We should ask why has OOP not lived up to the promises.

NoahSpurrier
Автор

Directly referencing an object's data without using its interface? That's a paddlin'.

JuusoAlasuutari
Автор

I feel like there is no way I could have understood this video if I didn't already have basic understanding of 'object oriented programming'. I think these videos have to appeal to ~90% of the viewers, but all it did is explain how to program a pong game to a person who already has some idea of how to do it.

(This is assuming the video meant to explain 'Object Oriented Programming' to the general public)

spikeguy
Автор

This is the best, clearest explanation for OOP I've ever heard. Of only my high school programming teachers had made it that clear.

saintjerome
Автор

Is this what runs the machine that goes "PING!"?

UB
Автор

Can you do another video explaining Functional Programming?

AndresRodriguezGuapacha
Автор

Such a simple game with not as simple code.

rstriker
Автор

4:56 Best Blue Screen/Kernel Panic ever

manuelengel
Автор

"Its probably not going to be more then a few hundred lines long"
Honestly that sounds like way to much code, even if you'd go completely overboard with OOP

suicidalbanananana
Автор

I feel like this channel needs to have more advanced material. Everything is either a superficial look at stuff being done in the realm of computer science or explanations of super basic concepts. Why can't this channel be more like numberphile where it actually gets into the nitty gritties of things?

gogopie
Автор

Good explanation though it leaves out one of the main reasons for Object Oriented Programing, to allow software mills to turn programmers into modular, expendable, commodities. aka objects.

ChristopherGaul
Автор

There is one crucial object missing in this example: the board itself.

YouHolli
join shbcf.ru