RSS

Archive for the ‘OOP’ Category

January 4th, 2011 - 10:11 AM § in Information, OOP

Professional Actionscript

I’m currently in the midst of working on a new book title revealing the ins and outs of the Object Oriented process of thought for ActionScript 3.0. Stay tuned for more updates.[...]

March 27th, 2010 - 8:45 PM § in Basics

Linked Lists

The very basic data structure behind queues, stacks or even trees[...]

February 16th, 2010 - 8:30 PM § in Design Patterns

The Bezier derivative

p1*(1-t)*(1-t)+2*pc*(1-t)*t+p2*t*t; where p1 represents beginning point  p2 represents end point  pc represents control point, and t represents time.[...]

February 7th, 2010 - 5:07 PM § in Principles

Polymorphism

Literally translated into many faces, this word is a crucial strategy for creating flexible and scalable code. Polymorphism is not something you build into your classes but rather an idea to build your classes around which is what makes it so powerful. Making something polymorphic is as simple as ad[...]

February 7th, 2010 - 9:59 AM § in Principles

Encapsulation

Encapsulation is the process of masking specific methods and properties within a class to prevent any other classes from having to be concerned with what they should not know about such as the implementations of a method or the retrieval of a property. KEY FEATURES:* 1. Implementation hiding-not jus[...]

February 7th, 2010 - 9:56 AM § in Principles

Implementation hiding-not just information hiding

The idea behind any class, is to give the class only what it needs/requires to give it the ability to function as the actual object is intended. A simple example of this would be if I were to create a class Jaguar. I first ask myself, what makes up a real world jaguar, and then [...][...]

February 7th, 2010 - 9:55 AM § in Principles

Segregate Change

Change is the star and needs to be treated as the Diva it is[...]

February 7th, 2010 - 9:14 AM § in Principles

Abstraction

Abstraction by definition in a nutshell means vague. Consider an abstract class to have just enough to get a point across yet absent of specifics and details giving the abstraction a much larger group to make up of similar items and represent a common thing. Let’s use the example: the Guitar. [...]