Reputation
597
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
4 16
Newest
 Custodian
Impact
~14k people reached

Feb
5
comment API design dilemma: to REST or not to REST
@gbjbaanb security.stackexchange.com/a/66476/17974
Nov
16
comment Can domain models in the database be a sustainable solution?
@VladislavRastrusny Whatever the reason, keeping business logic in the db is an extremely poor design.
Nov
16
comment What's the ideal length of the sprint review/retrospective based on the length of the iteration?
But most teams are probably not going to be high performing, so suggesting in general a meeting length only appropriate for one is bad.
Nov
14
comment Delete unused source code from the repository or keep an archive folder?
@MainMa Well, did you read the answer to your question? Because your issue with tags is a nonissue.
Nov
13
comment Can domain models in the database be a sustainable solution?
The business logic in code is exactly the right way. The db should be a dumb datastore, nothing else.
Nov
6
comment Designing A 2-Way SSL RESTful API
This should not preclude a username and password though, or something else. Two factor would be better than single factor.
Nov
6
comment Can a small team enter .NET world while most of them are working on OpenSource languages?
@gbjbaanb Thinking c# is easy is a mistake, and assuming c# devs would only be juniors is insulting. I've seen a lot of awful c++ too. Its outsourcing itself that is usually the source of poor code, in any language.
Nov
1
comment Why is XML not called EML?
See also DirectX, ActiveX, XBox
Nov
1
comment Why is XML not called EML?
It was the 90s, and everything cool had an X in it.
Oct
31
comment Why does the .Net world seem to embrace magic strings instead of staticly typed alternatives?
Well i don't see how you'd build a class to represent the route that wouldn't be a nightmare to work with. I'd avoid ViewData whenever possible, and the argument to RenderView could become a constant. Finally, for xaml, i wouldn't write the binding in code like that, it'd be in the Xaml and I'd use the designer (code gen) to setup bindings.
Oct
29
comment I've been told that Exceptions should only be used in exceptional cases. How do I know if my case is exceptional?
This is better than the accepted answer i think. Throw when the call can't do the thing it was supposed to do.
Oct
29
comment Alternative way to expose you're returning Nothing in a method
If your method should never legitimately return null, but you end up where you can't return a valid value, an exception is the right way to go. Why do you think throwing is expensive, and have you tested that it would actually cause unacceptable performance, or are you just assuming?
Oct
29
comment I don't understand the arguments against operator overloading
It wouldn't be just anywhere, it'd be in the type definition of j.
Oct
25
comment Does Java development typically involve more subclassing than C#/.NET?
@ThinkingMedia In general, Java is overrun witn OSS zealots / purists. Academic principles are the overriding concern. .Net developers are pragmatists that are concerned about getting the job done. They value working code more than the cleanest code.
Oct
25
comment Java without implementation inheritance
Except you can't do anything that breaks encapsulation, which limits the usefulness.
Oct
25
comment What techniques should I use when implementing infinite scrolling on a website?
Oh, haha. I didn't notice this question was over a year old.
Oct
25
comment What techniques should I use when implementing infinite scrolling on a website?
Please don't do this. People hate it.
Oct
22
comment Implementing the command pattern in a RESTful API
Operations that are not idempotent are allowed in rest. That assertion is flat out wrong.
Oct
22
comment Always return single objects in an array for REST API JSON payloads?
I'd think if there were some kind of error you'd returned an appropriate 400 or 500 code and send any details in the content. Returning a section for data seems odd and possibly confusing, especially if you have data AND error set in your example.
Oct
19
comment Are classes with only a single (public) method a problem?
The question is "is this a problem [when doing an OO design]." Because, you know, the question is tagged OO. There's no evidence the objects have any state either, and given I find myself instantiating each class just to make calls like VideoCompressor.compress(...) I think it's reasonable to lean toward the "no state" assumption.