Geeks With Blogs
Jonathan Starr's Blog Thoughts on C#, Ajax, WCF, LINQ, Agile et al. LINQ There are 5 entries for the tag LINQ
Code Redundancy Is NOT Necessarily Bad
improve my => 'code' I was just reading Jeff Atwood's recent blog article Department of Declaration Redundancy Department He makes the case that writing code without static typing is easier to read, and "Anything that removes redundancy from our code should be aggressively pursued -- up to and including switching languages." My take is "maybe". Say I have a class named Example that implements two interfaces, IFoo and IBar. When I instantiate I have several options when dong so statically. Example ......

Posted On Saturday, June 21, 2008 5:43 PM

Who Is An Average Developer?
Every blogger I read claims to have superior coding skills, and every place I have worked claims only to hire superior developers. In my current position and in my prior one, my employers say they interviewed more than twenty candidates to fill each position. If that's so, where are the average coders? I heard one theory - they are all unemployed! And they keep trying to get jobs but they can't. So interviewers have a skewed sampling of coders. I will confirm that in my current and previous position ......

Posted On Friday, May 2, 2008 7:24 PM

LINQ and Financial Simulation
improve my => 'code' I just started playing around with LINQ seriously, and I really love some of the features incorporated, like the Enumerable.Range() function and how it can be used for integer programming. Here's a simple function for generating lognormal distributions (could be useful for financial engineering). Hope you're enjoying the samples, Jonathan Starr public List<double> GenerateLogNormalDistributi... numberOfTimes, double mean, double standardDeviation) { Random randomGenerator ......

Posted On Friday, January 25, 2008 8:00 PM

Response to Brainteaser #11?
I have been pretty excited about LINQ, because it seems to do all of the optimization for me for free (kinda like T-SQL). Yow Han-Lee asks in his blog, Brainteaser #11, Given any two large List, what is the quickest way to find the mutual intersection of the two? Now take into consideration memory constraints? Well, the answer that only takes a minute or two for me is the following... Comments welcome! Jonathan Starr using System; using System.Collections.Generic; using System.Linq; using System.Text; ......

Posted On Friday, January 25, 2008 3:23 PM

Visual Studio 2008 Beta 2 - This really is cool!
improve my => 'code' Wow.... made my first WPF application in seconds flat on Beta 2. Now when you create a button on the form, you can double click it to make it's event handler, and code right in the contents. And even more important, the compilations are lightning fast now... Here's my first application - a Fizz Buzz game (must have beer on the brain). The XAML <Window x:Class="FizzBuzz.Window1" xmlns="http://schemas.micro... xmlns:x="http://schemas.mic... ......

Posted On Monday, November 19, 2007 8:56 PM

Copyright © Jonathan Starr | Powered by: GeeksWithBlogs.net | Join free