Accessors, byLine, input ranges

Michel Fortin michel.fortin at michelf.com
Fri Jan 29 08:27:55 PST 2010


On 2010-01-29 11:19:32 -0500, Andrei Alexandrescu 
<SeeWebsiteForEmail at erdani.org> said:

> That's an implementation problem of byLine, not a issue with the byLine name.

Ok, so if you agree that 'byLine' eating a line on creation is a bug, 
that means you don't expect 'byLine' to eat a line. That makes 'byLine' 
a property since calling the accessor doesn't (theoretically) modify 
the underlying object, it just provides access to an aspect of that 
object.

Now it seems Steven and I both agree that it's a property.

-- 
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/




More information about the Digitalmars-d mailing list