[TUHS] early cc variable and function names
Larry McVoy
lm at mcvoy.com
Fri Oct 17 13:54:36 AEST 2014
So I've been doing C programming since the early 80's and leading
people doing that for at least 20 years, huh, more like 25 years.
As much as I wish people did what you suggest, they don't. And I
mean really good people, top 1%.
So I like the type_name style.
As with many things, I may like it but I don't always get it.
On Thu, Oct 16, 2014 at 11:46:18PM -0400, John Cowan 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 at 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
--
---
Larry McVoy lm at mcvoy.com http://www.mcvoy.com/lm
More information about the TUHS
mailing list