Sign in or Join FriendFeed
FriendFeed is the easiest way to share online. Learn more »
@andystopford sorry, missed the context of your tweet. nm!
@panesofglass yeah, it's just a no-arg Any()
pet peeve of mine to find collection.Where(foo => foo.Bar = "Baz").Count() > 0. that's one collection.Any(foo => foo.Bar == "Baz")
@brunomlopes lol no that's pretty much the entire purpose of my blog :)
the reason why you pick Any() over Count() => Count iterates over the entire collection, while Any() stops at the first match
remember folks, you don't have to use the Count() LINQ operator for determining if a collection is empty. use the Any() operator instead
@chadmyers because we still have not mastered how to get around DateTime.Now
peopleofwalmart.com is a total ripoff of my other site, my-recent-family-reunion-in-northern-louisiana.com
@andystopford there are plenty of dependency breaking techniques that don't change existing behavior. michael feathers is your friend here.
of all the fast food restaurants, jack in the box provides the best drinking straws for car dashboard drumming sessions
@ChrisMissal so can the feathers book, whose techniques actually serve to improve the underlying codebase
@andystopford is that different than only changing areas that need to be changed for a feature/bug?
example of cleverness that isn't elegant: using anonymous types as hashes
@karlseguin my workspace is way more than code files. i have browser windows, notepad, sql window, nhprof etc etc
the line between clever and elegant is usually only determined well after the code is written
*sigh* i lost
must....finish...merge....before...other....feature pair
@derickbailey it's a great tool. it'll fix those crazy "looking for version 1.2.1 but found 1.2.0" errors too
@derickbailey so you may have to kill the TD.NET, cassini or whatever
love the commercials for "immune-boosting" products. "these statements have not been evaluated by the FDA" == "just believe us kthx"
@derickbailey and make sure that the appdomain that the bind failures occur in is refreshed after you enable logging
also love the "ghost hunters" show that claims to use science to find ghosts. yes, because that lens flare was an angry spirit
@derickbailey you do have to enable logging: http://msdn.microsoft.com/en-us... and i like to do a custom log path to an existing folder, c:\log
@derickbailey fusion log viewer ftw
@serbrech with method chaining, you can't determine when configuration is "done". i can't know when you've finished w/ "CreateMap" that way
@serbrech there's just not a whooooole lot of literature out there right now on internal dsls. i just use fowler's site for inspiration :)
@serbrech @dbrock it's all in the fowler DSL book: http://martinfowler.com/dslwip...
@serbrech a nested closure allows you to pre- and post-process the semantic model
"Messages from new members are moderated" <- thats the one i want. sorry for the automapper group spam
@serbrech if you compare the AM interface to the fluent nhibernate configuration interface, those are the big differences
Other ways to read this feed:Feed readerFacebook