608 reputation
47
bio website jon.strayer.org
location Indianapolis, IN
age 58
visits member for 2 years, 4 months
seen Apr 9 at 19:22

I've been developing software since 1990 (by at least some definitions).


Mar
9
awarded  Yearling
Mar
11
comment Is there a constant for “end of time”?
@Keith True, mine was a somewhat facetious answer.
Mar
9
awarded  Yearling
Sep
14
comment Is there a constant for “end of time”?
In C that constant is named MAX_LONG.
Jul
28
comment Fast extraction to text file from oracle database
For further processing by what? The whole point of putting data in a database is to make it easy to process.
Jul
16
answered Release Management versions control?
Jul
16
comment What is a normal “functional lines of code” to “test lines of code” ratio?
Assume for a moment you can set up a test, call the method to be tested and check the result in three lines of code. If the method you are testing is one line long (as happens in Scala) then your test to production code ration is 3:1. If the method is six lines long then it's 1:2. Six lines isn't all that long.
Jul
15
answered What is a normal “functional lines of code” to “test lines of code” ratio?
Jul
11
answered What came first, the compiler, or the source?
Jun
26
answered Should you keep a copy of all the code you write?
Jun
24
comment Why are effect-less functions executed?
@ missingno And you are accusing me of being pedantic? "-) No doubt you can others can come up with examples were an infinite loop is preventing a bad thing from happening. What you can't do is come up with a realistic scenario where we want to keep the loop. In theory (and fact) you can't eliminate the loop without changing the meaning of the program. In practice the loop is broken.
Jun
23
comment Is case after case in a switch efficient?
Are the strings constants? How about using a HashSet?
Jun
22
comment Why are effect-less functions executed?
I didn't say you could optimize away while(true) in general. But if the block has no side effects or used values you can. An infinite loop that calculates no used values and has no side effects is a bug.
Jun
21
comment Why are effect-less functions executed?
Can the compiler see that the + operator is overloaded? Then we still don't have a problem.
Jun
21
comment Why are effect-less functions executed?
To be able to remove all dead code in all possible programs they would need to solve the halting problem. That's not necessary in the above loop.
Jun
21
comment Why are effect-less functions executed?
It doesn't matter if it stops. What matters is if the value of 'n' is ever used after the loop. If not then the whole loop can be optimized away.
May
25
awarded  Commentator
May
25
comment First dedicated IDE?
@Bob I under stand that (I used Turbo Pascal). It's not the lack of graphics that I see as a problem, it's the lack of a screen. And while I suppose OP's second and third items could have been implemented on a teletype (maybe), they weren't in Dartmouth Basic. Unless you count typing the line number and line to overwrite the previous line. That doesn't really sound like code navigation to me.
May
24
comment First dedicated IDE?
Dartmouth basic ran on a system that used teletype terminals. I don't see how that counts as an IDE.
May
7
comment How important is self-teaching in the programming field?
The languages I use on a daily basis didn't exist when I was going to college. So self-teaching is very important for learning new technology if you plan on being a developer for more than a few years.