jaredpar's WebLog

Code, rants and ramblings of a programmer.
Posts
  • jaredpar's WebLog

    If you implement IEquatable<T> you still must override Object’s Equals and GetHashCode

    • 0 Comments
    CLR 2.0 introduced IEquatable<T> which is an interface that allows for type safe equality comparisons.  Previously, the best available method for comparing equality was the virtual Object Equals method.  The method is loosely typed since...
  • jaredpar's WebLog

    Dvorak keyboard … is it really faster ???

    • 9 Comments
    Most people discover I’m a Dvorak user because they’re in my office, attempt to drive during a conversation and find they are typing gibberish. I take the keyboard, hit CTRL+LEFT_SHIFT and they’re on their way again. Well at least until they open up a...
  • jaredpar's WebLog

    PowerShell LINQ: Skip-While

    • 2 Comments
    Next up in the PowerShell LINQ series is SkipWhile .  This LINQ function takes an enumerable instance and a predicate.  The function will skip the elements in the enumerable while the predicate is true.  The argument to the predicate is...
  • jaredpar's WebLog

    Script Blocks and Arguments: Figuring it out for myself … again

    • 4 Comments
    Script blocks are a powershell construct for storing an expression or group of statements inside an expression.  It’s the equivalent of a C#/F#/VB Lamba expression.  Recently I needed to use a script block but found I had forgotten how to read...
  • jaredpar's WebLog

    BclExtras Library

    • 2 Comments
    I published a .Net utility library on Code Gallery today called BclExtras .  It’s a set of classes meant to be used in addition to the standard .Net base class libraries (BCL).  The main focuses of the library are functional programming, multi...
  • jaredpar's WebLog

    PowerShell LINQ: Take-Count and Take-While

    • 2 Comments
    The Take pair of functions are very similar to the Skip functions .  The Take expression does essentially the opposite of the Skip functions.  Skip is useful for getting elements further down the pipeline.  Take is used for getting elements...
  • jaredpar's WebLog

    LINQ like functions for PowerShell: Skip-Count

    • 2 Comments
    The PowerShell pipeline, is fairly similar to C#/VB’s LINQ.  Both filter a group of elements through a series of transformations which produce a new series of elements.  The devil is in the details of course but I’ll get to that in a future...
  • jaredpar's WebLog

    Case Sensitive vs. Case Insensitive Languages

    • 10 Comments
    Just had a random thought while I was looking at some code today.  It’s yet another argument in the case sensitive vs. case insensitive language battle.  Do you really want this to be able to compile? class C1 { int M1; int m1; } Yes...
  • jaredpar's WebLog

    Script Blocks and Closures (or lack there of)

    • 0 Comments
    Script blocks are a concise way of representing an expression or statement group in Powershell.  It’s the C#/F#/VB lambda equivalent for PowerShell.  One difference between C#/F#/VB lambda expressions and a scriptblock is the lack of lexical...
  • jaredpar's WebLog

    Twitter

    • 1 Comments
    I broke down a few weeks ago and joined Twitter .  If you’re not familiar with Twitter, it’s a lot like sitting in a room with a bunch of people and thinking out loud.  Only, it’s done in IM form.  It’s interesting and I find myself musing...
Page 1 of 1 (10 items)

January, 2009