April 2004 - Posts

Scott’s lazy loader
30 April 04 03:37 PM
Scott Wisniewski posted a lazy loader implementation on his blog. He coded it blind, without the help of a compiler that could do C# generics. I went back through and made it legal C# code. I also did a little refactoring. The ILazyLoader is now nested Read More...
Properties? Not my bag, baby.
29 April 04 02:27 PM
Eric recently posted a blog: “ Property or backing store from inside a class? ”, and I responded in a way that skirted the issue entirely. I want to discuss them in a little more detail. Part 1: Why bother? First, why do we use properties? Read More...
Postedby jaybaz_MS | 28 Comments    
CCC2: InitializeComponent()
28 April 04 02:14 PM
Call it a Clearest Code Challenge: What should InitializeComponent() look like? What’s the best code you can imagine, that the WinForms designer should generate? Let’s take a simple, concrete case: a form with an OK button. The button is anchored Read More...
Winforms designed code and C# partial classes
28 April 04 02:03 PM
In Whidbey, the WinForms designer takes advantage of a new C# language feature called “ partial classes ”. This allows them to pull out the designer generated code into a separate file. It has several advantages: · Users are less likely Read More...
Postedby jaybaz_MS | 29 Comments    
Filed under:
What's he got in his pocketssess?
27 April 04 10:58 PM
In my passwords post, several people mentioned carrying a USB drive with encrypted passwords on it. I used to have a small one, but lost it a while back. I don't one a new one, both because I'm trying to simply my life , and because I don't like to carry Read More...
Postedby jaybaz_MS | 10 Comments    
Filed under:
I h8 passw3rdz
27 April 04 04:33 PM
I'm sick of passwords. I want to be secure: Never reuse a password, month-to-month or site-to-site Use a secure, reliable random password generator Change all my passwords each month Don’t write them down on a post-it note on my monitor I want it Read More...
Postedby jaybaz_MS | 11 Comments    
Filed under:
Puffin’ along
25 April 04 10:35 PM
I quit smoking years ago, so that’s not what this is about. This is about a steam powered boat at the Center for Wooden Boats , called Puffin . Today we went down to the Center to go sailing. It was a beautiful day, with a good North breeze coming Read More...
Postedby jaybaz_MS | 3 Comments    
Filed under: ,
E&C Category added
24 April 04 01:29 AM
If you're bored on a Friday night, what better to do than read my blog? Especially exciting and insightful ones about C# Edit and Continue ? I'm really posting to tell you that I made an E&C Category. Read More...
Postedby jaybaz_MS | 0 Comments    
ZBB
22 April 04 05:02 PM
Perhaps you've seen Shaykat and Eric talk about ZBB. Now it's my turn. I'm the dev lead for the team that create the C# specific parts of the Editor. I'm also responsible for how the PU (Product Unit) gets to ZBB. That includes the C# Compiler & Debugger. Read More...
Postedby jaybaz_MS | 2 Comments    
How much is enough?
19 April 04 03:35 PM
How many computers do I need to get my job done? When I was new to Microsoft, I new that my first goal was to collect as much hardware as possible. I figured that with more computers, I could do more cool stuff. With two development machines, I could Read More...
Postedby jaybaz_MS | 5 Comments    
Whidbey Refactorings: Rename (part 2)
16 April 04 06:02 PM
Michael suggests : ...do the refactoring inline. It is WAY smoother and more productive that way I didn't mention in my previous post , but we do. If you edit a name at the definition, a smart tag appears, offering to run the Rename operation. Thanks Read More...
Postedby jaybaz_MS | 2 Comments    
Filed under:
Whidbey Refactorings: Rename
08 April 04 06:58 PM
Let's start by talking about Rename. I view Rename as being one of the “Tier 1” refactorings – the refactoring we absolutely must provide, and which must be of the highest quality. They must be fast, reliable, and easy to use. You’re Read More...
Postedby jaybaz_MS | 22 Comments    
English Breakfast
07 April 04 06:09 PM
My favorite drink is English Breakfast tea. Filtered water. Brewed exactly 3 minutes. 2 lumps. A little milk. I amused myself by creating a mug . Read More...
Postedby jaybaz_MS | 2 Comments    
Filed under:
What Refactorings are in Whdibey?
07 April 04 06:07 PM
If you didn't go to the last PDC or VSLive, and you're not an MSDN subscriber, you probably don't have access to any previews of Whidbey. (Hmm, what about Kazaa?). The big question on your mind, I’m sure, is “What refactorings actually made Read More...
Postedby jaybaz_MS | 7 Comments    
Filed under:
Upcoming Chat with Ron Jeffries
05 April 04 12:20 PM
15th April : Join Microsoft Press author Ron Jeffries in a chat about Extreme Programming Adventures in C# . Date: Thursday, April 15, 2004 Time: 9:00AM-10:30AM Pacific Time (GMT-8, US & Canada) Read More...
Postedby jaybaz_MS | 7 Comments    
Books
01 April 04 10:42 AM
I just created a section of links for what I'm reading these days. I also recently read Test Driven Development: By Example , Kent Beck. Read More...
Postedby jaybaz_MS | 0 Comments    
Page view tracker