Ayende @ Rahien

Refunds available at head office

I call this, being optimistic

Here is a joke that only tech people will get:

image

Comments

Leon
11/06/2008 04:09 PM by
Leon

hehe, yes, that is quite optimistic. I'll certainly help achieve that goal if this is for tracking sales of NH Prof! :)

Frank Quednau
11/06/2008 04:33 PM by
Frank Quednau

Nice. Thank God they didn't use Haskell and chose the Integral type.

Panso
11/06/2008 04:50 PM by
Panso

I wish I could 'set' my sales ;)

Peter Morris
11/06/2008 04:55 PM by
Peter Morris

I like

public class Geek : Earth { };

Clearwater
11/06/2008 04:59 PM by
Clearwater

What is more, that is virtual :D

Even manipulate the get.

mendicant
11/06/2008 06:49 PM by
mendicant

I wish I could've been the first person to re-iterate the joke in the comments :)

Stephen
11/06/2008 07:49 PM by
Stephen

its probably virtual because its a biz entity being used by nhib~

(im aware thats not the point of the post)

Ivo Ramírez
11/06/2008 11:08 PM by
Ivo Ramírez

public class God {

 private God() {}

 public God Instance{

       get{ return null; }

 }

}

Will
11/07/2008 02:52 PM by
Will

The obvious optimism is in the type. Byte would be more appropriate for my sales.

Stephen
11/07/2008 03:17 PM by
Stephen

..or a bool .. hurr! ;)

Stephen
11/07/2008 04:20 PM by
Stephen

Hahaha.. I like the subtler wtf reference

Fred
11/07/2008 06:29 PM by
Fred

On the other side; just have a look at these piece of scripts written by "functionnal experts".......

First : Just to be sure ; or "just in case coding style"

if Fee.TransactionStatus_ID = 40 then

Fee.TransactionStatus_ID=40

        else

Fee.TransactionStatus_ID=10

End if

Second : Rounding issues (Get redy for the biggest laugh or your day)

NbDec =abs(NbDec)

NetValue=abs(NetValue)

Select Case NbDec

Case 0

                x =  abs(Round(NetValue,0))

Case 2

x =   abs(Round(NetValue,2))

Case 3

                 x =  abs(Round(NetValue,3))

Case 4

x =  abs(Round(NetValue,4))

Case 5

x =  abs(Round(NetValue,5))

Case  Else

x =  abs(Round(NetValue,2)) 

End Select

Bill Pierce
11/07/2008 09:51 PM by
Bill Pierce

ulong would have been funnier.

Srdjan
11/08/2008 07:44 PM by
Srdjan

This is funny!

Can I use it as interview question?

I like checking if the candidates have a sense of humor...

:)

jb
11/09/2008 02:04 AM by
jb

You can have a lot of fun with acronyms, we turned a 3 day off site design meeting (back in the day in medium design up front) into a lot of fun when we realized that our Client Resident Application Protocol was being designed, which mean that our server was going to send a lot of CRAP to our clients.

I know this wasn't in code but we had some interesting diagrams going before the project was scrapped. Guess the business folks didnt like the concept of us sending CRAP to our customers;-)

Matt
11/11/2008 08:19 PM by
Matt

Is that code from NH prof? Perhaps in the licensing module? :D

Khalid Abuhakmeh
11/12/2008 02:17 PM by
Khalid Abuhakmeh

Oh No! I'm a nerd. haha, good joke though.

Comments have been closed on this topic.