POV-Ray : Newsgroups : povray.off-topic : Unit Testing question : Re: Unit Testing question Server Time
30 Jul 2024 00:17:52 EDT (-0400)
  Re: Unit Testing question  
From: Darren New
Date: 10 Jun 2011 14:20:21
Message: <4df26065$1@news.povray.org>
On 6/10/2011 9:27, Warp wrote:
>    And some people criticize C++ because it supports operator overloading,

I admit, I lolled.

However, I think it's better to go way over the top than (say) to support 
operator overloading without supporting literal overloading. The ability to 
define "*" on complex numbers without the ability to write complex numbers 
inline is understandable but feels kludgey to me.

(Yes, I know for a great many types you can essentially write them inline in 
C++. I'm not necessarily talking about C++.)

-- 
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.