OOP
There are 7 entries for the tag
OOP
I got probably the biggest compliment I've ever received regarding my coding ability the other day in the form of a twitter entry (a "tweet"...I guess...is the word. /puke) by my junior programmer and right hand man boy, that (aka Doug, bct). good api's make things easy. sweet api's are self explanitory, imo. i got to work with a sweet one today. thx scott. He was talking about the internal library I created for working with Word documents, part of which I published for a series of blog posts a couple of months ago. I bring this up not...
This post is part of a series aimed at bringing people up to speed in what’s going on today in application development.
Finally, the fourth pillar, Abstraction. Abstraction is the principle of reducing complexity by hiding the details when possible. Abstraction takes many forms in practice (hey, it’s polymorphic!). In one sense, Abstraction is very much a part of Encapsulation, in that you are hiding the dirty details of the implementation and encapsulating it in a pretty API. In another sense, Abstraction is closely related to Polymorphism, in that if you have a SportsCar, you could treat it abstractly as...
This post is part of a series aimed at bringing people up to speed in what’s going on today in application development.
Let’s move to Polymorphism. Polymorphism is the one that always gave me trouble when I was learning OOP because it sounds a hell of a lot more complicated than it is at root, but also because there is just so much to polymorphism once you get deeper and deeper into OOP. At root, polymorphism means that one thing can have many shapes (or, in World of Warcraft, Polymorph is where a mage turns you into a sheep). From...
This post is part of a series aimed at bringing people up to speed in what’s going on today in application development.
Time for Inheritance. Inheritance is pretty much the thing that makes OOP so interesting and can make OO designs wicked complicated, because once you know what inheritance is, you want to do it all the time. (inheritance is like sex?) From Wikipedia:
a mechanism for creating subclasses, inheritance provides a way to define a (sub)class as a specialization or subtype or extension of a more general class (as Dog is a subclass of Canidae); a subclass acquires all...
This post is part of a series aimed at bringing people up to speed in what’s going on today in application development.
What I want to do here is talk about the basic principles of OOP that you should be aware of. I’m not trying to teach you everything you need to know, but I want to give you my interpretation, a basic understanding, and some pointers to more information that you should use to further your knowledge. This was supposed to be a single post but it grew beyond 10 pages and so I figured I’d break it up into...
This post is part of a series aimed at bringing people up to speed in what’s going on today in application development.
In this post I just want to talk about some basic terminology that may be confusing if you are new to programming, or particularly if you are new to object-oriented programming. When I first was getting into more advanced programming from my early VB days I didn’t know a lot of this stuff, and I had to learn a lot of it as I went, and do a lot of reading as well. This was before blogs and wikipedia,...
I am going to attempt to put together a series of posts as kind of a Readers Digest version of what’s going on in software development today. A little story about what brought this on:
My buddy is looking for a job. He is a very sharp guy, extremely talented programmer. I’ve worked with him twice and would gladly do it again because he’s exactly what you want in a developer. He’s smart, talented at finding solutions to problems, tenacious, and motivated. He gets excited about code. To me, a guy like that is way more valuable than a coder who...