Jon Shute's Weblog : Ramblings on .NET and writing debuggers
Updated: 08/05/2004; 13:44:27.

 

Subscribe to "Jon Shute's 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.

 
 

13 March 2003

Brittish Democracy. I do hafta say that I absolutely love watching the Brittish Parliament in action. The open debate style is brilliant. It's a shame that we've lost those elements in our... [snellspace]

It's all well and good for the most part until you get somebody like Blair who ignores everything everybody else says over a subject like Iraq.


What other blogs are saying about this post.
4:13:10 PM    comment []  trackback []

I often see people using string concatenation to create directory names. Like this:

string path = "C:\\data\\" + filename;

But there's a much better API:

string path = System.IO.Path.Combine("C:\\data", filename);

Not only does this take care of the whole, "Do I need a trailing slash?" issue, but if you specify an absolute path for the second parameter, it will just return the second parameter. That means that someone can enter "foo" or "C:\\temp\\foo" for filename, and it'll do what you'd expect.

[CraigBlog]

I didn't know about that last feature. Very useful.


What other blogs are saying about this post.
4:09:46 PM    comment []  trackback []

http://www.guardian.co.uk/worldlatest/story/0,1280,-2474171,00.html. Not that it matters at all since the war will happen anyway.
What other blogs are saying about this post.
1:09:31 PM    comment []  trackback []

Back from the deep....

<snip/>

 doing architecture work for a new product we're developping. This means UML with the excellent tool I found called Enterprise Architect. Basically, It's Rose with a much nicer GUI and at a fraction of the price.

[Frederic Gos's WebLog]

Now that's a much nicer price... I'll take a look at that.


What other blogs are saying about this post.
11:19:21 AM    comment []  trackback []

© Copyright 2004 Jon Shute.



Click here to visit the Radio UserLand website.   Listed on BlogShares

 


March 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          
Feb   Apr