Drag-and-drop Gutter Icons in Delphi 2010

Sticking with the theme of small but useful features in Delphi 2010, did you know you can now drag-and-drop various code-editor gutter icons?

Let’s say you’ve set a breakpoint, and right-clicked to adjust its properties, such as pass count, thread, group and various other settings. Then you realise you actually wanted this on a different line instead. In the past you’d have to create a new breakpoint and set all those properties yet again.

Read On…

Two Free Domain Driven Design ebooks

I’ve been doing a bit of reading on Domain Driven Design lately. I read the blue book awhile back, and have to admit to not being blown away. However, that was obviously my fault, as the hype around DDD has been building. There are two free ebooks that are helping make the penny drop for me: DDD Quickly, which ironically is a summary of the aforementioned blue book that I’ve already read, and DDD – Step by Step. There’s something here, just not sure yet whether it is some useful guidance or a movement all of its own.

Refactoring Support for Attributes in Delphi 2010

I mentioned earlier that a lot of work in this release had gone into smaller features and feature tweaks. One of the results is that the IDE keeps giving me pleasant surprises. I’ll try to do something without even really thinking about whether it should work or not, and find that it not only works, but that it goes a little further than I might have thought.

One example is around Refactoring support for Attributes. If you look at my first, simple example of Attributes, one of the many things wrong with it is that the Attribute name is terrible. Unless I never plan on writing more than one Attribute, MyAttribute is probably not the best choice.

Read On…