Prev | Current Page 83 | Next

L. McColl-Sylvester and F. Ponticelli

"Professional haXe and Neko"

haXe doesn ??™ t support this kind of restricted access to
variable data, though it can help to apply this artificially by specifying a certain variable naming
convention that is discernible by other developers working on your project. Normally, there are set
naming conventions for keywords and objects in haXe that force your code to be more readable, and it is
expected by the haXe naming conventions for you to name your variables by starting them with a
lowercase letter, or in some circumstances, an underscore character. When you deal with constant values,
however, it often pays to forgo this convention and provide all uppercase letters, though you are free to
adopt your own system.
The Simple Value Types
The standard data types can be further broken down into two groups: simple types and abstract
types. The simple types, which are examined in detail now, consist of Float s, Int egers, String s and
Bool eans. As you can see, the simple types represent associated literal values. The abstract types consist
of Dynamic and Void , and represent unknown quantities.


Pages:
71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95