[147480] 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)
Thu Oct 3 09:48:20 2013

X-Original-To: cryptography@metzdowd.com
Date: Thu, 03 Oct 2013 17:50:44 +1000
From: "James A. Donald" <jamesd@echeque.com>
To: Phillip Hallam-Baker <hallam@gmail.com>
In-Reply-To: <CAMm+LwidbKnvbk9fXj8uW7iM4ekvOWSO_6-9y48-amwcvRwd6Q@mail.gmail.com>
Cc: Jerry Leichter <leichter@lrw.com>, "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

This is a multi-part message in MIME format.
--===============8229799936703746186==
Content-Type: multipart/alternative;
 boundary="------------080400060105020408040200"

This is a multi-part message in MIME format.
--------------080400060105020408040200
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

On 2013-10-02 23:09, Phillip Hallam-Baker wrote:
>
> No, the reason for baring multiple inheritance is not that it is too 
> clever, it is that studies have shown that code using multiple 
> inheritance is much harder for other people to understand than code 
> using single inheritance.�

That is because of the class of problems for which it is appropriate to 
use multiple inheritance.

>
> The original reason multiple inheritance was added to C was to support 
> collections.

Was it?   And regardless of whether that was the reason, not what it is 
used for today.

> So I can't see where C++ is helping. It is reducing, not improving my 
> productivity.

C++ greatly improves my productivity, in particular the memory 
management classes std::unique_ptr and std::shared_ptr, though if using 
them means you have to use std::weak_ptr, then one has to pause and think.




--------------080400060105020408040200
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 2013-10-02 23:09, Phillip
      Hallam-Baker wrote:<br>
    </div>
    <blockquote
cite="mid:CAMm+LwidbKnvbk9fXj8uW7iM4ekvOWSO_6-9y48-amwcvRwd6Q@mail.gmail.com"
      type="cite">
      <meta http-equiv="Context-Type" content="text/html;
        charset=ISO-8859-1">
      <div dir="ltr"><br>
        <div>No, the reason for baring multiple inheritance is not that
          it is too clever, it is that studies have shown that code
          using multiple inheritance is much harder for other people to
          understand than code using single inheritance.�</div>
      </div>
    </blockquote>
    <br>
    That is because of the class of problems for which it is appropriate
    to use multiple inheritance.<br>
    <br>
    <blockquote
cite="mid:CAMm+LwidbKnvbk9fXj8uW7iM4ekvOWSO_6-9y48-amwcvRwd6Q@mail.gmail.com"
      type="cite">
      <div dir="ltr"><br>
        <div>The original reason multiple inheritance was added to C was
          to support collections. </div>
      </div>
    </blockquote>
    <br>
    Was it?   And regardless of whether that was the reason, not what it
    is used for today.<br>
    <br>
    <blockquote
cite="mid:CAMm+LwidbKnvbk9fXj8uW7iM4ekvOWSO_6-9y48-amwcvRwd6Q@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div> So I can't see where C++ is helping. It is reducing, not
          improving my productivity.</div>
      </div>
    </blockquote>
    <br>
    C++ greatly improves my productivity, in particular the memory
    management classes std::unique_ptr and std::shared_ptr, though if
    using them means you have to use std::weak_ptr, then one has to
    pause and think.<br>
    <br>
    <br>
    <br>
  </body>
</html>

--------------080400060105020408040200--

--===============8229799936703746186==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

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