alice-teacher Primitive and Object Types
Vanderhyde, James
vanderhyde at sxu.edu
Mon Jul 22 11:40:34 EDT 2024
Bill, that is an interesting question. When I teach with Alice, I barely use any variables at all. Method parameters and object properties are sufficient for most purposes. Whether these are references or values never seems to come up.
What difference does it make to Alice users whether a type is primitive or not?
James
—
James Vanderhyde
Associate Professor
Computer Science
Saint Xavier University
3700 W. 103rd St.
Chicago, IL 60655
773-298-3454
vanderhyde at sxu.edu
sxu.edu
Are there any primitive types in Alice (e.g., int or boolean in Java), or is everything an object type?
Is there any different vocabulary when discussing object types that are initialized in code (e.g., WholeNumber or TextString) versus object types that are created in the Scene Mode (e.g., Bear or Eagle)?
Thanks,
Bill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/alice-teachers/attachments/20240722/691f75f8/attachment.html>
More information about the alice-teachers
mailing list