377 reputation
314
bio website
location
age
visits member for 3 years, 7 months
seen Dec 18 at 1:05

Dec
2
comment Should I avoid using 'break' during a coding interview?
Use of VI or emacs is a preference which in the end doesn't impact program behavior, likewise for single return or not; JS' SCI in fact does lead to changes in program behavior which surprise many (the return without a ; follow by the return value, which doesn't do what many expect). Lumping in the JS SCI is extremely misleading in you answer, and bringing it up in the context of other personal preference choices does NOT illustrate your point.
Nov
30
comment Should I avoid using 'break' during a coding interview?
Use of semicolon in JS is not just a matter of preference, incorrectly omitting them can cause your program be incorrect. inimino.org/~inimino/blog/javascript_semicolons
Nov
29
comment Should I accept empty collections in my methods that iterate over them?
@Craig I really dont get what people are missing here; all I said was this as a hard and fast rule isn't good, and there are cases were it might be appropriate to throw instead of return normally. I dont even get why the answerer threw in utility method and then when on from there. As far as pushing for patterns for the sake of it, that is a terrible idea, its actually an antipattern. Patterns should be used when they fit, and you should not force a pattern onto a problem that doesn't quite fit. In other words, this job requires THINKING.
Nov
27
comment Why is there no WSDL type support for Web Api?
This doesn't answer the question.
Nov
27
comment Efficient algorithm for Virtual Machine(VM) Consolidation in Cloud
This belongs on seeverfault
Nov
27
comment Should I accept empty collections in my methods that iterate over them?
@itsbruce You seem to think I dont understand that point, I do. But there are cases where the compositbility is less important than having no data, which is why I'm saying "it depends"
Nov
26
comment Should I accept empty collections in my methods that iterate over them?
@Telastyn Yes, and that's the only type of method the answer covers; it doesn't discuss at all any other option.
Nov
26
comment Should I accept empty collections in my methods that iterate over them?
@Telastyn Sorry, but where did the OP say he was writing a general utility method?
Nov
26
comment Should I accept empty collections in my methods that iterate over them?
I don't think this should be the accepted answer. Its a blanket statement, and there very well may be situations were not having any data to process is an error and not throwing hides this error, just like returning an empty collection when the enumerable passed was null might hide errors as well.
Nov
25
comment Bad Practice using Auto Generated Classes for Data Access
You should not be manually changing generated code to begin with; it defeats the purpose of using a code generator, which is to let it write the code for you.
Nov
25
comment Bad Practice using Auto Generated Classes for Data Access
This doesn't really answer the question. And I personally do want the changes to break my code, that way I know all the queries I need to fix.
Nov
24
answered How Best Can I Use Git When My Employer Uses VSS?
Nov
24
comment How Best Can I Use Git When My Employer Uses VSS?
You'd better spend your energy moving them to SourceGear Vault, a much better VCS which is targeted at those using VSS.
Nov
24
comment how to combine logs coming from multiple virtual machines for processing?
I feel like this should go to serverfault.
Nov
23
comment Async properties in interfaces to cater for the possibility of expensive first-time evaluation: Is this a good idea?
I expect a property to be able to be data bound against and an async property would likely not allow this. In other words, you're breaking the expectation of how a property behaves, one of those things is that they are fast. The MSDN guidelines explicitly state that a relatively slow code should be exposed as a method to communicate that it could potentially be slow. msdn.microsoft.com/en-us/library/vstudio/…
Nov
23
comment Async properties in interfaces to cater for the possibility of expensive first-time evaluation: Is this a good idea?
Use a method, an async property would be very stange, and what if it was something I wanted to databind against?
Nov
23
comment Name/Fix for Production Code Whose Sole Purpose is to Facilitate Testing?
Because it mat be a better solution to not have an ISomething at all. You're advocating adding complexly because you might need more flexibility. Coding for mights typically creates a architecture worse than if you never introduced the ISomething, and it makes changes in the future which you actually need much more difficult.
Nov
22
comment Name/Fix for Production Code Whose Sole Purpose is to Facilitate Testing?
Adding something now for flexibility that might someday be useful is a bad idea. YAGNI.
Nov
21
comment Why is PHP so hated?
@MichaelT One should also note that 3 of the top 5 are scripting languages.
Nov
21
comment Why is PHP so hated?
eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design