Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements


Bent Rasmussen exoteric stuck in a loop, for a while
  • Expert to Expert: Erik Meijer and Anders Hejlsberg - The Future of C#

    Static extension methods: A non-feature.


    public enum Date { Yesterday, ... } public static DateTime Yesterday(this Date date) { var t = DateTime.Today; if (date == Date.Yesterday) t = t.AddDays(-1); ... return t; }


    Besides, having yesterday be relative to a given date is more generic.

  • Andrew Kennedy: F# Units of Measure

    I was very impressed when seeing units of measure in F# the first time and believe it's a great selling point for the language.

  • TWC9: Sven Groot, Beer taste test, Office Web, ASP.NET Auto-Starts, System.IO changes

    I was recently in Brussels, Belgium. Nice beer country! So far I just drink Chimay though. Agree that Brian added some humor to the whole thing heh. That has to be the emptiest stare I've ever seen; it reminded me of this sentence: "opening up the nothing box".

  • What is Microsoft's Visual Basic 6 Support Strategy?

    Sounds like a failure to understand* the idea behind .Net, which is reuse of libraries written in different languages and through a common intermediate language. There no longer is any reason to have one glorified language (although the idea still lurks).  (* Not on your part, contextfree)

  • Brian Beckman Does Higher Algebra with Visual Basic

    I really like this. I read on Joe Duffy's blog that he's working on a language that is a hybrid between C# and Haskell. Maybe it supports the higher-kinded type-system necessary to naturally express these things. I tried to do similar things in ML but in the end the solution wasn't really that appealing.

  • Ping 28: Free Win7, Zunes, Xbox, Interface of the future

    I don't know about a tongue input device hehe


    (A bit distorted audio on my stereo, but cool show otherwise Smiley )

  • Expert to Expert: Brian Beckman and Erik Meijer - Inside the .NET Reactive Framework (Rx)

    I was quite happy with the coverage - it was already unusual to mix physics and programming this way - very stimulating although beyond me. One of the best parts was the formulation of co- and contravariance rules via sequent notation, dualization and showing a statement sequence as a series of continuations, if I got that right. Definitely a video that expands horizons. And this stuff about ambient monads. I'm not sure that was really covered anywhere, was it?

  • deCast - Dynamic Xml with C# 4.0

    This is pretty nice but broken. There's too much magic going on. The XML GI syntax (and still more the ns'd GI syntax) does not match up with C# method name syntax. In particular C# method names are far more restricted than XML (namespace) names, they cannot express them. Now adding magic names such as Nodes, Parent, etc. will only compound the problem. What happens if a document actually happens to have an element called Parent or Nodes? So based on a quick review, this approach does not appear sound, as much as I love syntactic sugar.


    Now the idea to abstract over attribute and element names is quite sweet. I like the idea and this is also the approach that RDF/XML takes. It just needs to be an explicit abstraction taken by the client not built into the API as a default, thus projecting that assumption onto all existing XML.


    As a way to illustrate how dynamic is useful this is not so bad - except it, in my oppinion, teaches an unsound practice for dealing with XML; at least it is not general-purpose. One has to know a priori that such and such name collisions (Parent, Nodes?) will not occur (there goes extensibility) and that cannot express such and such names (XML name syntax, including names in popular XML dialects such as XSLT, where you can have: xslt:value-of).

  • This Week C9: VS 2010, Must-Have Developer Utilities, Upgrade your home

    Many people don't get Dynamic, and what they don't get, they don't want. Some not only don't get it, they see it as a way to circumvent the type system and so hate it. As Anders says - if you don't have the types in the first place, why should you have to have ugly syntax just because the compiler doesn't have the types.


    Many others (at least used to) think that C# is just Java rehashed (I still hear this today from some people), in a way it was, but any new language is a rehash of something else. But they're not the same. They have very different generics, different ways of dealing with primitive types vs reference types. Java generics is compiled with type-erasure. Etc., etc., etc. That these differences are constantly glazed over is just annoying.


    Now, with LINQ, Lambda expressions, Dynamic, etc., we're getting much more detached. And indeed we see Java copying C# & co. Mutually recursive development, the way it should be (don't really like the word "innovation").

  • Ping 27: Code7 contest, Get a Mac- Getting tired, Google fears Bing, Swiss street viewing

    Sure, I think we all want that. Radical research.