Reputation
19,762
Top tag
Next privilege 20,000 Rep.
Access 'trusted user' tools
Badges
2 39 91
Impact
~828k people reached

Aug
24
comment Is macros support in a programming language considered harmful?
The distinction has to do with the consistency of the language. Think of it this way, you're planning on going to a foreign country and you have to learn to speak French to go places and buy food. When dealing with customs would you rather also have to learn Swedish or just deal with French. C precompiler macros are both syntactically and grammatically different than standard C. The cognitive challenge is then figuring out what that other language is going to do to your standard C program. In some cases it's easy, but I've seen whole code phrases as a macro definition. Now debug it.
Aug
13
awarded  Popular Question
Jul
29
awarded  Notable Question
Jul
29
comment Removing hard-coded values and defensive design vs YAGNI
@Andy, what part of that is assigning blame? Presenting the design limitations to the client allows them the opportunity to either prioritize the complicated work now and take other stuff off the table, push back the deadline, or accept the limited design now as other things on the table are more important to them. You are empowering your client with the choice over their product. Making your client aware of the risk/reward of choices you want to make in their interest will make the project run smoother.
May
5
awarded  Notable Question
Feb
12
awarded  Necromancer
Feb
6
comment Code Reviews do they really work in true Agile?
Time performing review vs. defects found and their severity. We compared that with the same metrics against unit testing. Issues discovered during code review were almost always code formatting related, and they took longer to perform. The same time spent doing unit tests uncovered real problems and took no longer to prepare and do.
Feb
2
awarded  Nice Answer
Feb
1
comment Controller in MVC
A compiled language (all .Net languages are compiled) doesn't really load a class file each time it is used. It loads the assembly once, and instantiates the controller as needed. Since just about everything is just instructions, a controller doesn't really take up much memory at all. It's more efficient than you are imagining. However, with your first comment it would still be correct from an MVC point of view. It can be a lot of work, but it behaves similarly to what you get now.
Feb
1
answered Controller in MVC
Feb
1
comment Controller in MVC
MVC also allows you to test the controller without having to go through the transform process. Ensuring the response is a 404 when a resource doesn't exist, etc. is a lot easier when you don't have to fire up a web server and work through the web client APIs.
Feb
1
comment Should character encodings besides UTF-8 (and maybe UTF-16/UTF-32) be deprecated?
Hanged, really? And is everything still expressed in XML these days? When possible, binary data should be treated as binary, but when it's not possible you have to work around it. Both base 64 and URIs are ways to work around it. I think you need to calm down.
Jan
27
answered Should Perl scripts really have no extension?
Jan
26
answered Should an Http API always return a body?
Dec
1
awarded  Nice Answer
Nov
30
comment Will Java catch up with C#?
At the time I wrote the answer, it wasn't. So C# has a Microsoft written a runtime and libraries that work on Mac and Unix? Mono isn't directly from Microsoft, even though it might have some Microsoft developers working on it. I still have doubts about a desktop app built on WPF working for Linux. Server side only might be OK.
Oct
26
awarded  Yearling
Sep
24
awarded  Autobiographer
Sep
17
answered Infinite while loop CPU usage
Aug
31
awarded  Guru