<?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>Is C# a strongly typed or a weakly typed language?</title><link>http://blogs.msdn.com/b/ericlippert/archive/2012/10/15/is-c-a-strongly-typed-or-a-weakly-typed-language.aspx</link><description>Presented as a dialogue, as is my wont! 
 Is C# a strongly typed or a weakly typed language? 
 Yes. 
 That is unhelpful. 
 I don't doubt it. Interestingly, if you rephrased the question as an "and" question, the answer would be the same. 
 What?</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Is C# a strongly typed or a weakly typed language?</title><link>http://blogs.msdn.com/b/ericlippert/archive/2012/10/15/is-c-a-strongly-typed-or-a-weakly-typed-language.aspx#10372726</link><pubDate>Wed, 28 Nov 2012 16:34:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10372726</guid><dc:creator>nikosv</dc:creator><description>&lt;p&gt;the &amp;quot;Weakly Typed Languages&amp;quot; article at &lt;/p&gt;
&lt;p&gt;www.i-programmer.info/programming/theory/1469-type-systems-demystified-part2-weak-vs-strong.html?start=1&lt;/p&gt;
&lt;p&gt;and the &amp;quot;Strong Typing&amp;quot; one at &lt;/p&gt;
&lt;p&gt;www.i-programmer.info/programming/theory/1515-strong-typing.html&lt;/p&gt;
&lt;p&gt;(parts of the &amp;quot;Type Systems Demystified&amp;quot; series at &lt;/p&gt;
&lt;p&gt;www.i-programmer.info/programming/theory/604-type-systems-demystified.html)&lt;/p&gt;
&lt;p&gt;attempt to explain the differences between weak and strong typing by comparing the type systems of Perl,C# and VB.NET and how C#&amp;#39;s dynamic type changes the game (especially in the &amp;quot;C# Perl-like behavior?&amp;quot; section). Although very educational (I hope),the point of the articles is to show that in the end &amp;quot;These terms are meaningless and you should avoid them&amp;quot; as you have already pointed out&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10372726" width="1" height="1"&gt;</description></item><item><title>re: Is C# a strongly typed or a weakly typed language?</title><link>http://blogs.msdn.com/b/ericlippert/archive/2012/10/15/is-c-a-strongly-typed-or-a-weakly-typed-language.aspx#10364602</link><pubDate>Wed, 31 Oct 2012 17:25:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10364602</guid><dc:creator>default_ex</dc:creator><description>&lt;p&gt;It&amp;#39;s hard to call C# strongly typed when you can do things like the following:&lt;/p&gt;
&lt;p&gt;uint i = unchecked((uint)-1);&lt;/p&gt;
&lt;p&gt;[StructLayout(LayoutKind.Explicit)] struct SomeStruct&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;[FieldOffset(0)] float SomeFloat;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;[FieldOffset(0)] byte SomeByte;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;ulong SomeFunc(ulong i)&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; fixed (ulong* p = i) return (ulong)Interlocked.Read(*(long*)p); // there is no ulong overload for this&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;Among many other techniques to read data as a type that it clearly is not.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10364602" width="1" height="1"&gt;</description></item><item><title>re: Is C# a strongly typed or a weakly typed language?</title><link>http://blogs.msdn.com/b/ericlippert/archive/2012/10/15/is-c-a-strongly-typed-or-a-weakly-typed-language.aspx#10364537</link><pubDate>Wed, 31 Oct 2012 15:30:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10364537</guid><dc:creator>JP</dc:creator><description>&lt;p&gt;Eric;&lt;/p&gt;
&lt;p&gt;Was wondering what your thoughts were on this article?&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://steve-yegge.blogspot.com/2006/03/execution-in-kingdom-of-nouns.html"&gt;steve-yegge.blogspot.com/.../execution-in-kingdom-of-nouns.html&lt;/a&gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10364537" width="1" height="1"&gt;</description></item><item><title>re: Is C# a strongly typed or a weakly typed language?</title><link>http://blogs.msdn.com/b/ericlippert/archive/2012/10/15/is-c-a-strongly-typed-or-a-weakly-typed-language.aspx#10364436</link><pubDate>Wed, 31 Oct 2012 10:07:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10364436</guid><dc:creator>Louis.fr</dc:creator><description>&lt;p&gt;@Jimmy: In C#, 5 + &amp;quot;foo&amp;quot; does not imply a conversion to string. The operator+(object,string) is invoked. When compiled, you&amp;#39;ll get a call to string.Concat(object,object). Still no conversion to string. In either case (operator+ or string.Concat), the arguments don&amp;#39;t need to be converted to string.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10364436" width="1" height="1"&gt;</description></item><item><title>re: Is C# a strongly typed or a weakly typed language?</title><link>http://blogs.msdn.com/b/ericlippert/archive/2012/10/15/is-c-a-strongly-typed-or-a-weakly-typed-language.aspx#10362967</link><pubDate>Fri, 26 Oct 2012 08:30:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10362967</guid><dc:creator>Rudra Bhattacharya</dc:creator><description>&lt;p&gt;Excellent post,Nice and subtle approach to define what makes C# strongly typed&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10362967" width="1" height="1"&gt;</description></item><item><title>re: Is C# a strongly typed or a weakly typed language?</title><link>http://blogs.msdn.com/b/ericlippert/archive/2012/10/15/is-c-a-strongly-typed-or-a-weakly-typed-language.aspx#10361425</link><pubDate>Sat, 20 Oct 2012 21:45:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10361425</guid><dc:creator>Anonymous</dc:creator><description>&lt;p&gt;c# i think is a weakly typed language i.e it will find some loophole to do some implicit type conversion for nearly matching types&amp;#39; input arguments. &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10361425" width="1" height="1"&gt;</description></item><item><title>re: Is C# a strongly typed or a weakly typed language?</title><link>http://blogs.msdn.com/b/ericlippert/archive/2012/10/15/is-c-a-strongly-typed-or-a-weakly-typed-language.aspx#10360832</link><pubDate>Thu, 18 Oct 2012 14:30:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10360832</guid><dc:creator>Starnick</dc:creator><description>&lt;p&gt;Interesting read. At the end I was imagining Eric as Obi-wan Kenobi in &amp;quot;Return of the Jedi&amp;quot;, when he was talking about it depends on your point of view regarding Darth Vader.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10360832" width="1" height="1"&gt;</description></item><item><title>re: Is C# a strongly typed or a weakly typed language?</title><link>http://blogs.msdn.com/b/ericlippert/archive/2012/10/15/is-c-a-strongly-typed-or-a-weakly-typed-language.aspx#10360825</link><pubDate>Thu, 18 Oct 2012 14:15:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10360825</guid><dc:creator>RaceProUK</dc:creator><description>&lt;p&gt;@Jimmy: In C#, 5 + &amp;quot;foo&amp;quot; is (effective) shorthand for String.Format(&amp;quot;{0}foo&amp;quot;, 5), or maybe String.Format(&amp;quot;{0}{1}, 5, &amp;quot;foo&amp;quot;). Either way, it&amp;#39;s not actually an overload on +.&lt;/p&gt;
&lt;p&gt;&amp;lt;/pedant&amp;gt; ;)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10360825" width="1" height="1"&gt;</description></item><item><title>re: Is C# a strongly typed or a weakly typed language?</title><link>http://blogs.msdn.com/b/ericlippert/archive/2012/10/15/is-c-a-strongly-typed-or-a-weakly-typed-language.aspx#10360783</link><pubDate>Thu, 18 Oct 2012 12:32:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10360783</guid><dc:creator>Douglas</dc:creator><description>&lt;p&gt;@Jeff Lewis: A car *is* inherently unsafe!&lt;/p&gt;
&lt;p&gt;When you take a ton of steel, add in a dozen gallons of highly combustible liquid, then intentionally detonate that liquid thousands of time per minute to propel the vehicle to high speeds, what you get is definitely unsafe.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10360783" width="1" height="1"&gt;</description></item><item><title>re: Is C# a strongly typed or a weakly typed language?</title><link>http://blogs.msdn.com/b/ericlippert/archive/2012/10/15/is-c-a-strongly-typed-or-a-weakly-typed-language.aspx#10360728</link><pubDate>Thu, 18 Oct 2012 08:54:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10360728</guid><dc:creator>Hirendra Sisodiya</dc:creator><description>&lt;p&gt;what the means of type verification and type system here?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10360728" width="1" height="1"&gt;</description></item></channel></rss>