[Grace-core] [A Graceful Blog] Comment: "From Lancaster to Portland"

James Noble kjx at ecs.vuw.ac.nz
Mon Sep 26 12:43:50 PDT 2011


> My "naming alarm" has just gone off.
> 
> Surely, the type that permits any object should be called "Any", not None!

yep, you're right of course. 

> Remember, we have to be able to explain this stuff to students.  If I were  novice student, I would be very confused to find out that a type called None would accept anything.

which is why "Null" or "Nil" is probably a better name for this distinguished sentinel object than null

James


More information about the Grace-core mailing list