02Geek HTML5 and JavaScript, TypeScript, React, Flash, ActionScript online School
Previous VideoNext Video

Split Paths

Join us, as we take a deep look into OOP (Object orientated programming) and the fundamentals of how to do it.

Split Paths

There are two paths to take when learning to program: the easy way, and OOP (Object-Oriented Programming.) Sure, you can start the easy way and migrate to OOP: it's a lot harder than if you'd simply started with OOP from the outset.
Join us, as we take a deep look into OOP (Object orientated programming) and the fundamentals of how to do it.

Split Paths: Basics of Object orientated programming

Years ago I started playing guitar: never had lessons. Several years later I realized I just couldn't get better: finally I went to a guitar teacher. He told me the reason I couldn't improve (sucked, in fact) was because the way I was holding my pick had hosed the flexibility in my hand. I was devastated: I'm telling you this because at that point, I had to take a new path.

As a green programmer, you too have a choice of paths: the easy way, or object-oriented.

Today we learn the benefits of learning to first program using objects, OOP classes. It is fairly notable that programming will be harder in the beginning but will progressively become easier as you learn more and adapt to your coding. On the other hand, you can very well choose to learn coding line by line, bit by bit. This approach is relatively easier to begin with, but programming will eventually become more challenging as you move on to objects and so forth. So, in reality, it's really up to you and how much ability you possess within your learning curve. If you feel as if you are a bright learner and enjoy your work becoming increasingly more difficult as opposed to studying hard, then learn to code the easiest way first. Meanwhile if you enjoy the benefits of an easier-flowing work environment after long nights of hard studying then by all means learn OOP classes first and foremost. By the way if I could go back in time I would cry a bit more and get my mom to pay for the guitar lessons...

Split Paths Video Transcript

Video Transcript

00:01I have like a small kind of analogy to talk about.
00:06So a long time ago I started playing the guitar and I never really went to a guitar teacher
00:12and retroactively a couple of years after I started playing I realized that I just can't
00:18get any better and I wasn't really that good and I decided to go to a guitar teacher and
00:24that guitar teacher told me already in the first lesson that the reason why I can't
00:29get better is because the way I'm holding the pick is really messing up my flexibility
00:38in the end.
00:40And that was so devastating because it took me so, well to be honest I don't think I ever
00:45really recuperated from that, I'll never be a professional guitar player.
00:50And why am I saying this?
00:52Right now we're in a cross path between working in this world of object oriented programming
00:58where it is the direction it seems of the future of programming as far as we can see.
01:06And you could work and you could choose to go in that path or you could choose to work
01:10in the path, the more simple path.
01:15And it's really a choice that you need to make.
01:18And the reason why I made that analogy to the guitar is because if you choose the more
01:23simple path you could always try and move into the object oriented world and there's
01:28no reason not to.
01:30But then when you move into the object oriented world it will probably be a bit harder to
01:34move into it.
01:36Well if you choose from the beginning to start leaning to that direction it's going
01:41to be much easier than later on to integrate ideas that are object oriented.
01:47Now with that said it's definitely your choice and one of those things that are kind of
01:52like the goods and bads is if you choose the easier path right now it's going to get harder
01:59programming as time goes on as you build more sophisticated applications.
02:05Well if you choose the path of working with object oriented programming it's an approach
02:10of programming that obviously has been endorsed by Flash and endorsed by many other languages
02:17that although it has a lot of overhead, a lot more to type, a lot more things you need
02:23to think about, but by adding these complexities it kind of takes the world of programming
02:31into a world that's much more familiar to users which what is more familiar to us than
02:37objects.
02:38If it's a phone, if it's the noise that is in the background that I wish wasn't there,
02:44if it's this bottle of water that I have here, all these are objects that I could relate
02:48to more easily than just lines and lines of code obviously.
02:53So what is that, why am I saying all that?
02:56Basically if we work in an environment where we're thinking about objects, where we're thinking
03:01about grouping things up even though setting these groupings and getting used to these
03:08groupings might be a bit more hard, but if we get used to working with groups, getting
03:13used to working with objects and with things that are kind of like in our heads tangible,
03:19as we evolve as programmers, as we add more code, as we get more sophisticated, it's going
03:25to be so much easier working.

Ready to Level Up Your Skills?

Join thousands of learners on 02GEEK and start your journey to becoming a coding expert today!

Enroll Now for Free!