Jon Skeet Creates an IoC Container

preview_player
Показать описание
This is an outtake of Tekpub's C# Design Strategies production. During the recording of Episode 4 (Inversion of Control) we asked Jon to "lead people along and show them the need" for using Inversion of Control with Dependency Injection. We expected a rough, hard-coded factory-style of thing, but no, Jon built a small, functional IoC container from scratch. We decided to include it here because it's fascinating to watch and... he's Skeet!
Рекомендации по теме
Комментарии
Автор

I note with embarrassment how Rob calls it absolutely correctly at 13:57: "I guess Instance is a property, right?"

Doh, doh, doh.

JonSkeet
Автор

Jon Skeet. The man, the myth, the legend!

GladerDev
Автор

Not at all surprised Jon could do this. Amazing.

ValiRossi
Автор

Awesome video, learning from this course alone, made whole year Tekpub subscription worthwhile.

cbrcoder
Автор

I dont follow 80% of the things he is talking about but it is mad impressive to see a brilliant man at work

ericcartmansh
Автор

My takeaway from this is that Skeet was successful because he was able to define the problem narrowly, define and consume the interfaces in question up front, and define the lynchpin (the dictionary data structure mapping strings to instances). Even when he encountered problems he never once considered changing the data structure or the interface/client call; he knew to work around these constraints to achieve his goal.

justinshin
Автор

Hat-tipping to mr Skeet! Amazed... that's all.
Thank you

MarcusHammarberg
Автор

I made one using a static class. Maybe I'll make another one more like this :-)

frankhaugen
Автор

i feel bad about my programming skills. Awesome video Jon

arekbee
Автор

Witchcraft! I feel so bad as a programmer now I want to throw my computer out of the window and hide under the bed.

Kidding aside, that was impressive. Great video, thanks! :)

bubbassauro
Автор

No deliberate skinning - that's just what the VS11 beta looks like.

JonSkeet
Автор

Is it bad that the only words I understand is public and private, and a few others more "daily-familiar" words? I don't know anything about this, but for some reason, am amazed. Can anyone explained what this is all for for a more "ordinary" human-being?

rolandemmet
Автор

Cool programming skills even though i didnt understand any of it.

martinpratley
Автор

hey john, how did u skin your visual studio, looks awsome ! is it VS2011 ?

Kangoo
Автор

I would be lying if i said i understand what is going on here, goes to show how junior i feeling Depressed.

ndimlo