POV-Ray : Newsgroups : povray.off-topic : Learning C# : Re: Learning C# Server Time
29 Jul 2024 04:28:33 EDT (-0400)
  Re: Learning C#  
From: Warp
Date: 30 Sep 2012 02:13:39
Message: <5067e313@news.povray.org>
Darren New <dne### [at] sanrrcom> wrote:
> I prefer the Sing# method, wherein if you have a variable that needs to be 
> tracked, and you let it go out of scope without disposing it, the code 
> doesn't compile.

Why? Since the compiler can track when the object goes out of scope, it
can just as easily automatically add the destructor call. Why burden the
programmer with that task? It doesn't make any sense.

-- 
                                                          - Warp


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.