Hacker News new | ask | show | jobs
by doug_durham 17 days ago
I'm so happy to see someone encourage our field to embrace empiricism. The fact that Computer Science is tied to formal mathematics has held us back. We have spent infinite cycles looking for the golden abstraction or mathematical entity that will make developing programs more tractable.
2 comments

Actually, the "gurus" of Formal Specification/Verification themselves validated their ideas using empiricism and updated their stance accordingly. They were scientists and not fanatics. What they insisted on is on learning "Formal Methods Reasoning" based on mathematical logic and not equating "empiricism = whatever-goes". So you need to learn a more systematic way of thinking whether you express it formally or informally. See my comment here for some resources - https://news.ycombinator.com/item?id=50478624

1) Retrospective: An Axiomatic Basis For Computer Programming by C.A.R.Hoare. This was written 30 years after An Axiomatic Basis for Computer Programming to take stock on what was proven right and what was proven wrong - https://cacm.acm.org/opinion/retrospective-an-axiomatic-basi...

My basic mistake was to set up proof in opposition to testing, where in fact both of them are valuable and mutually supportive ways of accumulating evidence of the correctness and serviceability of programs. As in other branches of engineering, it is the responsibility of the individual software engineer to use all available and practicable methods, in a combination adapted to the needs of a particular project, product, client, or environment. The best contribution of the scientific researcher is to extend and improve the methods available to the engineer, and to provide convincing evidence of their range of applicability. Any more direct advocacy of personal research results actually excites resistance from the engineer.

2) How Did Software Get So Reliable Without Proof? by C.A.R.Hoare. More detailed paper on the above theme (pdf) - https://6826.csail.mit.edu/2020/papers/noproof.pdf

CS has always had two (probably more) schools of thought. It's usually clear when you visit or work with people at different universities. Schools where CS came out of their math department are generally more theory focused, ones where it came out of an engineering (EE, specifically) department will be less theory focused and more practicum focused. Of course, this can also shift over time as new faculty come and go, their research areas and backgrounds will skew the focus of their department.
My school came out of the EE department but EE kept their CS program, so our department had to move in a more theoretical direction back when it was new. And there's another CS program in the math/physics department of a second university just down the road (it's an open campus split between the two).

So basically you have 3 options depending on how much math vs engineering you want. I signed up for the middle and it turned out to be the hardest one. Should have gone to the EE side but back then I had no idea how different it was.