﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Khalid Abuhakmeh commented on I call this, being optimistic</title><description>Oh No! I'm a nerd. haha, good joke though.
</description><link>http://ayende.com/3679/i-call-this-being-optimistic#comment18</link><guid>http://ayende.com/3679/i-call-this-being-optimistic#comment18</guid><pubDate>Wed, 12 Nov 2008 14:17:36 GMT</pubDate></item><item><title>Matt commented on I call this, being optimistic</title><description>Is that code from NH prof? Perhaps in the licensing module? :D
</description><link>http://ayende.com/3679/i-call-this-being-optimistic#comment17</link><guid>http://ayende.com/3679/i-call-this-being-optimistic#comment17</guid><pubDate>Tue, 11 Nov 2008 20:19:54 GMT</pubDate></item><item><title>jb commented on I call this, being optimistic</title><description>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;-)
</description><link>http://ayende.com/3679/i-call-this-being-optimistic#comment16</link><guid>http://ayende.com/3679/i-call-this-being-optimistic#comment16</guid><pubDate>Sun, 09 Nov 2008 02:04:02 GMT</pubDate></item><item><title>Srdjan commented on I call this, being optimistic</title><description>This is funny!
  
Can I use it as interview question?
  
I like checking if the candidates have a sense of humor...
  
  
:)
</description><link>http://ayende.com/3679/i-call-this-being-optimistic#comment15</link><guid>http://ayende.com/3679/i-call-this-being-optimistic#comment15</guid><pubDate>Sat, 08 Nov 2008 19:44:23 GMT</pubDate></item><item><title>Bill Pierce commented on I call this, being optimistic</title><description>ulong would have been funnier.
</description><link>http://ayende.com/3679/i-call-this-being-optimistic#comment14</link><guid>http://ayende.com/3679/i-call-this-being-optimistic#comment14</guid><pubDate>Fri, 07 Nov 2008 21:51:34 GMT</pubDate></item><item><title>Fred commented on I call this, being optimistic</title><description>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 
  
  
</description><link>http://ayende.com/3679/i-call-this-being-optimistic#comment13</link><guid>http://ayende.com/3679/i-call-this-being-optimistic#comment13</guid><pubDate>Fri, 07 Nov 2008 18:29:15 GMT</pubDate></item><item><title>Stephen commented on I call this, being optimistic</title><description>Hahaha.. I like the subtler wtf reference
</description><link>http://ayende.com/3679/i-call-this-being-optimistic#comment12</link><guid>http://ayende.com/3679/i-call-this-being-optimistic#comment12</guid><pubDate>Fri, 07 Nov 2008 16:20:34 GMT</pubDate></item><item><title>alwin commented on I call this, being optimistic</title><description>Bool FinallySoldSomething {
  
  get { return Bool.SaleNotFound; }
  
}
  
  
[thedailywtf.com/Comments/What_Is_Truth_0x3f_.aspx](http://thedailywtf.com/Comments/What_Is_Truth_0x3f_.aspx)</description><link>http://ayende.com/3679/i-call-this-being-optimistic#comment11</link><guid>http://ayende.com/3679/i-call-this-being-optimistic#comment11</guid><pubDate>Fri, 07 Nov 2008 15:54:24 GMT</pubDate></item><item><title>Stephen commented on I call this, being optimistic</title><description>..or a bool .. hurr! ;)
</description><link>http://ayende.com/3679/i-call-this-being-optimistic#comment10</link><guid>http://ayende.com/3679/i-call-this-being-optimistic#comment10</guid><pubDate>Fri, 07 Nov 2008 15:17:47 GMT</pubDate></item><item><title>Will commented on I call this, being optimistic</title><description>The obvious optimism is in the type.  Byte would be more appropriate for my sales.
</description><link>http://ayende.com/3679/i-call-this-being-optimistic#comment9</link><guid>http://ayende.com/3679/i-call-this-being-optimistic#comment9</guid><pubDate>Fri, 07 Nov 2008 14:52:31 GMT</pubDate></item><item><title>Ivo Ram&amp;#237;rez commented on I call this, being optimistic</title><description>public class God {
  
     private God() {}
  
     public God Instance{
  
           get{ return null; }
  
     }
  
}
</description><link>http://ayende.com/3679/i-call-this-being-optimistic#comment8</link><guid>http://ayende.com/3679/i-call-this-being-optimistic#comment8</guid><pubDate>Thu, 06 Nov 2008 23:08:39 GMT</pubDate></item><item><title>Stephen commented on I call this, being optimistic</title><description>its probably virtual because its a biz entity being used by nhib~
  
  
(im aware thats not the point of the post)
</description><link>http://ayende.com/3679/i-call-this-being-optimistic#comment7</link><guid>http://ayende.com/3679/i-call-this-being-optimistic#comment7</guid><pubDate>Thu, 06 Nov 2008 19:49:51 GMT</pubDate></item><item><title>mendicant commented on I call this, being optimistic</title><description>I wish I could've been the first person to re-iterate the joke in the comments :)
</description><link>http://ayende.com/3679/i-call-this-being-optimistic#comment6</link><guid>http://ayende.com/3679/i-call-this-being-optimistic#comment6</guid><pubDate>Thu, 06 Nov 2008 18:49:05 GMT</pubDate></item><item><title>Clearwater commented on I call this, being optimistic</title><description>What is more, that is virtual :D
  
Even manipulate the get.
</description><link>http://ayende.com/3679/i-call-this-being-optimistic#comment5</link><guid>http://ayende.com/3679/i-call-this-being-optimistic#comment5</guid><pubDate>Thu, 06 Nov 2008 16:59:40 GMT</pubDate></item><item><title>Peter Morris commented on I call this, being optimistic</title><description>I like
  
  
public class Geek : Earth { };
</description><link>http://ayende.com/3679/i-call-this-being-optimistic#comment4</link><guid>http://ayende.com/3679/i-call-this-being-optimistic#comment4</guid><pubDate>Thu, 06 Nov 2008 16:55:02 GMT</pubDate></item><item><title>Panso commented on I call this, being optimistic</title><description>I wish I could 'set' my sales ;)
</description><link>http://ayende.com/3679/i-call-this-being-optimistic#comment3</link><guid>http://ayende.com/3679/i-call-this-being-optimistic#comment3</guid><pubDate>Thu, 06 Nov 2008 16:50:03 GMT</pubDate></item><item><title>Frank Quednau commented on I call this, being optimistic</title><description>Nice. Thank God they didn't use Haskell and chose the Integral type.
</description><link>http://ayende.com/3679/i-call-this-being-optimistic#comment2</link><guid>http://ayende.com/3679/i-call-this-being-optimistic#comment2</guid><pubDate>Thu, 06 Nov 2008 16:33:04 GMT</pubDate></item><item><title>Leon commented on I call this, being optimistic</title><description>hehe, yes, that is quite optimistic. I'll certainly help achieve that goal if this is for tracking sales of NH Prof! :) 
</description><link>http://ayende.com/3679/i-call-this-being-optimistic#comment1</link><guid>http://ayende.com/3679/i-call-this-being-optimistic#comment1</guid><pubDate>Thu, 06 Nov 2008 16:09:08 GMT</pubDate></item></channel></rss>