... Home Contact

Krzysztof Koźmic's blog

You're doing it wrong.


Show appreciation: My Amazon.com Wish List

Me@Twitter

    Currently reading

    Article Categories

    Archives

    Post Categories

    MyPersonal

    Syndication:

    November 2007 Entries

    Regionerate your life

    After much waiting (two and a half months!). Rauchy released the new version of his great tool Regionerate. New version brings many changes and bugfixes: You can now choose how you want custom (created by Regionerate) regions to differentiate from other regions, by specifying custom prefix, wrapper, or usage of high ASCII character looking like space (read more here). Older versions of Regionerate were leaving fragments of source code embedded within regions not created by Regionerate (not having Regionerate' prefix to be exact) intact. Now you can make it also look into those regions (and remove them, putting their...

    Using 'using'

    Using classes (and structures for that matter) that implement IDisposable has one implication: when you're done using it, you should ASAP call it's Dispose() method. Like in the example: Pies item1 = new Pies("Pies 1"); Console.WriteLine("Accessing {0}", item1.Name); item1.Dispose(); To make life easier, and not have to remember to call this method directly you can alternatively use some 'syntactic sugar' in form of the 'using' keyword, and...

    Desktop

    Jeff Atwood in one of his recent posts stated: If you're really using your computer, your desktop should almost never be visible. I think this is an overstatement. If you're really using your computer, your desktop should be your command center. I agree with Jeff, that stuffing your desktop with lots of icons, shortcuts, documents etc is not basically a good idea. It makes your desktop a mess, and its hard to command if you have a mess in your command center. I try, as a rule of thumb, to not exceed the number of 10 files on my...