RE: Integer & String vs Number & Text
"Kelleher, Kevin" <[email protected]> Fri, 18 May 2012 12:17:51 -0400
| Newsgroups | gmane.comp.lang.io |
|---|---|
| Message-ID | <86C0AFCD4D4A3441AB65AEEF450E80842E5C3B68@CAMCLSEXC01.camelot.local> |
I agree that Number and Text are more intuitive, and they do have the advantage of deferring the discussion of types of numbers and how sequences of alphanumerics are represented... but I'd add that Expressions are even more fundamental, and make it possible to discuss things like the difference between "4" and 4 and "move" and move, and so on. Just that can give enough material to talk about differences between programming languages, keywords, syntax, evaluation, ... Kevin From: [email protected] [mailto:[email protected]] On Behalf Of Kurtis Rainbolt-Greene Sent: Wednesday, May 16, 2012 5:11 PM To: [email protected] Subject: [Io] Integer & String vs Number & Text Normally in Programming a numeric entity is called an Integer (when it's not a Float, or similar complex number) and a series of characters is called a String. As a teacher of programming I often find myself explaining what String and Integer are. They're not normally used words outside of programming, math, or other complex scientific domains. I've found, if a bit controversial, it much easier to call them by their more used synonyms: Number & Text. People have a easier time grasping onto that. Thoughts? This message (including any attachments) is intended only for the use of the individual or entity to which it is addressed and may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, notify us immediately by telephone and (i) destroy this message if a facsimile or (ii) delete this message immediately if this is an electronic communication. Thank you.
image001.jpg
(image/jpeg, 359 B) - not displayed
image002.jpg
(image/jpeg, 332 B) - not displayed