<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Funniest Hungarian Joke Ever</title><link>http://blogs.msdn.com/b/ericlippert/archive/2011/08/22/funniest-hungarian-joke-ever.aspx</link><description>I'm back from my fabulous adventures in Austria, Romania and Canada and I had a fabulous time, as you might imagine. We were in Romania for a wedding of some close personal friends who live here in Seattle; much of the groom's family escaped from Romania</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Funniest Hungarian Joke Ever</title><link>http://blogs.msdn.com/b/ericlippert/archive/2011/08/22/funniest-hungarian-joke-ever.aspx#10212325</link><pubDate>Fri, 16 Sep 2011 10:25:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10212325</guid><dc:creator>Gerely</dc:creator><description>&lt;p&gt;I did not know that you&amp;#39;re not only a programming language expert, but a human-language expert too. Also, I did not expect that I&amp;#39;ll read a joke in your post that I heard during the elementary school last time. :)&lt;/p&gt;
&lt;p&gt;Gotta love your blog!&lt;/p&gt;
&lt;p&gt;Gergő (from Hungary)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10212325" width="1" height="1"&gt;</description></item><item><title>re: Funniest Hungarian Joke Ever</title><link>http://blogs.msdn.com/b/ericlippert/archive/2011/08/22/funniest-hungarian-joke-ever.aspx#10202880</link><pubDate>Tue, 30 Aug 2011 16:08:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10202880</guid><dc:creator>Jim Glass Jr</dc:creator><description>&lt;p&gt;Great coverage of a fascinating culture and event. My jokes don&amp;#39;t always work either. &amp;nbsp;;O)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10202880" width="1" height="1"&gt;</description></item><item><title>re: Funniest Hungarian Joke Ever</title><link>http://blogs.msdn.com/b/ericlippert/archive/2011/08/22/funniest-hungarian-joke-ever.aspx#10200029</link><pubDate>Wed, 24 Aug 2011 23:03:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10200029</guid><dc:creator>voo</dc:creator><description>&lt;p&gt;Good that you had fun in Vienna - it&amp;#39;s a nice city, especially for people liking architecture or music (Raymond would have his fun as well there I think). I think I&amp;#39;m not 100% objective here though, so I&amp;#39;ll mention that Prague is nice too ;)&lt;/p&gt;
&lt;p&gt;tz if I&amp;#39;d known you were here..&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10200029" width="1" height="1"&gt;</description></item><item><title>re: Funniest Hungarian Joke Ever</title><link>http://blogs.msdn.com/b/ericlippert/archive/2011/08/22/funniest-hungarian-joke-ever.aspx#10199123</link><pubDate>Tue, 23 Aug 2011 18:29:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10199123</guid><dc:creator>AntiPattern</dc:creator><description>&lt;p&gt;Romania acquired large portions (including Transylvania) of Hungary after WW1 cause Romania sided with the allies toward the end of the war after it was pretty certain that the German and Austrian Hungarian empire were going to lose. &amp;nbsp;To this day I hear many Hungarians HATE Romanians and regard them as gypsies.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10199123" width="1" height="1"&gt;</description></item><item><title>re: Funniest Hungarian Joke Ever</title><link>http://blogs.msdn.com/b/ericlippert/archive/2011/08/22/funniest-hungarian-joke-ever.aspx#10199055</link><pubDate>Tue, 23 Aug 2011 16:01:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10199055</guid><dc:creator>Raymond Chen - MSFT</dc:creator><description>&lt;p&gt;Holding the bride for ransom is also a Chinese tradition. However, we were running behind schedule (another Chinese tradition), so the bridesmaids skipped the ransom ceremony. Lucky me!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10199055" width="1" height="1"&gt;</description></item><item><title>re: Funniest Hungarian Joke Ever</title><link>http://blogs.msdn.com/b/ericlippert/archive/2011/08/22/funniest-hungarian-joke-ever.aspx#10198942</link><pubDate>Tue, 23 Aug 2011 10:47:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10198942</guid><dc:creator>penartur</dc:creator><description>&lt;p&gt;Sorry that i write you here, but it seems that people often ask you about new language features in comments to this blog :)&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t find any information in google on the lack of that feature, which is strange because it is IMHO quite logical and needed thing... or maybe i&amp;#39;m just doing something wrong... anyway, the missing feature i want to say about is the &amp;quot;internal new()&amp;quot; generic constraint.&lt;/p&gt;
&lt;p&gt;In current C#, one may write e.g. &amp;quot;public TResult SomeFunc&amp;lt;TResult&amp;gt;() where TResult : new() { return new TResult(); }&amp;quot;. The documentation tells us that in order to fit in such a constraint, TResult should have a public parameterless constructor, which quite makes sense: e.g. if TResult has a private parameterless constructor, then we probably don&amp;#39;t want it to be called somewhere else; even if the constructor is accessible to SomeFunc, we probably don&amp;#39;t want it to be called somewhere else (&amp;quot;public T SomeFunc&amp;lt;T&amp;gt;() where T : new() { return SomeOtherFunc&amp;lt;T&amp;gt;(); } public T SomeOtherFunc&amp;lt;T&amp;gt;() where T : new() { return new T(); }&amp;quot;) until it is public.&lt;/p&gt;
&lt;p&gt;However, there are times when i want to write such generic functions in my library without exposing the parameterless constructor to everybody (basically, in such a case it is acting as a replacement to missing feature of constraints like &amp;quot;where T : new(int, string)&amp;quot;).&lt;/p&gt;
&lt;p&gt;I understand that implementing constraints on constructors with parameters (&amp;quot;where T : new(int, string)&amp;quot;) might be impossible due to the reasons you mention every time you&amp;#39;re talking about why you won&amp;#39;t add a certain new feature to the language :) however, it seems to be not a big deal to implement constraint such as &amp;quot;where T : internal new()&amp;quot;. Basically, the only differences of such a constraint from the existing &amp;quot;where T : new()&amp;quot; would be that: a) it will allow for types in the same assembly with internal parameterless constructor; b) it won&amp;#39;t allow to pass such types to another methods with old-style &amp;quot;where T : new()&amp;quot; constraint and to methods from another assemblies. It seems to be fairly easy thing to implement, even minding all you said about testing etc.&lt;/p&gt;
&lt;p&gt;Sorry about this huge comment with my terrible knowledge of english...&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10198942" width="1" height="1"&gt;</description></item><item><title>re: Funniest Hungarian Joke Ever</title><link>http://blogs.msdn.com/b/ericlippert/archive/2011/08/22/funniest-hungarian-joke-ever.aspx#10198839</link><pubDate>Tue, 23 Aug 2011 05:58:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10198839</guid><dc:creator>Luc Bos</dc:creator><description>&lt;p&gt;Glad to see you&amp;#39;re back, looking forward to reading your posts again :)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10198839" width="1" height="1"&gt;</description></item><item><title>re: Funniest Hungarian Joke Ever</title><link>http://blogs.msdn.com/b/ericlippert/archive/2011/08/22/funniest-hungarian-joke-ever.aspx#10198830</link><pubDate>Tue, 23 Aug 2011 04:16:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10198830</guid><dc:creator>tiwahu</dc:creator><description>&lt;p&gt;RE: clock reset&lt;/p&gt;
&lt;p&gt;I&amp;#39;m with ya on the flip-flops/sandals thing starting in spring. &amp;nbsp;My rule for the reset: open toes until it snows.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10198830" width="1" height="1"&gt;</description></item><item><title>re: Funniest Hungarian Joke Ever</title><link>http://blogs.msdn.com/b/ericlippert/archive/2011/08/22/funniest-hungarian-joke-ever.aspx#10198732</link><pubDate>Mon, 22 Aug 2011 22:56:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10198732</guid><dc:creator>Pras</dc:creator><description>&lt;p&gt;I have been following your blog for a few months now.. mostly for the .net stuff. But I must say you write really well!! Loved the humor and the story in this aritcle!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10198732" width="1" height="1"&gt;</description></item><item><title>re: Funniest Hungarian Joke Ever</title><link>http://blogs.msdn.com/b/ericlippert/archive/2011/08/22/funniest-hungarian-joke-ever.aspx#10198663</link><pubDate>Mon, 22 Aug 2011 20:04:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10198663</guid><dc:creator>dlev</dc:creator><description>&lt;p&gt;Since you seem at least somewhat interested in gravel-covered mountain-top roads that lack railings to guard against sheer cliffs, might I recommend a trip to Monte Verde in Costa Rica? It&amp;#39;s *terrifying*...ly beautiful.&lt;/p&gt;
&lt;p&gt;Welcome back.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10198663" width="1" height="1"&gt;</description></item></channel></rss>