I like his book on patterns and domain driven design - we use concepts he talks about quite a lot - particularly specification patterns and builder patterns (which I love because they make such neat concise easy-to-read code)
But, I was reading a piece of his recently about jQuery - he dislikes jQuery's identically named getters and setters (his example is x = object.Height() to get the height and object.Height(200) to set it).
He says it ought to be object.Height() and object.SetHeight(x). I don't agree. Well, I do, I see the sense in his argument, I just don't think it matters in the slightest.
Posted By: Arizona Bay, Aug 5, 15:00:10
Written & Designed By Ben Graves 1999-2025