POV-Ray : Newsgroups : povray.off-topic : C# 4.0 Default parameters : Re: C# 4.0 Default parameters Server Time
9 Oct 2024 18:17:25 EDT (-0400)
  Re: C# 4.0 Default parameters  
From: Darren New
Date: 4 Feb 2009 12:41:38
Message: <4989d352$1@news.povray.org>
nemesis wrote:
> It's a saved stack, let's say.

Uh, no. It's an object. A stack is LIFO, for one thing.

It's a stack only in the sense that if you pass a bunch of parameters to a 
function, the function gets a pointer to where they are contiguous in memory 
when you invoke the function, not unlike invoking a member method.

> I don't like the whole OO BS.  Despite being submitted to it daily for 
> the last 20 years or so.  Functional programming and scripting too 
> opened my eyes to a much better model for software programming.

Yah. It's handy for some things, like where OO is natural. It can be 
annoying to try to squeeze functional stuff (like, say, the relational 
model) into an OO framework. Most of my code is still procedural, and most 
OO code I see (in things like web page servers etc) really doesn't need to 
be OO anyway.

-- 
   Darren New, San Diego CA, USA (PST)
   "Ouch ouch ouch!"
   "What's wrong? Noodles too hot?"
   "No, I have Chopstick Tunnel Syndrome."


Post a reply to this message

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