Poor, confused C# compiler

Posted by: Charles Young, on 22 Jan 2013 | View original | Bookmarked: 0 time(s)

The C# compiler is a pretty good thing, but it has limitations. One limitation that has given me a headache this evening is its inability to guard against cycles in structs. As I learn to think and programme in a more functional style, I find that I am beginning to rely more and more on structs to pass data. This is natural when programming in the functional style, but structs can be damned awkward blighters.Here is a classic gotcha. The following code won't compile, and in this case, the compiler...

Category: C# | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 318 | Hits: 41

Similar Posts

  • Mono C# Compiler Under MIT X11 License more
  • Copy-in, Copy-out and reference semantics more
  • More on Conditional Compilation in ASP.NET more
  • Option Strict [On|Off|SortOf] more
  • Reporting XSLT compilation errors in .NET more
  • We have resumed normality more
  • Conditional Compilation In ASP.NET 2.0 more
  • Mono Status '05 more
  • C# a Total Failure with no Future... more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD