Reputation
1,711
Next privilege 2,000 Rep.
Edit questions and answers
Badges
5 13
Newest
 Informed
Impact
~30k people reached

2d
comment Is throwing new RuntimeExceptions in unreachable code a bad style?
People will continue to believe that wildcard catches which handle nothing are actually exception handlers. Your version disregards that flawed assumption by not pretending to handle that which it can't. The caller of retrieveUserMailConfiguration() expects to get something back. If that function cannot return something reasonable, it should fail fast and loudly. It's as if the other answers saw no issue with catch(Exception) which is an odious code-smell.
Jul
10
comment Do I have to distribute my commercial source code that links GPL software if I only use this commercial software to provide a reporting service?
That's a good question for your corporate lawyer. Unfortunately we don't give legal opinions here because even if some are lawyers, they are not your lawyer.
Jul
9
answered OODesign: Data Structure which calls algorithm on insert
Jul
5
comment How to extract the active code path from a complex algorithm
I fear that if you find a code path that is exercised by one input (recipe) that changing only that code path will break many others; convoluted code often has obnoxious inter-dependencies. There is also a whiff of undecidability which smells like an analysis for recipe A will not reveal all of the code paths needed for recipe B.
Jul
5
comment How to develop front end (UI) for my Django website
First, make it work, then make it pretty.
Jul
5
comment How to develop front end (UI) for my Django website
+1 "no sane web-developer"
May
27
comment Avoiding lot of roles implementation in same object
It's Java, it's supposed to be obscenely verbose.
May
21
comment Can one edit a built-in Python module?
There is an answer below by Michael0x2a that covers the fine points, but the simple version is: don't do that. If I am reading your code and see a call to math.polynomial_roots() me and my interpreter will become confused. That's a Bad Thing.
Apr
24
awarded  Informed
Feb
28
comment Am I designing software or architecting software?
In English, any noun (Architect) can be verbed (Architecting) but, to my ear, "architecting" is an ear-grating business neologism. I tend to assume that an engineer who claims he is "architecting" to either be presumptuous or enjoys long words that have a more concise synonym.
Feb
28
comment Java write to text file from multiple threads
I suggest you read about synchronization and perhaps thread synchronization questions on StackOverflow
Feb
28
comment Bad sign if nobody can comprehend one's code?
Programmers who don't understand that communicating with other people is the main purpose of source-code probably don't deserve their title.
Feb
25
comment Write a (good) code convention for c#
Yes, do steal one. A quick search turned up a dozen wheels that you don't have to re-invent.
Feb
25
awarded  Nice Answer
Feb
24
answered Is it reasonable to assume that any physical quantity can be represented by a 64-bit integer without overflow or underflow?
Feb
11
comment How to handle initial state in an event-driven architecture?
The first thing that comes to mind is to generate a "synthetic" event (call it initialize) which contains the needed sensor data.
Feb
5
comment Most efficient way of searching very large strings of text in java
The Boyer-Moore string seaarch algorithm and its variants and "See Also" wouldn't be a bad starting place
Feb
5
answered Real life scenario of why we would use loops
Feb
4
comment Execute python code without showing the code
To amplify this answer, there is no language nor executable which will prevent other sufficiently motivated opponents from gleaning your algorithm. As a corollary, you're not as clever nor unique as you assume. If I am incorrect, file a patent and don't participate in the competition.
Feb
4
comment Best practice for uploading large file, previewing, and editing before saving to database?
Implement them both and measure the differences; you are asking a system performance question which cannot be predicted, only measured. If you find implementing two methods too onerous, then pick the simplest one and implement that. You are wishing to buy yourself a headache for purposes of premature optimization. This question cannot be answered.