On Sun, 1 Jul 2018 18:41:45 +0000 (UTC)
Martin Gregorie wrote:
> On Sun, 01 Jul 2018 15:43:46 +0100, Ahem A Rivet's Shot wrote:
>
> > Oh yes and C++ is a godawful mess of a language as a direct
> > result of trying to be C with objects and winding up neither fish nor
> > fowl. Templating did nothing to make it less of a mess IMHO.
> >
> Couldn't agree more - especially as the majority of the C++ I've looked
> at didn't have a single object or class declaration in sight: it was
> nothing but C with // comments and using cin/cout/cerr in place of stdin/
> stdout/stderr.
The second worst way to use C++, the worst is when you mix objects
and iterators with structs and pointers in the same code.
> > I wish D had caught on.
> >
> Never seen it, but I way back in the late 70s I had more than a slight
It's C extended to an OO language *without* any attempt at being
backwards compatible. It can be about an order of magnitude more readable
than good C++ IMHO.
> acquaintance with Algol 68 - actually Algol68R run on the George 3 OS -
> which I really liked as a concise and expressive language. Not OO but
I met Algol 68C at Cambridge, it had a lot going for it but I
actually preferred writing in BCPL. I doubt that would be true now, I've
lost my taste for making my own nuts and bolts before designing a car.
> with several of the OO concepts (operator overloading, mode extensions)
> very nicely implemented.
Indeed.
--
Steve O'Hara-Smith | Directable Mirror Arrays
C:\>WIN | A better way to focus the sun
The computer obeys and wins. | licences available see
You lose and Bill collects. | http://www.sohara.org/
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|