Get short, timely messages from .NET Junkie.

Twitter is a rich source of instantly updated information. It's easy to stay updated on an incredibly wide variety of topics. Join today and follow @dot_NET_Junkie.

Get updates via SMS by texting follow dot_NET_Junkie to 40404 in the United States
Codes for other countries

Two-way (sending and receiving) short codes:
Country Code For customers of
Australia
  • 0198089488 Telstra
Canada
  • 21212 (any)
United Kingdom
  • 86444 Vodafone, Orange, 3, O2
Indonesia
  • 89887 AXIS, 3, Telkomsel
Ireland
  • 51210 O2
India
  • 53000 Bharti Airtel, Videocon
Jordan
  • 90903 Zain
New Zealand
  • 8987 Vodafone, Telecom NZ
United States
  • 40404 (any)

dot_NET_Junkie

  1. @ploeh that seems a shift from the advise given by your book, or am I wrong?
  2. @ploeh but a Local Default should be refactored to property injection (page 148). Result is again one single ctor :-)
  3. @ploeh As I see it,that article is about design of primitives, domain objects. What's the meaning and use of multiple ctors in a service?
  4. @ploeh I think you missed one of my tweets. Here bit.ly/NtJQrk you say "When it comes to ctor Injection, ambiguity is a design smell"
  5. @ploeh I'm sorry, you call it a "design smell" which is probably even worse than a "code smell" :-)
  6. @ploeh Here you call it a code smell bit.ly/NtJQrk
  7. @ploeh but you do think it is code smell. Just as with the "SL = anti-pattern", it is good to have a clear explanation on your blog IMO.
  8. @ploeh, would be great if you wrote a "multiple ctors = anti-pattern" article. Allows me to refer to that, stead of having to explain it :-)
  9. . @ploeh I'm afraid a line width of 80 and clean verbose naming in C# do not match, but good luck with that.
  10. @philipmatix it depends. Post this as a question on #stackoverflow and tweet me the link. SO works much better for this than Twitter :-)
  11. @ploeh forget that. Missed your response.
  12. @ploeh what is the worst container in your opinion? Spring.NET?
  13. @philipmatix you abstract the RNG behind an interface and inject a fake RNG in your tests so you can test the rest of the logic.
  14. @jeremydmiller ahh of course. Actions return void :-)
  15. @jeremydmiller and even than, most frameworks never need this. What do you need that for?
  16. @ploeh You renamed it to 'This'?