POV-Ray : Newsgroups : povray.off-topic : Coding in ___ is like ___ : Re: Coding in ___ is like ___ Server Time
4 Sep 2024 11:22:49 EDT (-0400)
  Re: Coding in ___ is like ___  
From: Warp
Date: 25 Feb 2010 18:21:16
Message: <4b8705ec@news.povray.org>
Darren New <dne### [at] sanrrcom> wrote:
> I was actually pretty impressed by the C# IDE from MS. I wrote

> void do_it(int a, int b, int c = 0) { ... }

> and the error message wasn't ") or , expected" or "syntax error", but rather 
> a pointer to the = and the message "C# does not support default arguments."

  But is that kind of message the rule or the exception?

  And it's not like gcc didn't have similar-sounding error messages:

error: ISO C++ forbids declaration of 'x' with no type

-- 
                                                          - Warp


Post a reply to this message

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