web.archive.org/web/20230531093323/http:/alexandregazola.wordpress.com/2009/09/23/testability-how-much-logic-belongs-in-the-constructor

Preview meta tags from the web.archive.org website.

Linked Hostnames

1

Thumbnail

Search Engine Appearance

Google

https://web.archive.org/web/20230531093323/http:/alexandregazola.wordpress.com/2009/09/23/testability-how-much-logic-belongs-in-the-constructor

Testability: How much logic belongs in the constructor?

The other day my colleague and I were pair-programming and we came across a dilemma regarding the design of a class which was responsible to load the configuration properties of our application. The class looked like the following (a little oversimplified): In order to achieve better testability by minimizing side-effects, it´s highly recommended to strive for simple…



Bing

Testability: How much logic belongs in the constructor?

https://web.archive.org/web/20230531093323/http:/alexandregazola.wordpress.com/2009/09/23/testability-how-much-logic-belongs-in-the-constructor

The other day my colleague and I were pair-programming and we came across a dilemma regarding the design of a class which was responsible to load the configuration properties of our application. The class looked like the following (a little oversimplified): In order to achieve better testability by minimizing side-effects, it´s highly recommended to strive for simple…



DuckDuckGo

https://web.archive.org/web/20230531093323/http:/alexandregazola.wordpress.com/2009/09/23/testability-how-much-logic-belongs-in-the-constructor

Testability: How much logic belongs in the constructor?

The other day my colleague and I were pair-programming and we came across a dilemma regarding the design of a class which was responsible to load the configuration properties of our application. The class looked like the following (a little oversimplified): In order to achieve better testability by minimizing side-effects, it´s highly recommended to strive for simple…

  • General Meta Tags

    18
    • title
      Testability: How much logic belongs in the constructor? | Alexandre Gazola
    • charset
      UTF-8
    • viewport
      width=device-width, initial-scale=1
    • robots
      max-image-preview:large
    • generator
      WordPress.com
  • Open Graph Meta Tags

    8
    • og:type
      article
    • og:title
      Testability: How much logic belongs in the constructor?
    • og:url
      https://web.archive.org/web/20230129000824/https://alexandregazola.wordpress.com/2009/09/23/testability-how-much-logic-belongs-in-the-constructor/
    • og:description
      The other day my colleague and I were pair-programming and we came across a dilemma regarding the design of a class which was responsible to load the configuration properties of our application. Th…
    • og:site_name
      Alexandre Gazola
  • Twitter Meta Tags

    2
    • twitter:text:title
      Testability: How much logic belongs in the constructor?
    • twitter:card
      summary
  • Link Tags

    58
    • EditURI
      https://alexandregazola.wordpress.com/xmlrpc.php?rsd
    • alternate
      https://web.archive.org/web/20230129000824/https://alexandregazola.wordpress.com/feed/
    • alternate
      https://web.archive.org/web/20230129000824/https://alexandregazola.wordpress.com/comments/feed/
    • alternate
      https://web.archive.org/web/20230129000824/https://alexandregazola.wordpress.com/2009/09/23/testability-how-much-logic-belongs-in-the-constructor/feed/
    • alternate
      https://web.archive.org/web/20230129000824/https://public-api.wordpress.com/oembed/?format=json&url=https%3A%2F%2Falexandregazola.wordpress.com%2F2009%2F09%2F23%2Ftestability-how-much-logic-belongs-in-the-constructor%2F&for=wpcom-auto-discovery

Links

92