Why does the book specify that the construction of a new Array should be done with the "function" program component and the following syntax:
function Array new(int size)
as opposed to using the "constructor" program component?
e.g., constructor Array new(int size)
* Like Strings and other objects, it appears that you create an individual instance of an Array and then dispose of it after use for proper memory/garbage collection? That object programming is generally initiated with constructors, not functions.
However, this is the only example I've seen to the atypical use of "function" instead of "constructor" to create new objects? Is it somehow because Arrays have no field variables of their own and therefore no need to set those as part of object creation?