POV-Ray : Newsgroups : povray.off-topic : new C# stuff : Re: new C# stuff Server Time
6 Sep 2024 15:22:09 EDT (-0400)
  Re: new C# stuff  
From: Fredrik Eriksson
Date: 21 Jan 2009 18:30:51
Message: <op.un4rlorm7bxctx@e6600.bredbandsbolaget.se>
On Wed, 21 Jan 2009 21:17:56 +0100, Darren New <dne### [at] sanrrcom> wrote:
>
> You always could do it in Smalltalk, just like you do in Ruby. One  
> advantage C# has is that you're not *actually* changing the string  
> class; it's just syntactic sugar. It's more like a C++ friend, except  
> with method/object syntax.

It is nothing like 'friend' in C++. As I understand it, extensions only  
have access to the public interface of the extended class. Semantically,  
they seem much more like ordinary free functions in C++.


-- 
FE


Post a reply to this message

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