24,415 reputation
239100
bio website
location Dallas, TX
age
visits member for 3 years, 11 months
seen Jan 22 at 8:47

I've been programming since I was 15. I started with APL at the Hampshire College Summer Studies in Mathematics in 1974. At Carnegie-Mellon I learned FORTRAN, and ALGOL/W, and Pascal, did a lot of TOPS-20 assembly programming hacking the MM mail reader, a fair bit of TECO programming customizing the first versions of Emacs, and a bit of INTERLISP and SAIL. After graduating, I have worked in BLISS-36, a tiny bit of Cobol, a decade of C, lots of Perl and EMACS-LISP, C++, Ada, Tcl, C#, Java, Python, Ruby, JavaScript, and lately some Groovy.


Jan
10
comment Never use Strings in Java?
@RichardTingle: The time to recompile the code and restart the JVM for every code change. The time lost when you make a source-compatible but binary-incompatible change and things that need to be recompiled aren't and you get "MissingMethodException".
Jan
6
answered Big O of 2 interesting Algorithmic functions
Dec
23
comment How to use multiple programming languages together in the same program?
LUA is often used as a scripting layer for C++ applications.
Dec
19
comment What programming mindset to have towards JavaScript?
It's only confusing if you expect it to be like statically-typed OO.
Dec
19
comment Fast algorithm to search a sorted array of floats to find the pair of floats bracketing an input value
This is essentially the same as a binary search.
Dec
19
answered Algorithm to find the fewest number of values (from a set of values) where the sum equals a value (+ one more condition)
Dec
16
answered Concept for dealing with recurring appointments
Dec
16
comment Best way to find whether a collection does or does not contain an element with a specific desired quality
and that's a whole lot of code for a questionable performance gain.
Dec
15
comment Confusion about associations in UML class diagram
@Mike: That's the problem with domain-driven design. It never ends. Sure, people need to fly on planes. But they don't teleport themselves onto the aircraft, so we better add "Gate" and "GateAssignment". And those planes require regular maintenance, so we better add "MaintenanceSchedule" and "Mechanic" and "MaintenanceTask" and ...
Dec
15
comment Why interviewers want Optimal Algorithms
-1: I don't know where you have interviewed. I have had a couple of interviews like that at places I wouldn't want to work. Better shops want to see a candidate demonstrate some understanding and some problem-solving ability.
Dec
15
comment Best way to find whether a collection does or does not contain an element with a specific desired quality
It's not enough for the inner containers to be immutable. Your suggestion only works if the objects in the collection are also immutable.
Dec
12
comment Confusion about associations in UML class diagram
-1: Where did "Plane" come from? There's no hint that this system needs to do anything with equipment.
Dec
12
comment Confusion about associations in UML class diagram
RobertHarvey is right, but realistically you can't make any useful UML diagram without knowing generally what the system is supposed to do. Building UML diagrams in the absence of use cases is futile. A group at American Airlines once spent 18 months with SoftwareThroughPictures making UML diagrams of airline operations, and they still weren't finished. Finally someone picked a real problem to solve, and all that work was ignored. All the "analysts" went off to find another position with no measurable deliverables.
Dec
10
comment Is there ever a reason to use an array when lists are available?
"Because a method returns an array" -- this is a misfeature of Java, forcing programmers to crap up the code with "Arrays.asList(x)". T[] should at least implement Iterable<T>
Dec
3
revised Generate algorithm to solve peg solitaire
Retitled question with "peg solitaire"
Nov
13
awarded  Nice Answer
Nov
13
comment When should you start unit testing? (during which development stage?)
As much as needed, but as little as possible. You don't want tests for a calling unit to depend on complex behavior in a called unit.
Nov
12
comment Why in cyclomatic complexity we add 1 for operators within a condition?
@ratchetfreak you mean "if A is true"
Nov
12
answered When should you start unit testing? (during which development stage?)
Nov
11
comment How can I convince management to deal with technical debt?
It's fine that he said that, but does the company reward quality or do they reward speed above all else?