Some of the
information in the next chapter reevaluates areas you have already covered, but all of it will be new
and challenging.
??‘
??‘
??‘
??‘
??‘
??‘
??‘
Controlling the Flow of
Information
Moving on from types and data manipulation brings you to how your data will flow in your
applications. haXe supports a very rich array of functionality, which has been borrowed from the
ML family of functional languages and tightly wrapped around the now ubiquitous
object - oriented coding conventions. You will look at some of these practices in this chapter,
including:
Conditional statements
Loops
Iterators and collections in loops
Functions and local functions
The haXe Lambda class
Pushing Data Around
It ??™ s all very well having nicely labeled cubby holes to put your data, but you ??™ re likely to want to
apply various processes to that data so that it facilitates some form of utility. Doubtlessly, you will
already be able to implement certain functionality into your haXe applications utilizing your own
experiences with other object - oriented languages, as many languages following the European
Computer Manufacturers Association (ECMA) standard provide a very similar pattern of
employment.
Pages:
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177