Entries Tagged as 'Uncategorized'

Clean Code Talks - Dependency Injection

November 11th, 2008 · 4 Comments

by Miško Hevery
Google Tech Talks
November 6, 2008
ABSTRACT
Clean Code Talk Series
Topic: Don’t Look For Things!
Speaker: Miško Hevery
Video

Slides

Share and Enjoy:

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • De.lirio.us
  • E-mail this story to a friend!
  • Reddit
  • Slashdot
  • StumbleUpon
  • Blogosphere News
  • description
  • TwitThis

Tags: Uncategorized

Clean Code Talks - Unit Testing

November 4th, 2008 · 2 Comments

by Miško Hevery
Google Tech Talks October, 30 2008 ABSTRACT Clean Code Talks - Unit Testing Speaker: Misko Hevery
Video

Slides

Share and Enjoy:

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • De.lirio.us
  • E-mail this story to a friend!
  • Reddit
  • Slashdot
  • StumbleUpon
  • Blogosphere News
  • description
  • TwitThis

Tags: Uncategorized

Pass Around Ginormous Context Objects

October 27th, 2008 · 5 Comments

This question was submitted by one of the readers, and it shows a common questions people ask when they are coming up to speed when trying to write testable code….
About “Pass[ing] around ginormous context objects” (http://misko.hevery.com/2008/07/24/how-to-write-3v1l-untestable-code/) – this situation comes up for me when [I] trying to get configuration settings into my application. I want [...]

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • De.lirio.us
  • E-mail this story to a friend!
  • Reddit
  • Slashdot
  • StumbleUpon
  • Blogosphere News
  • description
  • TwitThis

Tags: Uncategorized

Application Wiring on Auto-Pilot

September 24th, 2008 · 6 Comments

by Miško Hevery
We talked about how it is important to separate the new operators from the application logic. This separation forces your code to have factories which are responsible for wiring your application together. By separating this responsibility the tests can always wire together a subset of an application with key components replaced for friendlies [...]

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • De.lirio.us
  • E-mail this story to a friend!
  • Reddit
  • Slashdot
  • StumbleUpon
  • Blogosphere News
  • description
  • TwitThis

Tags: Uncategorized

How I got Started Programming

August 18th, 2008 · No Comments

Tagged by Dave Astels
How old were you when you started programming?
It is hard to believe but I was 8 years old. 1984 was the year and we just got Sinclair ZX Spectrum + (also here).
How did you get started programming?
Well ZX Spectrum has BASIC and so it went on from there. At first it was [...]

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • De.lirio.us
  • E-mail this story to a friend!
  • Reddit
  • Slashdot
  • StumbleUpon
  • Blogosphere News
  • description
  • TwitThis

Tags: Uncategorized

Procedural Language Eliminated GOTOs; OO Eliminated IFs

August 14th, 2008 · 3 Comments

by Miško Hevery
Procedural languages allowed us to remove GOTOs in our code. I would like to think that OO languages allow us to remove IFs (conditionals). I know you can’t remove of all the IFs, but it is interesting just how many IFs you can remove in an application.
You can’t remove these IFs:

Comparing relative sizes [...]

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • De.lirio.us
  • E-mail this story to a friend!
  • Reddit
  • Slashdot
  • StumbleUpon
  • Blogosphere News
  • description
  • TwitThis

Tags: Advice · OO · Testability · Uncategorized