3,016 reputation
21735
bio website
location
age
visits member for 3 years, 11 months
seen Sep 15 at 19:08

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
Nov
7
comment Did the developers of Java consciously abandon RAII?
First of all Java's "finalize" is non-deterministic... it is not the equivalent of C#'s "dispose" or of C++'s destructors... also, C++ also has a garbage collector if you use .NET
Nov
7
revised Did the developers of Java consciously abandon RAII?
added 134 characters in body
Nov
7
comment Did the developers of Java consciously abandon RAII?
@maple_shaft, exactly my point! That is the advantage of C++ that I am addressing in this question. In C# you need to enclose resources in "using"... in C++ you do not.
Nov
7
asked Did the developers of Java consciously abandon RAII?
Oct
19
comment Purely technical reasons for PHP as a first choice?
@EmmadKareem, right... the point of my question is... taking all that into consideration, what is the advantage of PHP, if any, for any specific type of project
Oct
18
revised Purely technical reasons for PHP as a first choice?
added 315 characters in body