I'm new to your channel but I'm finding your videos really helpful- I appreciate you explaining concepts in depth rather than just glossing over them. It makes me feel like I have a better idea of what I'm actually doing when I code- Thanks!
Bruh!!! I'm current going to university for CS and have been struggling to understand object oriented programming. This is by far one of the best explanations of OOP that I have seen yet, thanks very much!!!
Hi Dave. I'm having trouble to understand some OO terms: class, object, instance, method. Could u elaborate these terms or make further video about OO with your excellent simplified explanation? Much appreciate.
So, integers are inheritance (an Integer is a number). A method or an array is a composition (A method composes of different statements, inheritances etc while an array composes of several different numbers). A "System.out.println()" is a role(It behaves like a printer), or a multiplier operator (A multiplier operator behaves like a calculator). Am i right?
Thanks Dude,please make an explanation video about CLASS in PHP. and smth more about OOP. thanks to your style of making videos it is easier to learn,background songs,short videos,and active way of speaking.
Let's say that the things you mentioned in the video refers back to Java right. I get inheritance and you enlightened me with the composition, but are roles like.. interfaces? The fact that my class can inherit a parent class but have many "roles" such as implementing many interfaces? or am i just lacking in knowledge? Let me know what you think Dave.
This is awesome, so is it basically like giving something human characteristics? Well, not exactly human but... We are assigning programs characteristics?
+BOSSDONMAN That's not a stupid question at all. Where I went to school, EE was mixed with CE a lot and I leaned more towards the computer side. EE was cool, but a lot of analog circuits, DSP classes, etc. I just didn't have an affinity towards. I'm also nowhere close to being a real Computer Scientist. My first job was as an embedded developer, then I guess one thing led to another and I just started getting into software and software engineering. I can't judge those two as majors, I think they're both interesting. But the career path you get into would be substantially different between the two. So far, I'm still enjoying the software and engineering side of things. I'm pretty sure all my EE knowledge has gone to shit as well. Haven't soldered anything in years, probably couldn't solve a simple circuit or calculate a FFT. =) Don't know if I answered anything here.
Dave Xiang Haha, I believe you answered the question fairly well. I came across your channel from Engineering Truth, and I believe he stated you were a dual major in both EE and CS, so I was personally interested in your take on things individually. I'm currently in the middle of my sophomore year as an EE, but I am considering changing my major to CS or CE if I transfer. Could you perhaps broadly go over how a CS, CE, and EE would approach a particular application and how their roles would likely differ as well as interrelate with each other in a video? Also, though I am pretty well aware of them already, maybe another thing you could add is the various types of jobs and opportunities between each major and how they differ. Anyways, great channel and thanks for the reply!
Roles are a generic term, almost like "inheritance". So there is no "role" explicitly in ruby. Each language has constructs to implement the idea of roles. I think Ruby you can use modules, C++ you can use abstract classes, Objective C you can use protocols.
You should have finished with an OO Design Principle: "Favor composition over inheritance"
+FFSultrAslan I will update vote this and hope it gets to the top because that is an important point. Thank you
You are better than my professor!
What is the equivalent of roles in ruby? Thanks!
I'm new to your channel but I'm finding your videos really helpful- I appreciate you explaining concepts in depth rather than just glossing over them. It makes me feel like I have a better idea of what I'm actually doing when I code- Thanks!
Bruh!!! I'm current going to university for CS and have been struggling to understand object oriented programming. This is by far one of the best explanations of OOP that I have seen yet, thanks very much!!!
Like the music in the background. Good job man and keep up!
I love the cat reference. Now i'll be picturing cats washing dishes.
You too take care man, thank you. I hope to someday reach your skill level.
Fantastic Explanation, Great, Keep it up .
I'm a civil engineer student working in hydroinformatics and this type of videos help a lot thanks!
Hi Dave. I'm having trouble to understand some OO terms: class, object, instance, method. Could u elaborate these terms or make further video about OO with your excellent simplified explanation? Much appreciate.
Thank you a lot! Your way to explain OOP helps me termendous to understand OOP beter. god bless you.
So, integers are inheritance (an Integer is a number). A method or an array is a composition (A method composes of different statements, inheritances etc while an array composes of several different numbers). A "System.out.println()" is a role(It behaves like a printer), or a multiplier operator (A multiplier operator behaves like a calculator). Am i right?
Great job, keep up the work
Great teachings O wise One!! Thanx.
thanks for the video fam , i sure would love to watch you doing some python . or tkinter tutorials have you considered doing that ?
awesome! is functional programming next?
You missed the first most important part, objects are a collection of properties and actions on those properties.
Just in time for me to start my Java class, cheers!
Yours videos are always on point
IS A DISHWASHER A MACHINE OR A PERSON ??
Thanks Dave!
thank you so much .very well explained.
hey David nice video. Did you take A.P computer science in high school?
Thanks.
+Jared Lewis For sure
Good job!
Thanks for the video , nice analogy :) ;
Easy to understand explanation
Thanks Dude,please make an explanation video about CLASS in PHP. and smth more about OOP. thanks to your style of making videos it is easier to learn,background songs,short videos,and active way of speaking.
Let's say that the things you mentioned in the video refers back to Java right. I get inheritance and you enlightened me with the composition, but are roles like.. interfaces? The fact that my class can inherit a parent class but have many "roles" such as implementing many interfaces? or am i just lacking in knowledge? Let me know what you think Dave.
you're right. interfaces can give "roles" to certain classes
Java and C are mostly used. Can you compare these two?
This is awesome, so is it basically like giving something human characteristics? Well, not exactly human but... We are assigning programs characteristics?
Love the explanation :D
It's awesome.
Thanks.
what are those called in python?
'Behaves like a' relationship explains Interfaces ?
Thanks. simple.
Thanks. .you are a great teacher! !! :-)
A cat can dish wash but not a baby because it has short hands.
That logic :)
Sorry if this is a stupid question, but what are you more interested in personally, EE or CS?
+BOSSDONMAN That's not a stupid question at all. Where I went to school, EE was mixed with CE a lot and I leaned more towards the computer side. EE was cool, but a lot of analog circuits, DSP classes, etc. I just didn't have an affinity towards. I'm also nowhere close to being a real Computer Scientist. My first job was as an embedded developer, then I guess one thing led to another and I just started getting into software and software engineering.
I can't judge those two as majors, I think they're both interesting. But the career path you get into would be substantially different between the two. So far, I'm still enjoying the software and engineering side of things.
I'm pretty sure all my EE knowledge has gone to shit as well. Haven't soldered anything in years, probably couldn't solve a simple circuit or calculate a FFT. =)
Don't know if I answered anything here.
Dave Xiang Haha, I believe you answered the question fairly well. I came across your channel from Engineering Truth, and I believe he stated you were a dual major in both EE and CS, so I was personally interested in your take on things individually. I'm currently in the middle of my sophomore year as an EE, but I am considering changing my major to CS or CE if I transfer. Could you perhaps broadly go over how a CS, CE, and EE would approach a particular application and how their roles would likely differ as well as interrelate with each other in a video? Also, though I am pretty well aware of them already, maybe another thing you could add is the various types of jobs and opportunities between each major and how they differ.
Anyways, great channel and thanks for the reply!
Great video, however the music is a bit too loud.
+Dave Xiang what are roles called in ruby?
Roles are a generic term, almost like "inheritance". So there is no "role" explicitly in ruby. Each language has constructs to implement the idea of roles. I think Ruby you can use modules, C++ you can use abstract classes, Objective C you can use protocols.
It sounds that "is a" is more like "(new A()) is an A".
I don't know why but OOP seems so much simpler than everything else :P
Wish I saw this when I was using OOP in my TP -.-
He is talking about class right?
I never understood why people wear hats inside the house