jaybaz [MS] WebLog
We believe in nothing.
July 2004 - Posts
Making “Promote Local” make sense.
29 July 04 07:50 PM
We’re sitting around watching a video from a usability study. A subject has been exploring the Refactoring menu, and has just tried Promote Local . With the help of the very specific error messages I wrote (yay exceptions), he finally gets it work.
Read More...
Whidbey Refactorings: Signature Change
25 July 04 03:51 PM
Almost 4 months after the first post in the series … not bad! There are 3 Signature Change Refactorings: Remove Parameter Reorder Parameter Promote Local I rank these as “Tier 2” – they’re not as important as Extract Method
Read More...
Answer Ron's questions about C# Refactorings.
25 July 04 12:19 PM
On the Yahoo! Groups Refactoring DL, Ron Jeffries asked some questions about Visual C# 2005 Refactorings. "Can you say how you expect the Microsoft refactorings to stack up against the existing ones that are out there?" I've personally spent very little
Read More...
My blogroll
22 July 04 04:38 PM
I don't have a blogroll listed in the sidebar. I read in SharpReader , and maintaining two lists seems tedious. So, I've saved an OPML file that you can import into your reader if you're curious. Be sure to use “Save Target As”.
Read More...
What are named indexers?
21 July 04 09:49 AM
Someone asked me about this, so I decided to write up the answer here in case other folks are interested. Indexers are pretty well documented on the web; I’ll quote some here. http://www.csharphelp.com/archives/archive140.html C# introduces a new
Read More...
Refactoring the XMLNotepad
20 July 04 03:14 PM
I’ve been reading Extreme Programming Adventures in C#. Currently reading Chapter 28 (Undo). Through most of the book, there has been a bit of Refactoring that the code has been crying out for. At first I thought Ron was waiting to until the duplication
Read More...
Keeping disks defragmented
19 July 04 02:25 PM
I want to keep my disks defragmented, with these constraints: · Don’t consume the disk IO resources while I’m working · Don’t make me remember to launch defrag before I go home · Defrag all my disks, not just one (Windows
Read More...
email = pain?
17 July 04 11:43 AM
A while back I took a training class called "Action Management!". Say it with a deep superhero announcer voice. The idea is that we receive requests for actions from many different sources. Email, voice mail, someone asks you to do something in the hall,
Read More...
A way to do named indexers.
16 July 04 12:49 PM
In this entry on Ladybug , a customer asked for named indexers in C#. Here’s one way to get it: class Car { object [] wheels; public WheelsHelper Wheels { get { return new WheelsHelper ( this ); } } public class WheelsHelper { readonly Car _outer;
Read More...
Off the cuff, off the top
16 July 04 12:35 PM
Looking over the top-10 lists on Ladybug , I realized there's an excuse to speak up. So, here goes: Suggestions #1 - C# Edit and continue. Dude. Yeah. Totally. We've been saying for a while that this is our #1 customer request. Now you're saying it, too.
Read More...
Dear postal resident
16 July 04 11:57 AM
When you enter an issue in Ladybug you should always get a response from us. We have a goal of responding to every issue you report. When I write my response, I identify myself clearly, so you can come complain if you don't like what I say. I also like
Read More...
Want to work on [TOP SECRET]?
14 July 04 05:32 PM
I was reading job descriptions today and came across this one . Cool thing is, I actually do know what it's about. But I can't tell you.
Read More...
RANU: Running Admin Tasks easily
14 July 04 10:01 AM
A while back I described the set of shortcuts I use to run things as Administrator, even though I'm logged on as a Limited User. I've packaged them up for dowload . Enjoy. Overview Logging on as a restricted user greatly increases security, protecting
Read More...
Kevin seeking feedback on Formatting behavior
09 July 04 06:48 PM
Based on some feedback from the Beta, we're tuning the behavior of the VS 2005 Formatting Engine. We'd like to hear what you think of the changes.
Read More...
Geek Nirvana
09 July 04 12:33 PM
Yesterday I got it to work. All of it, at the same time. Even though I was outside, I was still connected . Tablet PC -> USB -> Bluetooth dongle -> radio -> cell phone -> GPRS -> internet So, it's not fast, but it does work. This morning
Read More...
The hidden costs of a Refactoring
07 July 04 10:49 AM
Looking over our oldest C++ code, there is, of course, a lot of potential for Refactoring. That’s a nice way of saying that it sucks. We learned about Refactoring because we wanted to build good tools for our customers. Along the way, we also realized
Read More...
Disclaimer
07 July 04 09:43 AM
My employer says I should have a disclaimer. I suggested “Not for use by minors” but they declined. This disclaimer applies to all posts on my blog: This posting is provided "AS IS" with no warranties, and confers no rights. Use of included
Read More...
Three days of boats and music
06 July 04 09:17 PM
This weekend was the Wooden Boat Festival on Lake Union . Of course, we had to be there. Saturday Wake up at 6:30am, decide to start getting ready right away, before the family wakes up. End up reading EPAiC# for a 1/2 hour, miss my window; they are up
Read More...
API writability and the editor
06 July 04 10:54 AM
Steve Clark talked about usability of APIs, and a snag some users hit when writing against ADO.NET, and some possible ways to help. It should come as no surprise that I think the ideal solution for this problem relies on the editor. (Because my team makes
Read More...
More about the event class
02 July 04 03:46 PM
In Popular patterns around events? , several folks mentioned that a usage example would be a good idea. As I put one together, I found some small changes to make to the code. Just goes to show you that thinking about your consumer is a good idea. Since
Read More...
If test fixtures could be private
01 July 04 07:42 PM
Last one for the day, then I go home. You’ve read Test Methods are neither Methods nor Tests . You’ve dried off & are fully recovered. This is the practical reason why NUnit should remove the ‘public’ requirements from test
Read More...
Test Methods are neither Methods nor Tests
01 July 04 05:49 PM
Put on your life vest & tankini. We’re heading off into the deep end again. You’re doing TDD . You are happy with the results, enjoying the thrill of going fast . As with most C# projects done test-first, you have some code that looks
Read More...
Popular patterns around events?
01 July 04 05:03 PM
In Properties with events: another attempt , Omer said: I would rather have a protected virtual OnSet method and AfterSet event than just an OnSet event (also consistant with the naming convention ;). I know understand that this is a common pattern found
Read More...
Making regex less painful
01 July 04 03:09 PM
So, Regex is darn powerful. But they’re hard to write correctly, hard to read, and hard to verify. To wit: Regex repositories around the ‘net, where you can find regexes instead of writing them. ( google ) Regex tools – Eric’s
Read More...
Looking for guidance on exceptions
01 July 04 02:51 PM
Are there any books or other media that have good guidance on the use of exceptions in code? I'd like to get really deep here, so we can get a good understanding of how & when to use exceptions correctly. What's your favorite?
Read More...
Refactoring Party
01 July 04 12:24 PM
In What are my Goals? , Jim asked : How do you plan to "Develop a culture of energy, productivity, and learning on the team"? One of the activities I have in mind is a reoccurring Refactoring Party. It works like this: Each week we come together for an
Read More...
Language Readability vs. Writability
01 July 04 11:57 AM
In my previous post , I said: “Unfortunately, language readability is often at odds with writability.” And “Generic method type parameters are inferred from the concrete parameters” Here’s what I’m talking about: T
Read More...
Language design for Refactoring
01 July 04 11:39 AM
A question came up on the Yahoo! Groups Refactoring Group about what language design would be best to support Refactoring. We think about this quite a bit, but usually we phrase the question more generally: What language design would make it easiest to
Read More...
Go
This Blog
Home
Links
Tags
Admin vs. Normal User
C# Edit and Continue
Development Practices
Personal
PowerShell
Refactoring
Sailing
Visual Studio
Windows Home Server
Archives
November 2007 (2)
October 2007 (3)
September 2007 (2)
June 2007 (1)
April 2007 (2)
March 2007 (2)
February 2007 (1)
January 2007 (4)
October 2006 (2)
August 2006 (1)
May 2006 (1)
October 2005 (2)
August 2005 (5)
May 2005 (2)
April 2005 (6)
January 2005 (3)
December 2004 (6)
November 2004 (4)
October 2004 (3)
September 2004 (9)
August 2004 (14)
July 2004 (28)
June 2004 (54)
May 2004 (26)
April 2004 (16)
March 2004 (23)
February 2004 (11)
January 2004 (2)
December 2003 (3)
Syndication
RSS 2.0
Atom 1.0
See also my
Personal blog
.