From wbarnum at elmhurst205.org Sat Jul 20 12:22:26 2024 From: wbarnum at elmhurst205.org (Barnum, William) Date: Sat, 20 Jul 2024 11:22:26 -0500 Subject: alice-teacher Primitive and Object Types Message-ID: 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 -- This e-mail message contains information that may be?confidential and is the property of the Board of Education of Elmhurst Community Unit School District 205.? It is intended only for the person(s) to whom it is addressed.? If you are not the intended recipient of this message, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof.? If you have received this message in error, please notify the sender immediately and delete all copies of this message.? Any communication sent or received by District 205 is a public record and may be subject to inspection or copying under the Illinois Freedom of Information Act (FOIA). -------------- next part -------------- An HTML attachment was scrubbed... URL: From dslater at andrew.cmu.edu Mon Jul 22 14:01:06 2024 From: dslater at andrew.cmu.edu (Donald Slater) Date: Mon, 22 Jul 2024 14:01:06 -0400 Subject: alice-teacher Primitive and Object Types In-Reply-To: References: Message-ID: <74F1F43E-F5F9-49A1-8E24-AC5C88EC1454@andrew.cmu.edu> There are no primitive types in Alice. Alice uses the Java Wrapper classes so that all values are objects. Alice also uses synonyms, hopefully more descriptive, names for these wrapper classes, as in WholeNumber -> Integer DecimalNUmber -> Double TextString -> String Although it does not come up frequently, if I understand your question correctly, objects created in Scene mode are referred to as objects ?managed by the scene editor? and objects created in code are referred to as ?unmanaged" properties and variables. These properties and variables are not just the wrapper types, but also Gallery Models and other objects available in the Alice System (events, etc.) Let me know if you have any other questions. All the best, Don Slater For the Alice Project > On Jul 20, 2024, at 12:22?PM, Barnum, William via alice-teachers wrote: > > 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 > > This e-mail message contains information that may be confidential and is the property of the Board of Education of Elmhurst Community Unit School District 205. It is intended only for the person(s) to whom it is addressed. If you are not the intended recipient of this message, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you have received this message in error, please notify the sender immediately and delete all copies of this message. Any communication sent or received by District 205 is a public record and may be subject to inspection or copying under the Illinois Freedom of Information Act (FOIA). _______________________________________________ > alice-teachers mailing list > alice-teachers at lists.andrew.cmu.edu > To change settings or unsubscribe visit: > https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers -------------- next part -------------- An HTML attachment was scrubbed... URL: From vanderhyde at sxu.edu Mon Jul 22 11:40:34 2024 From: vanderhyde at sxu.edu (Vanderhyde, James) Date: Mon, 22 Jul 2024 15:40:34 +0000 Subject: alice-teacher Primitive and Object Types In-Reply-To: References: Message-ID: 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: From wbarnum at elmhurst205.org Fri Jul 26 17:34:00 2024 From: wbarnum at elmhurst205.org (Barnum, William) Date: Fri, 26 Jul 2024 16:34:00 -0500 Subject: alice-teacher Primitive and Object Types In-Reply-To: References: Message-ID: James, You are right that it probably does not matter to Alice users. Bill On Tue, Jul 23, 2024 at 12:28?PM Vanderhyde, James wrote: > 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 > > _______________________________________________ > alice-teachers mailing list > alice-teachers at lists.andrew.cmu.edu > To change settings or unsubscribe visit: > https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers -- This e-mail message contains information that may be?confidential and is the property of the Board of Education of Elmhurst Community Unit School District 205.? It is intended only for the person(s) to whom it is addressed.? If you are not the intended recipient of this message, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof.? If you have received this message in error, please notify the sender immediately and delete all copies of this message.? Any communication sent or received by District 205 is a public record and may be subject to inspection or copying under the Illinois Freedom of Information Act (FOIA). -------------- next part -------------- An HTML attachment was scrubbed... URL: