View mode: basic / threaded / horizontal-split · Log in · Help
January 13, 2005
[OT] Humorous error messages
How about some humorous error messages for DMD? Similar to those that  
Apple created for their Macintosh Programmer's Workshop:

http://www.macfreek.nl/humour/mpwc-error-messages.html

"Too many errors on one line (make fewer)"

:-)
Mathias
January 14, 2005
Re: [OT] Humorous error messages
Or the error messages could be stored in an XML file so anyone could 
write their own. :P

-Paul

p.s. this is my first post here, hopefully not my last. :) As far as I 
can tell, D is looking pretty nice for me to switch start using :)
And hopefully it doesn't matter that this is pretty off topic since this 
post was pretty off topic to begin with.

p.p.s. I can also ramble a bit sometimes, in case you didn't notice.

Mathias Bierschenk wrote:
> How about some humorous error messages for DMD? Similar to those that  
> Apple created for their Macintosh Programmer's Workshop:
> 
> http://www.macfreek.nl/humour/mpwc-error-messages.html
> 
> "Too many errors on one line (make fewer)"
> 
> :-)
> Mathias
January 14, 2005
Re: [OT] Humorous error messages
On Thu, 13 Jan 2005 18:28:00 +0100, Mathias Bierschenk  
<Mathias.Bierschenk@web.de> wrote:

> How about some humorous error messages for DMD? Similar to those that  
> Apple created for their Macintosh Programmer's Workshop:
>
> http://www.macfreek.nl/humour/mpwc-error-messages.html
>
> "Too many errors on one line (make fewer)"
>
> :-)
> Mathias

I always thought:
<code>
bit a, b; // (bool?)

if (a = b) {...}
<code>
"not a boolean result"
was pretty good myself :D

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
January 14, 2005
Re: [OT] Humorous error messages
Paul Bonser wrote:
> Or the error messages could be stored in an XML file so anyone could 
> write their own. :P
> 
> -Paul

The error messages could contain an url to the D wiki where everyone can 
make comments and place tips for others receiving this error.

Tijn

p.s. My first post too. :-D
January 17, 2005
Re: [OT] Humorous error messages
> I always thought:
> <code>
> bit a, b; // (bool?)
> 
> if (a = b) {...}
> <code>
> "not a boolean result"
> was pretty good myself :D
> 

The problem is that you need two equal signs instead of one.
January 22, 2005
Re: [OT] Humorous error messages
Gold Dragon schrieb:
>> I always thought:
>> <code>
>> bit a, b; // (bool?)
>>
>> if (a = b) {...}
>> <code>
>> "not a boolean result"
>> was pretty good myself :D
>>
> 
> The problem is that you need two equal signs instead of one.

Yeah, but the result of (a = b) is the type of a. See 
http://www.digitalmars.com/d/expression.html#AssignExpression

-Sebastian
Top | Discussion index | About this forum | D home