Christopher Smith wrote:
It sure is a lot uglier than the C++ equivalent,

And it's not as reliable, either, for that matter. If the finalization throws, for example, you can wind up with problems.

C# is mildly better with it's "using" keyword, which is essentially a more generalized version of Java does with synchronization primitives.

And also not reliable if the constructor throws..

--
  Darren New / San Diego, CA, USA (PST)
    His kernel fu is strong.
    He studied at the Shao Linux Temple.

--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg

Reply via email to