Comments: (13)
| I wasn't really trying to pitch DI, I was more trying to instruct on using Ninject for DI. I'm sure that you'll see some good screencasts on selling you DI in the future. I hope you enjoyed it anyways! |
Thanks for the screencast, but you need to learn to speak more clearly, and maybe sound at least a little bit interested in the topic. I had trouble understanding a lot of what you were saying because you mumble a lot. |
I just watched this and didn't have any problem with understanding you. I can see how DI works from watching this but not having any previous exposure to DI I would have liked some explanation on why we want to use it. Without knowing that the trivial example you used simply makes it seem like more complicated code than with the manual DI you started with. |
I agree with Steve, what's the point of the added complexity? Without NInject, the compiler stops me if I don't pass the proper parameter to the constructor, which is great. With NInject, if I forget to call the Bind method, the error doesn't show up until run-time, which sucks! It's a step backward, IMO. I get to write complex extra code to make my software less safe, WTF! |
Whats the point? i get to write unsafe code and then hope it works at run time |
Shoppers pay up to <a href="http://www.hardysale.com/">Cheap ED Hardy Shoes,Clothes</a> lining. If you asylum’t experience the comfort of authentic <a href="http://www.hardysale.com/ED hardy</a> yet then your feet have been lost out. Give t 160 for a pair of new <a href="http://www.hardysale.com/"> Ed Hardy Shirts and Clothes</a> but can have them repaired for just a part of that build. |
like all boots produced by the australian uggs,our ugg boots come with a sheepskin lining that helps to eliminate moisture and keep your feet warm and dry during the cold winter months.all pairs of boots come with an outsole lightweight and flexible features a suede heel guard, which not only protects but also makes the much stronger and longer lasting. site:shoedhardy.com |
Most women like wearing high heels, because it make you look sexier. But now <a href="http://www.timberlandsbuy.com/">women timberland inch</a> are more popular than high heels. <a href="http://www.timberlandsbuy.com/">Womens 6 Inch Boots</a> are a style of <a href="http://www.timberlandsbuy.com/">Women's A Lounger Clog</a>, with wool as the inner lining and a tanned outer surface worn by both men and women. <a href="http://www.timberlandsbuy.com/">Ugg boots</a> have been identified as a fashion trend,<a href="http://www.timberlandsbuy.com/"></a>
|
We have been seller of UGG boots.com for many years.You will like our UGG boots.com as soon as you receive them.And our website offer the best service and concessional price,free shipping,fast delivery just one week to your door.site:timberlandonline.net |
There are not many issues in this script, but two things are obvious: the for loop reads out the length attribute of the secs collection on every iteration and we create the same anonymous function for each link to show and hide the section. Caching the length in another variable and creating a named function that gets re-used makes more sense: |
|