[147436] in cryptography@c2.net mail archive

home help back first fref pref prev next nref lref last post

Re: [Cryptography] encoding formats should not be committee'ized

daemon@ATHENA.MIT.EDU (James A. Donald)
Tue Oct 1 23:08:13 2013

X-Original-To: cryptography@metzdowd.com
Date: Wed, 02 Oct 2013 07:16:28 +1000
From: "James A. Donald" <jamesd@echeque.com>
To: Jerry Leichter <leichter@lrw.com>
In-Reply-To: <F5A40855-7924-4BB3-9D12-EA9FD75D0E1C@lrw.com>
Cc: "Salz, Rich" <rsalz@akamai.com>,
	"cryptography@metzdowd.com" <cryptography@metzdowd.com>
Reply-To: jamesd@echeque.com
Errors-To: cryptography-bounces+crypto.discuss=bloom-picayune.mit.edu@metzdowd.com

On 2013-10-02 05:18, Jerry Leichter wrote:
> To be blunt, you have no idea what you're talking about. I worked at 
> Google until a short time ago; Ben Laurie still does. Both of us have 
> written, submitted, and reviewed substantial amounts of code in the 
> Google code base. Do you really want to continue to argue with us 
> about what the Google Style Guide is actually understood within Google?

The google style guide, among other things, prohibits multiple direct 
inheritance and operator overloading, except where stl makes you do 
operator overloading.

Thus it certainly prohibits too-clever code.  The only debatable 
question is whether protobufs, and much of the rest of the old codebase, 
is too-clever code - and it certainly a lot more clever than operator 
overloading.

Such prohibitions also would prohibit the standard template library, 
except that that is also grandfathered in, and prohibits atl and wtl.

The style guide is designed for an average and typical programmer who is 
not as smart as the early google programmers.   If you prohibit anything 
like wtl, you prohibit the best.

Prohibiting programmers from using multiple inheritance is like the BBC 
prohibiting the world "literally" instead of mandating that it be used 
correctly.  It implies that the BBC does not trust its speakers to 
understand the correct use of literally, and google does not trust its 
programmers to understand the correct use of multiple direct inheritance.


_______________________________________________
The cryptography mailing list
cryptography@metzdowd.com
http://www.metzdowd.com/mailman/listinfo/cryptography

home help back first fref pref prev next nref lref last post