On Wednesday, 17 September 2014 at 12:05:58 UTC, Ola Fosheim
Grøstad wrote:
On Wednesday, 17 September 2014 at 09:21:13 UTC, eles wrote:
"
These are some notes I have on C++'s operator new. Basically,
I find its syntax downright hateful, and really wish the
language had dealt more cleanly with allocation and
construction.
FWIW, Simula had "new". C++ is B.S.' attempt to marry C with
Simula. It's not "designed", but more like "translated", then
mutilated a posteriori… Hence the hodgepodge syntax (and
semantics).
Bjarne's book about C++ design and evolution is quite good to
understand how C's compatibility and other issues drove C++
design.
--
Paulo