508 reputation
29
bio website
location Israel
age 27
visits member for 3 years, 2 months
seen 10 hours ago

2d
comment Should I consider uncertain future requirement while development?
there's no right answer here... it's a cost- benefit risk management thing... with what certainty do you believe the requirements will change? how much are you sure about the nature of the change? how much does it cost to prepare in advance and is it even worth it?
Apr
24
comment Why have many programmers moved to using exception handling for input or output?
It's not just a minority view. You're plain wrong. This isn't the appropriate medium to explain why, but it doesn't matter. Just mind that most programming languages designed in the last 25 years use Exceptions as their main (if not only) error handling mechanism.
Apr
23
comment Is String processing more complex than number processing in programming languages?
By "String processing...complex" do you specifically mean Perl?
Apr
23
comment Why have many programmers moved to using exception handling for input or output?
Joel is also wrong because RAII , and what he's saying isn't relevant for C# and Java for example. Also it's a blog post from 11 years ago. I really doubt he'll stand behind it today.
Apr
23
comment Why have many programmers moved to using exception handling for input or output?
Also the article by Patterson which you linked to is plain wrong. 1. Exception help improve and simplify control flow. not the other way around. Its far easier to have a block of code, and then error handling for it, than checking every possible return code. 2. Exception plays along very well with modern parallel programming. its very evident in C#, F#, Scala, and Erlang.
Apr
23
comment Why have many programmers moved to using exception handling for input or output?
No you are absolutely wrong. Exceptions are one of the best and most reliable ways to do error handling. Exceptions are also almost always superior to Error Codes. There are of course drawbacks, and there are other ways to do error handling which are sometimes superior. I suggest you delete your answer for being nonsense.
Apr
20
comment Big O Question about an algorithm with (n^2 + n) / 2 growth rate
basically the idea is that as n grows, both the functions 'n^2` and your function, behave similarly, ther'es a constant diffidence in their growth rate. If you have a complex expression the function that grows faster dominates.
Apr
20
comment Big O Question about an algorithm with (n^2 + n) / 2 growth rate
symbolab.com/solver/limit-calculator/…
Apr
20
comment Big O Question about an algorithm with (n^2 + n) / 2 growth rate
mitpress.mit.edu/books/introduction-algorithms
Apr
20
comment Do I have to be a hardcore programmmer to succeed?
There different kinds of "successful" programmers... I know a genius programmer, no less, (97 average on a comp-sci BSc) who surfs, skydives, and some years ago worked a little as a male model. Though, you sound like you'll become a fat nerd... ;-)
Apr
17
answered Architecture: Are form default values considered business logic and where should the logic to calculate them be placed?
Apr
17
comment Does Refactoring towards Looser Coupling, Smaller Functions, and Separate Classes affect System Performance? (and Should I Care)
Personally, I find that more ""modern"" code is somewhat easier to profile... I guess the more maintainable a piece of code is, it's also easier to profile, but there's a limit, where breaking things into little pieces makes them less maintainable...
Apr
17
comment Experimentally determined timing of function/method calls vs locks, signals. Anti-pattern name?
is your google broken? ;-) google.co.il/…
Apr
17
revised How can I argue convincingly against duplicating database columns?
added 1 character in body
Apr
17
answered How can I argue convincingly against duplicating database columns?
Apr
17
answered How to test Windows .NET TCP program handling of connection failure
Apr
15
comment How to share memory between applications written in C/C++
It means you neither read the standard itself, nor understand what a language standard is. Which is fine. But you should understand both before you write on the subject. Good Luck.
Apr
15
comment How to share memory between applications written in C/C++
Of course the standard doesn't talk about IPC so what? this morning I was working on a piece of software that uses Shared Memory for IPC. The source is 100% compliant with the c++14(-11?) standard. It compiles on both icc(Intel) and gcc, both standard compliant implementations. It's also cross platform and was tested on both Windows and Linux.
Apr
15
comment How to share memory between applications written in C/C++
I think you should take time to understand what does the term "language standard" actually means, what's a standard compliant implementation, and what's a library.
Apr
15
comment TDD Red-Green-Refactor and if/how to test methods that become private
Why do people take idioms and cliches from programming books and blogs as actual guidelines on how to program is beyond me.