Larry - AMEN.

The key is that in the old days it was much easier to glance and code and know which struct or union was being examined.  Today, that context is lost and I have to think more about what the type of the ptr is.   Yes the >>compiler<< knows, but I as the random programmer reading the code later do not.

Larry and my experiences with very, very good programmers is the same.

Clem

On Thu, Oct 16, 2014 at 11:46 PM, John Cowan <cowan@mercury.ccil.org> wrote:
Larry McVoy scripsit:

> xyz.size
> abc.size
> foobar.size
>
> What are the types of those structures?

You can't tell because the names are meaningless.  With more meaningful
names, it's usually possible to see what the type must be.

--
John Cowan          http://www.ccil.org/~cowan        cowan@ccil.org
I don't know half of you half as well as I should like, and I like less
than half of you half as well as you deserve.  --Bilbo
_______________________________________________
TUHS mailing list
TUHS@minnie.tuhs.org
https://minnie.tuhs.org/mailman/listinfo/tuhs