Messages - jazper [ switch to compact view ]

Pages: prev1 [2] 3 4 5 6 7 ... 19next
6
Developer's Corner / The Composed Method pattern
« on: October 28, 2010, 01:48 PM »
I've been a big fan of this and now I know the actual name for this style of coding.  Anyone else find themselves doing this?  I use to be a bit gun shy on creating so many methods but I truely find code a lot easier to read when the methods are broken down into simpler tasks and the names given to the methods are much more meaningful.

Composed Method pattern:
The Composed Method pattern

One of the things I've adopted over the years in my own programming is the use of small methods -- that is, small as in few lines of code. It's made much easier by the use of a good Extract Method refactoring tool. In my case, that's CodeRush, and it's become second nature to apply Extract Method as I'm writing the code since there no cognitive friction in using it.

I was delighted to learn recently that this practice is known as the Composed Method pattern. It was first devised and promoted by Kent Beck in Smalltalk. In essence, there are three rules to the pattern:

   1. Divide your programs into methods that only perform one identifiable task.
   2. Keep all of the operations in a method at the same level of abstraction.
   3. This will result in programs with many small methods, each a few lines long.


http://community.devexpress.com/blogs/ctodx/archive/2010/08/18/devexpress-newsletter-32-message-from-the-cto.aspx

http://tv.devexpress.com/#ComposedMethodPattern



7
I use dropbox for folder syncing between multiple computers.  Works great in my opinion.  They have a free 2gb account but can be upgraded to a larger amount for a price.


(Note: FYI, that is a referral link, don't want to seem shady)

8
Open Task Manager , Go to Processes Tab,  right click process -> "Open File Location"

or am I missing something?

9
Developer's Corner / Re: Delphi master needed
« on: November 07, 2008, 09:16 PM »
This isn't what you are looking for, but maybe anothe avenue to explore

http://code.google.com/apis/adwords/docs/developer/KeywordToolService.html

10
General Software Discussion / Re: Dropbox - Offering paid plan now
« on: September 26, 2008, 12:49 PM »
Yes, sorry..I was a beta tester and ran out of 2gb space, so they gave me an additional 3gb, which I get to keep. I forgot about that!

Pages: prev1 [2] 3 4 5 6 7 ... 19next
Go to full version