170 reputation
16
bio website
location
age
visits member for 2 years, 1 month
seen Oct 4 at 15:23

Aug
6
comment Are there legitimate reasons for returning exception objects instead of throwing them?
Exceptions are objects too, and with information, surely can be passed around. Its like when you want a guaranteed callback from some thread you started. Sure, you can have callback passed a specially constructed failed object, but that seems too much work. So, just passing the exception that killed the other thread makes sense. This pattern is fairly common in the likes of javascript etc.
Jun
16
comment Forcing people to read and understand code instead of using comments, function summaries and debuggers?
I agree. What? can be answered by reading code, but Why? definitely would require comments.
May
20
comment Can somebody explain me what are lambda things in programming?
In lambda way, a function eats another function and/or an input value, produces another function. This continues until a function produces a solution. Also, alligator eggs.
May
1
comment Refactoring an existing abstract class and its parameters
Is this additional argument, the same type of usual argument ? You may consider re-factoring to use varargs or array as paramenters.
Apr
26
comment Is it OK to split long functions and methods into smaller ones even though they won't be called by anything else?
@exizt If your language supports encapsulation, use it, expose only those methods you want to be called.
Mar
13
comment I want to publish an android app, but I'm afraid of software patents
When number of inventors exceed number of ideas, they may fight over the ideas.
Feb
26
awarded  Constituent
Feb
26
awarded  Caucus
Feb
20
comment How do I convince my boss (and other devs) to use/consider Unobtrusive JavaScript
+1 for point 4 :)
Feb
15
comment How to write useful Java programs without using mutable variables
@MichaelKjörling Language syntax and programming approach debates revolve around this, the demand of the computer, one claims his way to be more elegant, concise, aesthetic etc, for the computer. Actually, its other way around, we require computers to fit around our expression styles.
Feb
15
comment Is it a acceptable approach to put try catch wherever null pointer exception occurs?
Depends of what is delivering that reference. If it is your own code, then it is bad code, you must fix it. If its an outside code, file or resource, you can catch NPE and notify the user about that external element.
Feb
15
comment How to write useful Java programs without using mutable variables
That FP vs OOP rant again. can you compile print squares of all numbers from 0 to 25 ? . All programming languages are far from our natural language yet.
Jan
14
awarded  Teacher
Jan
14
answered While learning is it better to use other's plugins or develop my own?
Jan
12
comment Recursion or while loops
Self similar logic and self referencing context is just more elegant (or may I say natural) with recursion, like a mathematical function used in its own definition. Though that does not mean recursion is answer to everything.
Jan
4
comment Is it necessary to add the default case while using switch cases?
Its up to your... I mean supervisor's code style.
Dec
16
comment “A good programmer can be as 10X times more productive than a mediocre one”
Good is a bit vague and sadly, no tests of goodness so far work perfectly. I'd go with clever, a clever programmer gets paid more.
Nov
29
comment How do developers find the time to stay on top of latest technologies?
Your full-time employed...still separate time for self advancement question, just mirrors the reality. An ideal employer actively encourages their employees to expand their skill set and provide them a small portion of time and resources to pick up latest tech. It's part of the full-time schedule. Rest of the time employee can take care of his social responsibilities. Sadly, ideal employers don't exist.
Nov
25
awarded  Commentator
Nov
24
comment When should I make the first commit to source control?
Great for solo projects, however when you are working with a lot of devs in parallel there are always some "co-ordination" lapses.