David Seruyange's Radio Weblog
Tidbits for developers and the interested...

David-ism
Watu
Vicariously
Photo Blogs
Form, Function
Write, Think
Web People
Coders
Feel Good


Subscribe to "David Seruyange's Radio Weblog" in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.

Home (all entries)  | Technie  | Prattle (personal stuff)  | Books  | Snippets  | WhiteBox


Thursday, January 09, 2003
 

Programmer Conversation

 

posted in [home], [prattle]


11:06:15 AM    comment []

David the Ineffecient Programmer

Sometimes I make myself so mad at work.  I needed to fix something and wrote this:

// fix the ssn right quick...
string[] choo = ssn.Split('-');
ssn = "";
foreach(string s in choo){
ssn+= s;
}

Then I thought about it a while and wrote:

// fix!
ssn = ssn.Replace("-","");

I hate how I can't think the most effecient the first time around.  Sigh.  It makes me embarrased; what if Joel or Don or any other gods of programming saw how crap I wrote it the first time?

posted in [home], [technie]


11:00:23 AM    comment []


Click here to visit the Radio UserLand website. © Copyright 2006 David Seruyange.
Last update: 5/23/2006; 8:21:22 PM.
January 2003
Sun Mon Tue Wed Thu Fri Sat
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  
Dec   Feb