Reputation
454
Top tag
Next privilege 500 Rep.
Access review queues
Badges
4 15
Newest
 Yearling
Impact
~9k people reached

1d
comment Is testable code better code?
I guess you've never had a test fail because it used the actual system time and then the time zone offset changed.
2d
comment Is this a violation of the Liskov Substitution Principle?
I'd make Close nonvirtual, and add a protected CloseCore method for subclasses to override. That way Close can throw an exception of CanClose returns false, removing the need for subclasses to do that check.
Jun
23
comment Source control branch design for deployed environments
Seems reasonable to me. You're basically using feature branches. Only thing is I would merge your dev branch to main, the branch that and deploy. The reason is you can mess something up performing the merge. My preferred alternative is to do rev in trunk and when you get to code freeze/RC you branch that, and then do fixes in the branch and merge to trunk.
Jun
23
comment Risks of AJAX calls to ASMX
@terbubbs That would just be changing the filename, which wouldn't really have an impact on security (unless you changed the .cs to .htm). .Net assemblies are easily decompiled if you get one; the thing that is preventing people from getting your code is that Asp.net will not serve files ending in .cs nor will it serve anything in the /bin folder, by default. It really has nothing to do with your method of deployment, or even technology, as the same would be true for say Java Beans.
Jun
23
comment Risks of AJAX calls to ASMX
@terbubbs No problem; as long as you don't change the defaults to allow .cs files or anything from /bin to be served by Asp.Net, your code should be safe.
Jun
22
answered Risks of AJAX calls to ASMX
Jun
19
comment How to choose NOT to use a framework (Caliburn.Micro, etc.) in a given MVVM application?
@KonradMorawski You can use WPF with MVVM, and they built it with that possibility in mind in believe, but there is NO MVVM specific functionality built into WPF. Just like you can use MVP with WinForms, but WinForms offers nothing specifically to use that pattern, its up to you.
Jun
19
comment How to choose NOT to use a framework (Caliburn.Micro, etc.) in a given MVVM application?
@KonradMorawski WPF by itself is not MVVM; you can do code behind with WPF, but that's not MVVM. So if you want to do WPF and MVVM, you'll need to use an MVVM framework or implement one yourself.
Jun
19
comment WPF and data in the cloud
@DanPichelman Web apps are not cheaper than desktop to build and maintain.
Jun
18
comment Where to create a file in WPF/MVVM
@roryap You may disagree all you want, but the VM being part of the UI layer. "the view model is more model than view, and handles most if not all of the view’s display logic" Display logic is not business logic. en.wikipedia.org/wiki/Model_View_ViewModel The VM is in place of a controller in MVC, yet I doubt anyone would argue the controller is not part of the UI.
Jun
17
comment Where to create a file in WPF/MVVM
@roryap no, your VM is part of the UI layer. Its the glue between the view and model, and what you put in it will be heavily influenced by your UI technology.
Jun
17
comment Where to create a file in WPF/MVVM
+1 Today its a WPF app, but tomorrow who knows. Any logic you dont want to lose when you move to a new UI should be in the model (business layer).
Jun
3
comment When using MVVM, should you create new viewmodels, or swap out the models?
The VM is conceptually part of the UI layer, so I don't see anything wrong with presentation logic there. Consider a row highlight color which varies according with some state of the model (book is overdue or not, for example).
May
30
comment What features/changes would you most like to see in Visual Studio 2012?
Linqpad is something you might want to check out
May
30
comment What default features is Windows missing that are required for programmers?
C/c++ compiler assumes a dev is even doing one of those languages which is a leap. And powershell certainly has the basic shell functions as well as powerful scripting.
May
19
comment How do you avoid getters and setters?
Why do you assume that article is nothing but 100% BS?
May
17
comment Detecting and Dealing with obscene language in user input
"What method should I use to detect and handle obcene language in user input without restricting conversation". Sounds like a contradiction to me. You want to restrict conversation without restricting it.
May
16
comment Why is build.number an “abuse” of semantic versioning?
" you have version 5.7, and you want to patch it to 5.7.1, but your first 2 bugfixes fail to build when they are submitted to the CI system, then you will be at 5.7.3 before you've released your first patch!" ok, but so what? I don't recall anything in semver saying the numbers must not skip.
May
9
comment Will a computer science college degree ever hurt my employability?
A degree from a good university can only help.
May
9
comment Build automation vs deploy automation vs continuous integration
It builds on my machine isn't good enough as it relies on revs to do the right thing every time. Things like new dependencies or other team member changes combined with yours now breaks a test.