A Better Property Snippet
One of the less well known features in Visual Studio are the snippets -
fragments of code ready for insertion into your code at a moments notice. In
Visual Studio 2005, the prop snippet was a very useful way to declare new
class properties, but in Visual Studio 2008 they crippled it. Since you can
create your own snippets, I created a better version of propthat works the
way I want.
Open for Comments
There’s always the possibility that I’ll regret doing this, but for the moment, the site is open for comments.
Renaming WPF Windows
So, I wanted to rename a window in a WPF application - a prototype I’m working on.
Conditional Compilation
Now here’s a trick that I didn’t know - you can use the [Conditional]
attribute to suppress a method unless a given symbol is defined at compile time.
The End of an Era
I saw the news in the technology section of the newspaper this week that Compudigm is no more.
YAGNI is no excuse to be lazy
There’s one thing that really really bugs me about Agile development … well, ok, there are several things, but today I’m focusing on just one … and that’s the thinking around YAGNI. In case you’re not familiar with the acronym, it stands for You Ain’t Gonna Need It.
Git
Today I was listening to a recent episode of Hanselminutes, where Scott Hanselmann interviewed three guys from Planet Argon about the source control tool Git. I originally heard about Git some time ago and didn’t pay it any heed - having heard the show and done some follow-up research, I’m beginning to think that Git would be worth further investigation.
User Settings Gotcha in Visual Studio
Found an interesting trap when configuring settings for a screensaver I’m working on. In Visual Studio, you can configure Settings for your project - there’s a dedicated page of project properties just for this purpose:
NAnt Naming
I’m a firm believer in making the computer work harder than I do. The Pragmatic Programmers call this Ubiquitous Automation - whatever can be automated, should be automated.
Copy Error Dialogs
Here’s a quick tip I was shown by a friendly Help Desk guy this week (thanks, Ben!).
Configuration Manager in Visual Studio Express
This one has been bugging me for a while, so I’m very glad to find a fix. The defaults for Visual Studio Express have the Configuration Manager hidden, I guess on the justifiable basis that most users of VS Express would just be confused by it. If you do need it however, you can make it visible.
Spec#
Spec# is a C# based language from Microsoft Research. It extends the language by adding comprehensive support for Contract Based Programming, with new keywords such as assume, require and expose.
Earlier
« March 2008
Later
May 2008 »