[codecraft] Classes and Capitals - how come English and OO are opposites?
Philip Durbin
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>
wrote:
> 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
> species.
>
> Any idea why? Do native speakers find this confusing when they learn
> coding?
>
> -- Michael
> _______________________________________________
> codecraft mailing list
> codecraft at or8.net
> http://or8.net/mailman/listinfo/codecraft
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://or8.net/pipermail/codecraft/attachments/20150725/293b17d7/attachment-0001.html>
More information about the codecraft
mailing list