jaybaz [MS] WebLog

We believe in nothing.

  • jaybaz [MS] WebLog

    Making “Promote Local” make sense.

    • 8 Comments
    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...
  • jaybaz [MS] WebLog

    Whidbey Refactorings: Signature Change

    • 28 Comments
    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...
  • jaybaz [MS] WebLog

    Answer Ron's questions about C# Refactorings.

    • 7 Comments
    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...
  • jaybaz [MS] WebLog

    My blogroll

    • 5 Comments
    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”.
  • jaybaz [MS] WebLog

    What are named indexers?

    • 8 Comments
    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#...
  • jaybaz [MS] WebLog

    Refactoring the XMLNotepad

    • 9 Comments
    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...
  • jaybaz [MS] WebLog

    Keeping disks defragmented

    • 14 Comments
    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...
  • jaybaz [MS] WebLog

    email = pain?

    • 4 Comments
    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...
  • jaybaz [MS] WebLog

    A way to do named indexers.

    • 16 Comments
    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...
  • jaybaz [MS] WebLog

    Off the cuff, off the top

    • 8 Comments
    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...
  • jaybaz [MS] WebLog

    Dear postal resident

    • 3 Comments
    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...
  • jaybaz [MS] WebLog

    Want to work on [TOP SECRET]?

    • 3 Comments
    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.
  • jaybaz [MS] WebLog

    RANU: Running Admin Tasks easily

    • 7 Comments
    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...
  • jaybaz [MS] WebLog

    Kevin seeking feedback on Formatting behavior

    • 0 Comments
    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.
  • jaybaz [MS] WebLog

    Geek Nirvana

    • 7 Comments
    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...
  • jaybaz [MS] WebLog

    The hidden costs of a Refactoring

    • 2 Comments
    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...
  • jaybaz [MS] WebLog

    Disclaimer

    • 3 Comments
    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...
  • jaybaz [MS] WebLog

    Three days of boats and music

    • 6 Comments
    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...
  • jaybaz [MS] WebLog

    API writability and the editor

    • 2 Comments
    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...
  • jaybaz [MS] WebLog

    More about the event class

    • 3 Comments
    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. ...
  • jaybaz [MS] WebLog

    If test fixtures could be private

    • 2 Comments
    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...
  • jaybaz [MS] WebLog

    Test Methods are neither Methods nor Tests

    • 17 Comments
    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...
  • jaybaz [MS] WebLog

    Popular patterns around events?

    • 6 Comments
    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...
  • jaybaz [MS] WebLog

    Making regex less painful

    • 7 Comments
    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...
  • jaybaz [MS] WebLog

    Looking for guidance on exceptions

    • 6 Comments
    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?
Page 4 of 10 (238 items) «23456»