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

Chapter 2. Strong Typing

Chapter 2. Strong Typing

DO OR DIE

  • Set what kind of value a variable can accept: string, number, array, and so on.

  • Throw an error if the wrong data tries to get in.

If you're from the scripting (JavaScript or ActionScript) world, you may not even know what a data type is or why you should care about one. Truthfully, you don't have to, but it'll help you become a better (or at least more thorough) programmer.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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