Thomas Sundberg

April 6, 2011

Four rules of simple design

This post is available at http://www.thinkcode.se/blog/2011/04/06/four-rules-of-simple-design

Advertisements

7 Comments »

  1. […] los entwickeln. Doch die ersten Aufgaben folgten schon bald: in der nächsten Runde sollten die 4 Regeln des einfachen Designs beachtet werden. Adrian machte aber auch nochmal klar, das ein Code Retreat nicht zwangsläufig […]

    Pingback by blaulabs » Blog Archive » Get your hands dirty – ein Code Retreat! — October 25, 2011 @ 17:17

  2. s/Also, no method should not have more then one level of abstraction./Also, no method should have more than one level of abstraction./

    Comment by David — October 29, 2011 @ 12:47

    • I think the level of abstraction is covered within the second rule, reveal intent. If you have different levels of abstractions within the same method, you are not clear and are therefore not revealing intent properly.

      But I totally agree that having the same level of abstraction is crucial. But that is not limited to methods, classes should also have the same level of abstraction.

      Comment by Thomas Sundberg — October 30, 2011 @ 10:42

      • I also agree but “no method should not have more th*a*n one level of abstraction” says the opposite thing. That’s why I thought theres a “not” too much.

        Comment by David — October 30, 2011 @ 11:35

      • Now I saw what you meant. And yes, there were a double negation I had missed.
        Thanks for pointing it out.

        Comment by Thomas Sundberg — October 30, 2011 @ 16:31

  3. […] Důraz je kladen na čistotu kódu, TDD a pravidla jednoduchého návrhu. […]

    Pingback by Co je to ten Code Retreat? | Tomáš Látal — October 29, 2014 @ 11:20

  4. […] Důraz je kladen na čistotu kódu, TDD a pravidla jednoduchého návrhu. […]

    Pingback by Co je to Coderetreat? | IT mag - novinky z IT — November 4, 2014 @ 04:16


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: