POV-Ray : Newsgroups : povray.off-topic : Computer language quirks : Re: Computer language quirks Server Time
30 Jul 2024 02:14:40 EDT (-0400)
  Re: Computer language quirks  
From: Darren New
Date: 11 May 2011 19:19:36
Message: <4dcb1988@news.povray.org>
On 5/11/2011 13:27, Warp wrote:
>    C# isn't C++...

I know that. I'm just saying that I was surprised it worked in C++ because 
everything I've ever read except the standard implies it shouldn't. Every 
tutorial etc etc etc says "You can't put a value after a return in a void 
function, and you have to put a value after a return in a non-void 
function."  So it surprised me this was actually not true for C++. So I 
figured I'd try specifically for C#, because maybe all the tutorials for 
*that* were wrong. :-)

-- 
Darren New, San Diego CA, USA (PST)
   "Coding without comments is like
    driving without turn signals."


Post a reply to this message

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