﻿<?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>Ayende Rahien commented on Redefining If</title><description>It would be easier, but Boo emits an op_Equality test, and since we are dealing with duck typing here, it will not note the user defined op_Equality or the Equals() override
</description><link>http://ayende.com/2828/redefining-if#comment9</link><guid>http://ayende.com/2828/redefining-if#comment9</guid><pubDate>Fri, 05 Oct 2007 00:38:28 GMT</pubDate></item><item><title>Avish commented on Redefining If</title><description>Uhm, maybe I'm not reading it right, but wouldn't it be easier to make your null object equal to null by overriding Equals()? then you'd still be able to do "if ?Errors" etc. What am I missing?
</description><link>http://ayende.com/2828/redefining-if#comment8</link><guid>http://ayende.com/2828/redefining-if#comment8</guid><pubDate>Fri, 05 Oct 2007 00:30:21 GMT</pubDate></item><item><title>Steven Harman commented on Redefining If</title><description>Haha... my bad. I guess my sarcasm didn't quite come across... I seem to have trouble with that when it comes to written communication. I supposed I could have used a little markup to help.
  
  
&lt;sarcasm&gt; insert snarky comment here &lt;/sarcasm&gt;
  
  
:)
</description><link>http://ayende.com/2828/redefining-if#comment7</link><guid>http://ayende.com/2828/redefining-if#comment7</guid><pubDate>Thu, 04 Oct 2007 21:38:17 GMT</pubDate></item><item><title>Ayende Rahien commented on Redefining If</title><description>Moles,
  
Oh, then I guess I shouldn't tell when I did to the goto statement, then :-D
</description><link>http://ayende.com/2828/redefining-if#comment6</link><guid>http://ayende.com/2828/redefining-if#comment6</guid><pubDate>Thu, 04 Oct 2007 21:30:48 GMT</pubDate></item><item><title>Ayende Rahien commented on Redefining If</title><description>Steven,
  
_that_ was a joke, I am afraid.
</description><link>http://ayende.com/2828/redefining-if#comment5</link><guid>http://ayende.com/2828/redefining-if#comment5</guid><pubDate>Thu, 04 Oct 2007 21:26:51 GMT</pubDate></item><item><title>Miles Thompson commented on Redefining If</title><description>Ayende, 
  
  
I worship you like a god (small G) but.. seriously 'redefining if'.. argh, sounds much more like something one would read at the daily wtf (worsethanfailure.com) than here..
</description><link>http://ayende.com/2828/redefining-if#comment4</link><guid>http://ayende.com/2828/redefining-if#comment4</guid><pubDate>Thu, 04 Oct 2007 21:20:38 GMT</pubDate></item><item><title>Steven Harman commented on Redefining If</title><description>&gt; if 2+2 == 4 will not do the expected thing anymore
  
  
And what about the Principle of Least Surprise... breaking your own rules, eh? :)
</description><link>http://ayende.com/2828/redefining-if#comment3</link><guid>http://ayende.com/2828/redefining-if#comment3</guid><pubDate>Thu, 04 Oct 2007 20:38:18 GMT</pubDate></item><item><title>Ayende Rahien commented on Redefining If</title><description>Yeah, fairly amazing.
  
https://svn.castleproject.org/svn/castle/trunk/MonoRail/
  
Castle.MonoRail.Views.Brail/FixTryGetParameterConditionalChecks.cs
  
  
Basically, transform "if ?Errors" to "if not TryGetParameter("Errors") isa IgnoreNull"
</description><link>http://ayende.com/2828/redefining-if#comment2</link><guid>http://ayende.com/2828/redefining-if#comment2</guid><pubDate>Thu, 04 Oct 2007 19:51:04 GMT</pubDate></item><item><title>Avish commented on Redefining If</title><description>How did you redefine if? A custom compiler step?
</description><link>http://ayende.com/2828/redefining-if#comment1</link><guid>http://ayende.com/2828/redefining-if#comment1</guid><pubDate>Thu, 04 Oct 2007 19:49:12 GMT</pubDate></item></channel></rss>