Monday, June 9, 2014 #

Prof. Dr. Michio Kaku - The Next 20 Years: How Science Will Revolutionize Business, Finance, Trade, and our way of life

Check out this very interesting talk by Mishio Katu about how technology will revoluzionize our lifes. 

Here's the link. It's the third video.

Posted On Monday, June 9, 2014 11:46 AM | Comments (0)

Saturday, May 17, 2014 #

xUnit Test Patterns and Smells



Nice talk about unit testing and smells by Gerard Meszaros.

Posted On Saturday, May 17, 2014 10:46 PM | Comments (0)

Wednesday, July 17, 2013 #

Clean code talks by Misko Hevery - Part 4: Global State and Singletons



Global state (and singletons) is a big problem for testing because the global state cannot be controlled by the tests.

Dependency injection enforces the order of initialization at compile time. No magic behind the scene, that singletons get initialized and method talk to each other without the programmer knowing it.

Posted On Wednesday, July 17, 2013 9:36 PM | Comments (0)

Sunday, July 7, 2013 #

Clean code talks by Misko Hevery - Part 3: Dont look for things!



The constructor should have the objects you need as arguments. Don't use locator (object through which you get the object you actually need). In a test like this it is a lot easier to construct! You can just construct the objects needed. You don't need to construct the locator first and then reach in the locator to get the object you actually need.

--> This is law of demeter. Don't pass around objects you don't need. You don't want to know about objects you don't need.

DO this:

public House(Door door, Window window)
{
    _door = door;
    _window = window;
}


NOT this:

public House(Locator locator)
{
    _door = locator.getDoor();
    _window = locator.getWindow();
}

Posted On Sunday, July 7, 2013 9:50 PM | Comments (0)

Wednesday, July 3, 2013 #

Clean code talks by Misko Hevery - Part 2: Unit Testing



He says something brilliant:

There is no secret to writing tests...
... there are only secrets to writing testable code!

Unit Tests require a separation of instantiation of the object graph from the business logic.
  • do not use new(...) in the business logic. Use Factories.
  • do not use global variables/state
  • no static methods

Posted On Wednesday, July 3, 2013 9:48 PM | Comments (0)

Sunday, June 23, 2013 #

Clean code talks by Misko Hevery - Part 1: Polymorphism

Recently I found these videos about writing testable code and found them very helpful.

Posted On Sunday, June 23, 2013 8:22 PM | Comments (0)

Sunday, March 31, 2013 #

Oncle Bob Interview

Posted On Sunday, March 31, 2013 11:17 PM | Comments (0)

Saturday, March 30, 2013 #

David Allen about 'Getting Things Done'

Nice presentation he had at google:

Posted On Saturday, March 30, 2013 10:56 PM | Comments (0)

Wednesday, March 27, 2013 #

Practical MVVM Talk by Joel Cochran

Posted On Wednesday, March 27, 2013 8:57 AM | Comments (0)

Thursday, February 28, 2013 #

Great Video about MVVM

Posted On Thursday, February 28, 2013 6:28 PM | Comments (0)

Copyright © huwyss

Design by Bartosz Brzezinski

Design by Phil Haack Based On A Design By Bartosz Brzezinski