3,410 reputation
21941
bio website
location
age
visits member for 4 years, 6 months
seen 17 hours ago

Dec
28
comment Will high reputation in Stack Overflow help to get a good job?
Yeah... if you are in the U.S. and making "barely half that"... I would be scratching my head
Dec
27
comment Did the developers of Java consciously abandon RAII?
... (3) even if they would have had today's perspective of RAII, they probably wouldn't have changed their design decision in the end, due to the trade-offs involved, e.g. compiler complexity, additional programmer responsibility, and compromise in the simplicity of the language model
Dec
27
comment Did the developers of Java consciously abandon RAII?
Marking this one as the answer just because it seems more plausible than Larry's, even though I am pretty torn between the 2. I guess they are both correct in a way. What I take away from them both is (1) Gosling et. al. most probably didn't have full knowledge of the significance of RAII (e.g. in preventing such future awkward syntax like "using"), however (2) they did consciously forgo "deterministic finalization" as it was known then, even though most people at the time thought it mainly involved memory management, and...
Dec
27
accepted Did the developers of Java consciously abandon RAII?
Dec
13
comment Is there an expiration date for well regarded, but old books on programming?
MMM -- I like the part about the team constantly fixing bugs but the number of bugs stayed constant :)
Nov
30
answered How can I deal with the cargo-cult programming attitude?
Nov
28
comment How to interview a natural scientist for a dev position?
The best developer on the team I worked on first out of college had an electrical engineering degree and his only coursework in programming was a course called "Fortran for engineers". He led development on a natural language parsing product, wrote code that produced object files, fixed bugs in 3rd party software for which we did not have the source code and other hair-raising feats. Haven't met another developer quite like him since... incidentally he left that job to form his own company :)
Nov
18
comment exclamation points in error messages
Or even better... what about when they're used not for errors, but for successful operations (in which case the entire dialog should probably be eliminated), such as "File saved successfully!"... nothing like making your software look shocked that it actually succeeded in doing something
Nov
18
comment exclamation points in error messages
Perfect, except you only included one exclamation
Nov
9
comment Did the developers of Java consciously abandon RAII?
@DanNeely, "the only advantage is being able to call native methods"... only? What about RAII?
Nov
7
comment Did the developers of Java consciously abandon RAII?
I don't know what you mean by "there is no point in RAII"... I think you mean "there is no ability to provide RAII in Java"... RAII is independent of any language... it does not become "pointless" because 1 particular language does not provide it
Nov
7
awarded  Popular Question
Nov
7
awarded  Good Question
Nov
7
comment Did the developers of Java consciously abandon RAII?
@Larry Obrien... once the stack variable goes out of scope the destructor is called.
Nov
7
comment Did the developers of Java consciously abandon RAII?
@Gnawme, but C# didn't learn RAII :)
Nov
7
comment Did the developers of Java consciously abandon RAII?
No... just put the relevant code in the destructor
Nov
7
comment Did the developers of Java consciously abandon RAII?
What about what C++ / CLI (.NET) has done, where the objects on the managed heap also have a stack-based "handle", which provides RIAA?
Nov
7
comment Did the developers of Java consciously abandon RAII?
C++/CLI (.NET) has garbage collection as well as RAII... I wonder if it is unique among languages in that way.
Nov
7
revised Did the developers of Java consciously abandon RAII?
forgot "new"
Nov
7
awarded  Nice Question