Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×

Comment Re:Code Reviews tend to focus on trivia... (Score 1) 495

Sadly,formating rules, variable names, number of comments, comment formats, etc. etc. and checklists of pet issues are the easiest things to spot in a group scan of the code.

I had the same experience. No one was willing to spend the substantial amount of time necessary to do an in depth code review, so the only things we found were minor syntactic things.

Comment Re:Pure Arrogance (Score 1) 495

The question is, are code reviews really effective? I worked on a project where we did extensive code reviews and we rarely found any real bugs. Going through a program line by line and finding a non-obvious bug is very difficult. Also, a thorough code review is also very time consuming. It takes almost as much time to review code as it does to write it in the first place. When you have four or so people reviewing every line written, your productivity for the project goes way down. In my judgment, code reviews just were not cost effective for our project.

Comment Re:Comment Subject: (Score 1) 528

It was certainly a valuable experience, if for no other reason than to see the court system in action.

I was on call once and served on two juries. I was glad I got to see a jury trial from the inside once, but I really don’t like having to decide the fate of other people.

In my state, the jury not only decides guilt or innocence, but also the punishment (a judge can reduce but not increase a sentence). The defendants in my trials were obviously guilty, but the defendant’s lawyers were trying to get a lesser sentence than the one they could get with a plea bargain. I was amazed at the things the jurors consider and how someone with a strong personality can sway other jurors. Probably the most important thing a lawyer does at a trial is jury selection.

Comment The Answer (Score 1) 488

OK. I had a course in the theory of psychological testing, so I know the answer. IQ tests are designed to (and sometimes do) correlate with things such as success in school, general problem solving ability, occupational success in fields such as science, etc. To say that they measure “intelligence” is a very vague way of saying this. And, of course, the correlation may not be very strong in some cases because of the limitations of the tests, and the influence of other factors.

Comment Re:Hmmm ... (Score 1) 755

A number of years ago, I worked on a team that developed this 500,000 line FORTRAN program for the analysis of scientific data. The code was very modular, but the data was all over the place. A change in the data in one part of the program could cause unforeseen problems in another part. Object oriented programming helps prevent this problem by organizing the code and the data it acts upon into objects. In my experience, object oriented programming is one of the biggest programming breakthroughs since higher level languages. I just can't see an institution with the reputation of CMU deprecating this methodology.

Slashdot Top Deals

"Hey Ivan, check your six." -- Sidewinder missile jacket patch, showing a Sidewinder driving up the tail of a Russian Su-27

Working...