From mboxrd@z Thu Jan 1 00:00:00 1970 From: clemc@ccc.com (Clem Cole) Date: Fri, 17 Oct 2014 15:41:17 -0400 Subject: [TUHS] early cc variable and function names In-Reply-To: <20141017034618.GJ17227@mercury.ccil.org> References: <20141017022913.7A77818C092@mercury.lcs.mit.edu> <20141017024049.GI17227@mercury.ccil.org> <20141017025242.GH6963@mcvoy.com> <20141017034618.GJ17227@mercury.ccil.org> Message-ID: 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 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 > _______________________________________________ > TUHS mailing list > TUHS at minnie.tuhs.org > https://minnie.tuhs.org/mailman/listinfo/tuhs > -------------- next part -------------- An HTML attachment was scrubbed... URL: