Excellent talk. ... By: TheDerravaragh. on 02 Dec 11, 00:44:17 Excellent talk. Very? concise and intuitive examples.
Monkey patching is ... By: FlareVulca. on 22 Nov 11, 01:46:19 Monkey patching is also bad because in? order to do it you must know some of a units implementation in order to patch the correct things. With dependency injection it becomes part of the interface. This way tests wont break when you change implementation.
Jesus... Is it from ... By: gsagula2. on 02 Nov 11, 06:12:43 Jesus... Is it from Google??
Building a car, you ... By: h2o2m3n. on 13 Oct 11, 01:51:11 Building a car, you need a facade, users doesnt have to know how car works. So we implement the? facade yes?
Likewise while testing, you can plug the tests to a facade and you can test it, you ll find out where it fails.
code quickly ... By: adg16610. on 23 Aug 11, 19:19:19 code quickly becomes hard? to test if it is written .... _before_ the unit tests ;)
brilliant talk... ... By: becku007. on 02 Aug 11, 06:00:48 brilliant talk...just loved the fact that the talk was very precise and also appreciate the speaker's attitude in accepting the opinions from? viewers...
Is he a googler. ? ... By: mohrukh. on 10 Jun 11, 08:32:35 Is he a googler. ? I doubt tat ...Yes he has some valid points ..But for a googler his presentation is all over the place.. For example, Static methods are hard to Test ?. As we know we write helper class with static methods.. Is it hard to test the class ? no not really.... It shoud be static methods are hard to mock.. The class which consumes static methods has no way to mock that particular method.. ? Should we write helper classes with static methods then?Thats a? huge topic for discussion.
Existent latian ... By: tinajul. on 01 Mar 11, 13:45:20 Existent latian beautiful girls dating ? busizz4me.info
We hit it off so ... By: sadulkmali. on 04 Feb 11, 04:53:30 We hit it off so well after another visit ? busizz4me.info
We hit it off? so ... By: ayasadisanyaka. on 29 Jan 11, 07:53:30 We hit it off? so well after another visit busizz4me.info
He makes some ... By: ayezick. on 13 Jan 11, 20:52:58 He makes some excellent points, but at? the same time he makes it sound like there is nothing to say about writing unit tests. That isn't true. Tests should be short, clear and focused. They should mock out dependencies and test one thing at a time. Otherwise you don't know where to look when they fail. Writing good tests doesn't happen automatically by writing testable code and writing the tests first. It takes practice and thought.
Need to? marry you ... By: kutroyortana. on 07 Dec 10, 10:50:43 Need to? marry you **busizz4me.info**
Some great ... By: ChevailerNoir. on 01 Nov 10, 23:23:02 Some great information. I like that you talk? about things that aren't emphasized in school.
that was great!? By: spamero2. on 05 Aug 10, 19:52:52 that was great!?
when he mentioned ... By: johanizahri. on 20 Feb 10, 16:35:30 when he mentioned about the evil of global state, i almost instatly thought of NWO.. :))
I think that's an analogy for the human anthropological level, and it's? definitely untestable :P
search
world ... By: drmondman1. on 16 Aug 09, 21:45:42 search
world government control? code project red pill
Great talk as for ... By: zhabervog. on 05 Jul 09, 16:11:06 Great talk as for me. Just don't understand why there is no people? in the end. Is this staff so obvious for Google guys?
great? talk! By: neohubris. on 19 Feb 09, 06:22:45 great? talk!
Keep the good? ... By: succelus. on 23 Dec 08, 00:35:26 Keep the good? Talks !
This? should be ... By: D3mi4n. on 17 Dec 08, 19:32:08 This? should be part of some kind of "Google academy for software developers"
A kind of virtual course for student with, and without, CS (or related) degrees.
I love these Clean ... By: scottburton11. on 21 Nov 08, 02:13:03 I love these Clean Code Talks with Misko too, he's resolved a lot of issues for me.
View the latest one for examples of why static methods, global state and singletons make bad seams and make code harder to test. Even when you can mock the state, its an indication that something else depends on it, that tests have to be run in a specific order, and lots of other issues. It's enlightening.?
Excellent, very ... By: tartley. on 05 Nov 08, 22:05:52 Excellent, very insightful. I've? been enjoying Misko's essays for a while now.
However, in dynamic languages, I don't think it is true that static method calls cannot form a seam for testing. In Python, for example, a static method can be patched out temporarily on either the current module, or another module, for the duration of the test. We use this technique at my work all the time for testing.
Latest comments made on this video:
By: TheDerravaragh. on 02 Dec 11, 00:44:17
Excellent talk. Very? concise and intuitive examples.
By: FlareVulca. on 22 Nov 11, 01:46:19
Monkey patching is also bad because in? order to do it you must know some of a units implementation in order to patch the correct things. With dependency injection it becomes part of the interface. This way tests wont break when you change implementation.
By: gsagula2. on 02 Nov 11, 06:12:43
Jesus... Is it from Google??
By: h2o2m3n. on 13 Oct 11, 01:51:11
Building a car, you need a facade, users doesnt have to know how car works. So we implement the? facade yes? Likewise while testing, you can plug the tests to a facade and you can test it, you ll find out where it fails.
By: adg16610. on 23 Aug 11, 19:19:19
code quickly becomes hard? to test if it is written .... _before_ the unit tests ;)
By: becku007. on 02 Aug 11, 06:00:48
brilliant talk...just loved the fact that the talk was very precise and also appreciate the speaker's attitude in accepting the opinions from? viewers...
By: mohrukh. on 10 Jun 11, 08:32:35
Is he a googler. ? I doubt tat ...Yes he has some valid points ..But for a googler his presentation is all over the place.. For example, Static methods are hard to Test ?. As we know we write helper class with static methods.. Is it hard to test the class ? no not really.... It shoud be static methods are hard to mock.. The class which consumes static methods has no way to mock that particular method.. ? Should we write helper classes with static methods then?Thats a? huge topic for discussion.
By: tinajul. on 01 Mar 11, 13:45:20
Existent latian beautiful girls dating ? busizz4me.info
By: sadulkmali. on 04 Feb 11, 04:53:30
We hit it off so well after another visit ? busizz4me.info
By: ayasadisanyaka. on 29 Jan 11, 07:53:30
We hit it off? so well after another visit busizz4me.info
By: ayezick. on 13 Jan 11, 20:52:58
He makes some excellent points, but at? the same time he makes it sound like there is nothing to say about writing unit tests. That isn't true. Tests should be short, clear and focused. They should mock out dependencies and test one thing at a time. Otherwise you don't know where to look when they fail. Writing good tests doesn't happen automatically by writing testable code and writing the tests first. It takes practice and thought.
By: kutroyortana. on 07 Dec 10, 10:50:43
Need to? marry you **busizz4me.info**
By: ChevailerNoir. on 01 Nov 10, 23:23:02
Some great information. I like that you talk? about things that aren't emphasized in school.
By: spamero2. on 05 Aug 10, 19:52:52
that was great!?
By: johanizahri. on 20 Feb 10, 16:35:30
when he mentioned about the evil of global state, i almost instatly thought of NWO.. :)) I think that's an analogy for the human anthropological level, and it's? definitely untestable :P
By: N4ll1fy. on 23 Sep 09, 08:25:10
Great? video!
By: drmondman1. on 16 Aug 09, 21:45:42
search world government control? code project red pill
By: zhabervog. on 05 Jul 09, 16:11:06
Great talk as for me. Just don't understand why there is no people? in the end. Is this staff so obvious for Google guys?
By: neohubris. on 19 Feb 09, 06:22:45
great? talk!
By: succelus. on 23 Dec 08, 00:35:26
Keep the good? Talks !
By: D3mi4n. on 17 Dec 08, 19:32:08
This? should be part of some kind of "Google academy for software developers" A kind of virtual course for student with, and without, CS (or related) degrees.
By: scottburton11. on 21 Nov 08, 02:13:03
I love these Clean Code Talks with Misko too, he's resolved a lot of issues for me. View the latest one for examples of why static methods, global state and singletons make bad seams and make code harder to test. Even when you can mock the state, its an indication that something else depends on it, that tests have to be run in a specific order, and lots of other issues. It's enlightening.?
By: tartley. on 05 Nov 08, 22:05:52
Excellent, very insightful. I've? been enjoying Misko's essays for a while now. However, in dynamic languages, I don't think it is true that static method calls cannot form a seam for testing. In Python, for example, a static method can be patched out temporarily on either the current module, or another module, for the duration of the test. We use this technique at my work all the time for testing.