• Yet Another Language Geek

    Having Trouble with Queries

    • 10 Comments
    A Funny Joke and a Sad Joke There is a joke that goes something like this: Two men are hopelessly lost in hot air balloon. Their condition is aggravated by the fact that they are enshrouded by a thicket of fog. When it seems all is lost, suddenly the...
  • Yet Another Language Geek

    How Linq to Objects Queries Work

    • 12 Comments
    If you have ever tried to step through a Linq to Objects query in the debugger, you may have been mildly surprised at the results. It may have seemed as if the program had a mind of its own and ran certain expressions when it wanted to and not when it...
  • Yet Another Language Geek

    A Model for Query Interpretation

    • 14 Comments
    Evaluating Query Expressions After writing the code to translate query expressions and remove transparent identifiers, one of my first desires was to write a tool that would generate query expressions to test the correctness of the code. Of course...
  • Yet Another Language Geek

    Reading and Writing Queries

    • 3 Comments
    Now that we have discussed some of the underpinnings of query expressions, we can turn our attention to how to use them. As has already discussed , most people who see query expressions immediately think of SQL and often even mistake query expressions...
  • Yet Another Language Geek

    Thus Quoth the Humble Programmer

    • 6 Comments
    I love Scheme! It is such a beautiful language. I was first introduced to it during college. At that time, I thought it was an interesting language but I didn't see the power of the language until later. That moment came when I experienced reading The...
  • Yet Another Language Geek

    Transparent Identifiers

    • 9 Comments
    My last post described in detail how query expressions in C# are translated, but I have a confession to make. I did a little bit of hand waving through one part of the translation rules. The astute reader (whomever that is, whenever I read such things...
  • Yet Another Language Geek

    Comprehending Comprehensions

    • 7 Comments
    Not long ago, I was reading through some articles posted on programming.reddit.com when I came across an article claiming that C# is trying to be a dynamic language . One user posted a comment that mentioned that C# 3.0 included among other things "embedded...
  • Yet Another Language Geek

    Types of confusion

    • 15 Comments
    When I began programming in my early teens, I was very excited to learn about programming and also excited to become a "real" programmer . I remember picking up a book from the library that purported to teach what real programmers were like. I absorbed...
  • Yet Another Language Geek

    Saving the State of Enumerators

    • 4 Comments
    Cyrus and I were writing some code together the other day and we used an interesting data structure that I wanted to share with you. This data structure I will call a chain which is essentially a immutable singlely linked list. interface IChain...
  • Yet Another Language Geek

    captivated foreach statements

    • 0 Comments
    I am sure that most people who use C# regularly use the foreach construct. Intimately understanding this construct is not usually required for proper usage. The syntax is straightforward and it would seem that the semantics would also be straightforward;...
  • Yet Another Language Geek

    the first step

    • 0 Comments
    I suppose that I should begin with an introduction. My name is Wes Dyer and I am a developer on the C# compiler team. I have many interests in the area of computing including but not limited to compilers, artificial intelligence (especially machine learning...
Page 2 of 2 (36 items) 12