Reputation
857
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
5 14
Newest
 Nice Answer
Impact
~36k people reached

Aug
23
comment How to explain that sample size does not influence project length
Maybe switching the analogy to train tracks would work better? It takes the same amount of effort to lay down train tracks regardless of how many trains travel over it or how much cargo they're carrying.
Jul
12
comment Why does F# have an interactive mode but not C#?
Interesting. I would add that the experience gained building so many compilers for the .NET framework prior to the release of VS2010 (I count four C#, four VB.NET, two J# and two C++/CLI) must have affected how a brand new compiler for a brand new .NET language was built. I'm sure it was built in a Roslyn-esque style with lots of thought around how to enable the Compiler-as-a-Service scenario, which seems like the direction you'll be developing all future .NET compilers and compiler revisions. To me it seems the era in which F# was born inevitably played a role in how its compiler was written.
Jul
12
comment Why does F# have an interactive mode but not C#?
C# does have a REPL. It's called the Immediate Window and has been available for quite a while. It has certain limitations, some of which have become increasingly noticeable since C# 3.0, as new language features were not supported by it, but it nevertheless is a full-fledged REPL.
Jun
8
awarded  Caucus
Mar
22
comment Sample code under MS-PL: must leave original comments?
But if you only distribute the compiled binaries, which don't contain comments anyway, then why would you need to leave the copyright notices at the top of the file?
Mar
22
comment If you had two projects with the same specification and only one was developed using TDD how could you tell?
@BlueRaja: That's not a valid argument. Unless you use the Express edition, Visual Studio is 'far from free'. So is ReSharper, Beyond Compare, a profiler, code coverage tool, build server, etc. And exactly why is something that costs money not an option for most people (developers)? Are they doing charity work? Don't they have a company paying them orders of magnitude more money for their salaries, and would be delighted to make them more productive by saving them the masochistic rituals that are the first five bullets of your post?
Mar
22
comment If you had two projects with the same specification and only one was developed using TDD how could you tell?
@BlueRaja: I'm guessing you've never hear of TypeMock Isolator.NET? It can mock concrete classes that don't have an interface (even sealed classes), it can mock new, it can mock static methods and properties (and static constructors). Hell, it can even mock stuff like DateTime.Now.
Mar
5
comment Coding Guideline : Methods shouldn't contain more than 7 statements?
+1: Arbitrary limits are only arbitrarily useful. A method should contain a single coherent operation at a single abstraction level. Breaking such an atomic unit makes the code more complex, making it harder to comprehend the code.
Jan
19
comment Are there good techniques or tests for naming types?
I also dislike the elaborate Hungarian notation you've added to variable names. I shouldn't need to care if a collection of person IDs is a List, array, IEnumerable or ConcurrentQueue. It's a bunch of IDs I need to enumerate over, and the implementation detail of how they're stored is unnecessary mental baggage. Though I do generally agree that if a longer name is considerably more descriptive, it should be favored over a shorter, less clear name.
Jan
14
comment Software Engineer VS “Harder” Jobs
@Ryan: All I'm saying is that if you're going to give a non-programmer a programming task, have it be a task for which programming is actually an essential part. Otherwise they won't be very impressed by a task to solve a problem that can be easily accomplished by opening OneNote rather than spending hours developing an application.
Jan
13
comment Software Engineer VS “Harder” Jobs
@Ryan: No, but by that logic, if they wrote it in Java you could say that they didn't build the JRE, and if they wrote it in C++ you could say that they didn't build Windows, etc. You always use some underlying platform that you didn't build yourself. My point is that your task isn't challenging because it doesn't require programming to complete. If your definition of completing the task is performing some kind of programming, then I'd save that word document and create a batch file that starts up Word with that document. In that way, I've 'built' an application using Word's API.
Jan
12
comment Software Engineer VS “Harder” Jobs
This challenge is too easy. They can just open up Word, write "To-do List" at 24 pt, and press the Bullets button. Challenge complete, and meets all requirement.
Jan
5
comment Why the Select is before the From in a SQL Query?
@JeffO: Okay. SELECT FROM Customers COLUMNS FirstName, LastName, PhoneNumber.
Dec
15
awarded  Citizen Patrol
Nov
17
revised Releasing an open source project without getting embarrassed
added 211 characters in body
Nov
17
revised Releasing an open source project without getting embarrassed
added 211 characters in body
Nov
17
answered Releasing an open source project without getting embarrassed
Oct
21
comment Which comments instantly ring alarm bells when a programmer says them?
@BinaryWorrier: The more commonly used term is Cargo cult programming.
Oct
13
comment Do you have your own 'misc utils' library? What part are you most proud of?
ForEach() is useful, but be careful with it: items.Where(i => i < 0).ForEach(items.Remove).
Oct
13
comment Why do game developers prefer Windows?
People who write code are programmers. You don't have to be an expert - if you've written a program that someone else finds useful, you're a programmer as far as I'm concerned. Also, DotA (for Warcraft III), is neither a mod nor game-changing. It's simply a map, with the same graphics, gameplay mechanics, controls and rules as the original game. It simply introduced certain constraints, narrowed the scope by removing some mechanics, changed the configuration of some elements and repurposed others, which happened to be appealing to many and became a popular sub-sub-genre (like Tower Defense).