Article of interest: Python pros/cons for the enterprise
Marc 'BlackJack' Rintsch
bj_666 at gmx.net
Tue Feb 26 09:27:47 EST 2008
On Tue, 26 Feb 2008 05:23:11 -0800, Nicola Musatti wrote:
> At least in C++ resource management only becomes more complicated if you
> need more control.
I think this is the point where so many people here disagree. I'm coming
from a "garbage collection" background in OOP programming. In C++
resource management becomes instantly more complicated because I have to
think about memory management and must actively manage it in *every case*.
Writing code in a RAII style and using smart pointer templates is a cost
for me. A cost that's quite high, because it feels completely wrong to
have to think about it and to write in that "value style", because that
goes against my expectations/picture of OOP -- a graph of
independent/loosely coupled objects communicating with each other. In
this sense C++ looks like a quite crippled and fragile OOP language to me.
Ciao,
Marc 'BlackJack' Rintsch
More information about the Python-list
mailing list