Reputation
694
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
3 9
Newest
 Yearling
Impact
~9k people reached

  • 0 posts edited
  • 0 helpful flags
  • 93 votes cast
Feb
1
comment Is break a code smell?
Downvoted due to too many opinions with too weak argumentation. And I would add: It all depends on context. Even goto is the right tool in some situations.
Jan
12
comment The best practice for passing formatted string to methods
I haven't started using C# 6 yet, but this is obviously very nice :)
Jan
12
comment The best practice for passing formatted string to methods
Yes, I agree. I will always inline the formats if I can though (if they are unique to this call to Format, if they are not dynamically loaded, and so on..)
Jan
12
comment The best practice for passing formatted string to methods
Creating msgFormat1 and msgFormat2 moves the formats further away from where they are used, making it harder to read now (in my opinion).
Jan
12
answered The best practice for passing formatted string to methods
Jan
12
comment The best practice for passing formatted string to methods
In the example code you are using both formatting and concatenation, which looks a bit strange. That's the first thing I would comment in a code review.
Jan
12
comment Synchronous facade hiding asynchronous web service
In C# I can probably use AutoResetEvent for the same effect. Thank you!
Jan
12
comment Synchronous facade hiding asynchronous web service
Giving the backend the instanceid is a good idea and might be doable in my case. Thank you!
Jan
12
comment Synchronous facade hiding asynchronous web service
Sure, but I don't control the client nor how the front API will look. This is all fixed (been running for years now, Google is one of the consumers, and they dictatet the design).
Jan
11
asked Synchronous facade hiding asynchronous web service
Jun
30
comment Porting library, what to do with JavaDoc comments/credits
@ThePopMachine The more I think about this the more interesting it becomes. Philosophically that is. It is generally considered acceptable to use the "clean room" method of copying a design by reverse engineering and then recreating it without infringing any of the copyrights and trade secrets associated with the original design. Isn't this basically a "two step porting" process? About what the correct answer should be to this SO questions though, then yes, a port is derived work.
Jun
29
comment Porting library, what to do with JavaDoc comments/credits
@ThePopMachine Since you restarted the discussion after three years; Ideas CAN NOT be protected unless kept secret, the execution of ideas can however. The question here is how far this protection goes. When is it copying, and when is it not? This will always have gray areas, because once you have seen something it's impossible not to be effected by it, and let it influence your future behaviour (coding in this case). Porting is more deliberate though, so I might be wrong believing I would not have to attribute. Btw. how can an attitude be wrong? An attitude just is :)
Nov
26
awarded  Yearling
Sep
10
awarded  Yearling
Apr
13
awarded  Nice Answer
Apr
10
comment Adding dynamic business logic/business process checks to a system
All configuration systems eventually evolve into (domain specific) programming languages anyway :)
Apr
10
comment Adding dynamic business logic/business process checks to a system
I was just about to say that :)
Apr
10
answered How were some language communities (eg, Ruby and Python) able to prevent fragmentation while others (eg, Lisp or ML) were not?
Apr
8
answered Techniques for getting off the ground in any language
Apr
8
answered Junior developer support