[codecraft] Classes and Capitals - how come English and OO are opposites?
philipdurbin at gmail.com
Sat Jul 25 09:45:34 EDT 2015
If two year olds could code this would be one of their many "why" questions.
I guess I'm just used to it. Maybe you type the instance less. Such a drag
to reach for the Shift key.
On Jul 23, 2015 2:52 PM, "Michael Bar-Sinai" <mich.barsinai at icloud.com>
> Hello all,
> I was reading this book to my 18 month old girl. It tells the tale of a
> hungry panda, which is given a banana by a monkey, aptly named "Monkey".
> Animal altruism aside - seems that capitalization conventions in coding are
> the exact opposite of English:
> Java: Monkey monkey ==> "Monkey" is a class, "monkey" is the instance
> English: Monkey is a monkey ==> "Monkey" is the specimen, "monkey" is the
> Any idea why? Do native speakers find this confusing when they learn
> -- Michael
> codecraft mailing list
> codecraft at or8.net
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the codecraft