• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Programming Fundamentals

ActionScript is an object-oriented programming language. Object-oriented programming, or OOP for short, is one of those big, nasty terms you hear hardcore code geeks throwing around all the time. Consequently, to noncoders, it sounds like OOP is some scary, complicated topic beyond their comprehension. That couldn’t be further from the truth! OOP is what is known as a programming methodology, which basically means it’s a way to think about, and design solutions for, programming-based problems.

Programming Methodologies

It turns out that there are two main programming methodologies, procedural programming and object-oriented programming. Most of the “classic” programming languages such as Fortran, Pascal, and C, are based on the procedural method. This means that those languages attack problems in a step-by-step manner. They do task A first, then task B, and finally, they do task C. In procedural languages, if you have a bit of code that you use a great deal, you can place that bit of code into a function. Functions are just small packets of reusable code. Functions don’t actually do anything until you call them. When you call a function, you can pass information or values into it by using parameters or arguments. A function accepts certain parameters and then spits out a result based on those parameters.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint