Browse by Tags

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...
Postedby jaybaz_MS | 28 Comments    
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...
Postedby jaybaz_MS | 7 Comments    
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...
Postedby jaybaz_MS | 8 Comments    
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...
Postedby jaybaz_MS | 16 Comments    
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...
Postedby jaybaz_MS | 8 Comments    
Filed under:
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...
Postedby jaybaz_MS | 3 Comments    
Filed under:
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...
Postedby jaybaz_MS | 0 Comments    
Filed under:
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...
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...
Postedby jaybaz_MS | 2 Comments    
Filed under:
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...
Postedby jaybaz_MS | 6 Comments    
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...
Postedby jaybaz_MS | 7 Comments    
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...
Postedby jaybaz_MS | 8 Comments    
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...
Postedby jaybaz_MS | 1 Comments    
Dru!
30 June 04 05:32 PM
Dru sent me a mail via this blog containing only this text: Does it generate x86 or CLR only? I can't be sure that this isn't a troll, so I'm posting this blog. Dru, what's up? What are you talking about? Read More...
Postedby jaybaz_MS | 1 Comments    
Filed under:
PDB always
29 June 04 11:51 AM
In my last post , I wrote: “ Debugging information (pdb). Set with ‘csc /debug[+|-]’. It doesn’t affect codegen, so it’s really not very interesting.” In my opinion, this should always be on, and compilers shouldn’t Read More...
Postedby jaybaz_MS | 8 Comments    

This Blog

Syndication

Page view tracker