Category: Programming

  • Thinking About Steve Yegge’s Hiring Post

    UPDATE: I wrote some more recent things about Steve’s famous google plus post. http://steve-yegge.blogspot.com/2008/06/done-and-gets-things-smart.html I’m a big fan of Steve Yegge and his blog. I was recently rereading some of his posts and the above one had a lot of new meaning for me. At my job, I had recently been involved several interviews of […]

  • JScript.Net and C# Interaction

    // lib.cs: using System; namespace Library {   public class TestLib {     public static void speak(){        Console.WriteLine(“Hello From CSharp Dll”);     }   } } // hello.js import System; import Library; var a = {name:’JScript Object in Exe’}; a.foo = function (){   Console.WriteLine(‘Hello From ‘ + this.name); }; a.foo(); TestLib.speak(); Compiling: 1. […]

  • Linq to SQL

    Background: Linq to Sql is a lightweight data access protocol for the .Net framework.  It supports filtering and other lambda features in code, allowing the programmer to treat their data source as if it were a collection of objects that support flexible features.  In this way, it can be thought of as an ORM mapper, […]

  • Javascript Objects and Hashes

    Employee = { New: function(fname,lname,em) { return { first: fname, last: lname, email: em, displayName: function() { return this.last + ‘, ‘ + this.first }, sig: function() { return this.displayName() + ‘ ‘ + this.email } } } } var tim = Employee.New(‘Tim’, ‘Hoolihan’,’tim@hoolihan.net’) tim.sig()

  • On the Rise, Fall, and Resurgance of Javascript

    Douglas Crockford’s essay on Javascript’s history and resurgance is a great read, if you haven’t already read it. – “Given the process that created JavaScript and made it a de facto standard, we deserve something far worse.”