9,518 reputation
12040
bio website en.wikipedia.org/wiki/…
location United States
age 70
visits member for 4 years, 1 month
seen Oct 18 at 5:10

BS Mechanical Engr.
PhD CS(AI)
CS Prof (4yr)
Numerous consulting jobs.
15 yr at http://www.pharsight.com
Published book on CS & several articles
4 kids, 2 grand
Pilot(student)

P.S. The picture is a Beta-prime distribution. It shows the program speedup factors you can get if you see a problem twice in 2, 3, 4, and 5 samples.


Nov
13
comment FizzBuzz - really?
@DarenW: You've got my sympathy. I think it's important to know what you like and work from there. Personally I always liked school and never doubted my interest in engineering. My sibs are almost all sure of what they are doing. One is not, and it's easy to see that it's a struggle. Your home page indicates an interest in the intersection of science and art - that's great. Some people have had bad experiences in youth, and that can use up all their energy now.
Nov
11
answered Should I return from a function early or use an if statement?
Nov
11
answered Learning a new language and framework, should I spike a project, or first ground myself in the language fundamentals?
Nov
11
comment What are some things you have read that inspired and guided you as a programmer?
I shared an office with Richard at MIT back around 74-ish.
Nov
11
answered What are some things you have read that inspired and guided you as a programmer?
Nov
11
comment Why do people say that VB gives you bad programming habits?
At the same time, there's something to what Dijkstra says. Highly-educated programmers outside of CS raised on Fortran know almost nothing about indenting, structure, declaring variables, naming things consistently, commenting, readability, maintainability, all the things we take for granted, and mostly they have no desire to change.
Nov
11
comment Why do people say that VB gives you bad programming habits?
@Dean: Thanks for the common sense. Also, I was a professor, and we professors sometimes have a certain problem - big mouths. It comes from having secure employment, an audience who doesn't know any better, and little power.
Nov
10
comment How many types of programming languages are there?
I remember that one. I may have even used it. Boy, that was state-of-the-art. You didn't have to manually guide the milling machine, just push the start button. And if there was a bug, all hell would break loose.
Nov
10
comment How many types of programming languages are there?
@sova: (continued) You don't have to master all the off-putting math. For me, what mattered was the framework it gave me for thinking about things.
Nov
10
comment How many types of programming languages are there?
@sova: For me, information theory was a great revelation (both Shannon and Kolmogorov). It's about how meanings are encoded and passed through channels, with concepts of bandwidth, error-detection, minimal coding, randomness, etc. So, data encodes information, and algorithms are channels. Programs encode information, and programming is a channel. So, what information is encoded? where does it come from and when? where is it going to? what are the sources of errors (noise)? how are they corrected? I found that a useful perspective.
Nov
9
answered I've stopped coding for fun, is this a bad sign?
Nov
9
comment What do you optimize for?
++ I think everyone would agree, but here's my problem. When systems get big, they get loaded down with data structure, which "notifications" try to keep consistent. That's how programmers are taught to work, and it ends up with massive performance cost, because those things compound in layer upon layer upon layer. If I were back in teaching, I would try to teach how to be ruthlessly minimalist, when it comes to data.
Nov
9
comment Should I use a parser generator or should I roll my own custom lexer and parser code?
++ Good experience. I wouldn't put too much weight on performance. It's easy for otherwise good programs to be slowed down by something silly and unnecessary. I've written enough recursive-descent parsers to know what not to do, so I doubt if there's anything much faster. After all, the characters need to be read. I suspect parsers that run off tables will be a bit slower, but probably not enough to notice.
Nov
9
comment Should I use a parser generator or should I roll my own custom lexer and parser code?
++ This answer is exactly what I would say. I've built numerous languages and almost always used recursive descent. I would only add that there have been times when the language I needed was built most simply by layering some macros on top of C or C++ (or Lisp).
Nov
9
revised How many types of programming languages are there?
added 955 characters in body
Nov
9
revised How many types of programming languages are there?
added 312 characters in body; added 1 characters in body
Nov
9
answered How many types of programming languages are there?
Nov
9
comment What's a nice explanation for pointers?
++ That's more or less the way I taught the subject.
Nov
9
comment What's a nice explanation for pointers?
++ There's nothing like teaching to make you think about these things.
Nov
9
comment What's a nice explanation for pointers?
++ This is exactly how I was going to explain it. I started out in Fortran (for better or worse!). In Fortran, way back then, we used parallel arrays instead of arrays of structs (no such thing as new). If one array contained an index of "another row" in the arrays, we called it a "pointer", and this was exciting. We made linked lists, trees, you name it.