www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - [OT] Humorous error messages

reply "Mathias Bierschenk" <Mathias.Bierschenk web.de> writes:
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
Jan 13 2005
next sibling parent reply Paul Bonser <misterpib gmail.com> writes:
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
Jan 13 2005
parent Tijn <t.w.g.schuurmans student.tue.nl> writes:
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
Jan 14 2005
prev sibling parent reply "Simon Buchan" <buchan.home ihug.co.nz> writes:
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/
Jan 13 2005
parent reply Gold Dragon <dragonwing dragonu.net> writes:
 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.
Jan 17 2005
parent Sebastian Beschke <s.beschke gmx.de> writes:
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
Jan 22 2005