Welcome to MSDN Blogs Sign in | Join | Help

jaredpar's WebLog

Code, rants and ramblings of a programmer.

Syndication

News

Now Reading

Pragmatic Programmer

Pragmatic programming at it's best. The book is a light read and worth the time

Essential WPF

Thus far the best book I've read on WPF. Gets right down to working with WPF and the goals/history.

Purely Functional Data Structures

Reading this book makes me feel like I'm back in college. It will really get your mind going and is best read with a whiteboard handy.


Browse by Tags

All Tags » Orcas   (RSS)
Type Inference and IEnumerable
This is somewhat of a follow up on a previous post I did on the difference between IEnumerable(Of T) and the IEnumerable interfaces. I've seen several people type in the following code and wonder if there was a fundamental bug in the type inference code. Read More...

Posted Monday, November 26, 2007 5:32 PM by Jared Parsons | 2 Comments

VS2008 Ships
Orcas has shipped :) http://msdn2.microsoft.com/en-us/vstudio/default.aspx Read More...

Posted Monday, November 19, 2007 10:41 PM by Jared Parsons | 1 Comments

Filed under:

Lambda Unexpected Behavior
One item you strive to avoid when you design and implement a feature is unexpected behavior.  Unfortunately there is one case we couldn't avoid with Lambda's in VB9.  I just ran into the this problem when coding up a handler.  I wanted Read More...

Posted Monday, November 19, 2007 10:38 PM by Jared Parsons | 1 Comments

Filed under: , ,

Extension Methods without 3.5 Framework
For a time I've been avoiding extension methods. Not because I'm opposed to using them but because of the 3.5 Framework. A lot of the tools I own are designed to be very light weight tools that only require the user to have 2.0 installed on their machine. Read More...

Posted Friday, November 16, 2007 3:37 PM by Jared Parsons | 10 Comments

Filed under: ,

Singleton Pattern
Quite awhile back I posted about how to create a re-usable singleton pattern in .Net. Link is here . A bit of time has passed and I've altered the pattern a bit. The reasons for the change are some new type inference patterns and FxCop cleanliness. The Read More...

Posted Tuesday, September 04, 2007 1:58 PM by Jared Parsons | 3 Comments

Filed under: , , ,

C# Type inference change for Orcas
While playing around with a batch of Orcas code recently I found a welcome change to the C# type inference rules for Orcas. The return type of a generic delegate can now be inferred from the actual return values. Here is some sample code demonstrating Read More...

Posted Tuesday, August 07, 2007 12:06 PM by Jared Parsons | 5 Comments

Filed under: ,

Closures in VB Part 6: Limitations
For previous articles in this series please see ... Part 1: Introduction Part 2: Method Calls Part 3: Scope Part 4: Variable Lifetime Part 5: Looping As powerful as closures are in the language they do have a few limitations. We worked hard in Orcas to Read More...

Posted Monday, August 06, 2007 6:36 PM by Jared Parsons | 0 Comments

Filed under: , , ,

Expression Evaluator Sample Released
The new version of the Visual Studio 2008 Beta2 SDK was just released. Among the many new samples is a basic expression evaluator sample. This sample shows you how to add basic debugger support to a managed language in Visual Studio. This is the first Read More...

Posted Wednesday, August 01, 2007 12:37 PM by Jared Parsons | 0 Comments

Filed under: ,

Coding Quiz: Anonymous Type Types
Question: How can you create a variable in VB which is typed as an anonymous type but not actually create an instance of that type? Answer in comments. Note, doing this is not particularly useful it came about while I was playing around with a feature Read More...

Posted Wednesday, August 01, 2007 11:34 AM by Jared Parsons | 3 Comments

Filed under: , , ,

Closures in VB Part 5: Looping
For previous articles in the series please see Part 1: Introduction Part 2: Method Calls Part 3: Scope Part 4: Variable Lifetime Once again sorry for the long delay between posts. Looping structures can cause unintended consequences when used with Lambda Read More...

Posted Thursday, July 26, 2007 12:39 PM by Jared Parsons | 2 Comments

Filed under: , , ,

Closures in VB Part 4: Variable Lifetime
For previous articles in this series please see Part 1: Introduction Part 2: Method Calls Part 3: Scope Sorry for the long delay between posts here. We're getting Orcas out the door and getting this series completed takes a back door to shipping. Originally Read More...

Posted Friday, June 15, 2007 4:47 PM by Jared Parsons | 2 Comments

Filed under: , , ,

Closures in VB Part 3: Scope
For previous articles in this series please see Part 1: Introduction Part 2: Method Calls Thus far in the series we've only lifted variables that are declared in the same block/scope. What happens if we lift variables in different scope? The answer is Read More...

Posted Friday, May 25, 2007 4:59 PM by Jared Parsons | 3 Comments

Filed under: , , ,

Closures in VB Part 2: Method Calls
For previous articles in this series, please see Part 1 - The basics This part of the series will focus on how method calls are handled in closures. As stated in the previous article, the purpose of closures is to allow all operations inside a lambda Read More...

Posted Thursday, May 03, 2007 5:56 PM by Jared Parsons | 9 Comments

Filed under: , , ,

Closures in VB: Part 1
One of the features I implemented for VB 9.0 is lexical closure support. This a great addition to the VB language and I wanted to do a series of blog posts to describe this feature and how it will impact your code. Lexical Closures (more often referred Read More...

Posted Friday, April 27, 2007 6:50 PM by Jared Parsons | 7 Comments

Filed under: , , ,

Page view tracker