ArticleslgStudy

computer science

On the Cruelty of Really Teaching Computer Science

On the Cruelty of Really Teaching Computer Science is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand On the Cruelty of Really Teaching Computer Science rather than just read about it. In short: "On the Cruelty of Really Teaching Computing Science" is a 1988 scholarly article by E. W.

Key takeaways

  • On the Cruelty of Really Teaching Computer Science belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect On the Cruelty of Really Teaching Computer Science to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of On the Cruelty of Really Teaching Computer Science from memory before moving on to harder problems.

Reference excerpt

"On the Cruelty of Really Teaching Computing Science" is a 1988 scholarly article by E. W. Dijkstra which argues that computer programming should be understood as a branch of mathematics, and that the formal provability of a program is a major criterion for correctness. Despite the title, most of the article is on Dijkstra’s attempt to put computer science into a wider perspective within science, teaching being addressed as a corollary at the end. Specifically, Dijkstra made a “proposal for an introductory programming course for freshmen” that consisted of Hoare logic as an uninterpreted formal system.

Debate over feasibility Since the term "software engineering" was coined, formal verification has almost always been considered too resource-intensive to be feasible. In complex applications, the difficulty of correctly specifying what the program should do in the first place is also a common source of error. Other methods of software testing are generally employed to try to eliminate bugs and many other factors are considered in the measurement of software quality. Until the end of his life, Dijkstra maintained that the central challenges of computing hadn't been met to his satisfaction, due to an insufficient emphasis on program correctness (though not obviating other requirements, such as maintainability and efficiency).

Pedagogical legacy Computer science as taught today does not follow all of Dijkstra's advice. The curricula generally emphasize techniques for managing complexity and preparing for future changes, following Dijkstra's earlier writings. These include abstraction, programming by contract, and design patterns. Programming techniques to avoid bugs and conventional software testing methods are taught as basic requirements, and students are exposed to certain mathematical tools, but formal verification methods are not included in the curriculum except perhaps as an advanced topic. So in some ways, Dijkstra's ideas have been adhered to; however, the ideas he felt most strongly about have not been. Newly formed curricula in software engineering have adopted Dijkstra's recommendations. The focus of these programs is the formal specification of software requirements and design in order to facilitate the formal validation of system correctness. In Canada, they are often accredited engineering degrees with similar core competencies in physics-based engineering.

References

Worked examples

Example 1 — a first encounter with On the Cruelty of Really Teaching Computer Science

Start with the simplest possible case. Write down what On the Cruelty of Really Teaching Computer Science claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to On the Cruelty of Really Teaching Computer Science before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about On the Cruelty of Really Teaching Computer Science ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of On the Cruelty of Really Teaching Computer Science

In research
On the Cruelty of Really Teaching Computer Science appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses On the Cruelty of Really Teaching Computer Science in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
On the Cruelty of Really Teaching Computer Science is common in secondary-school and first-year university syllabi. It links to neighbouring topics 1988 documents, Computer science education, Computer science papers, so understanding it makes those chapters shorter.
In everyday life
Look for On the Cruelty of Really Teaching Computer Science outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “On the Cruelty of Really Teaching Computer Science” →

How to study On the Cruelty of Really Teaching Computer Science in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what On the Cruelty of Really Teaching Computer Science means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain On the Cruelty of Really Teaching Computer Science out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is On the Cruelty of Really Teaching Computer Science in simple terms?

"On the Cruelty of Really Teaching Computing Science" is a 1988 scholarly article by E. W.

Why does On the Cruelty of Really Teaching Computer Science matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study On the Cruelty of Really Teaching Computer Science?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on On the Cruelty of Really Teaching Computer Science.

Tags

  • 1988 documents
  • Computer science education
  • Computer science papers
  • Works by Edsger W. Dijkstra

Keep exploring