@redw0lf

Bubble reflections

. SIGCSE '87: Proceedings of the eighteenth SIGCSE technical symposium on Computer science education, page 264--266. New York, NY, USA, ACM, (1987)
DOI: 10.1145/31820.31771

Abstract

A published version of Bubblesort is analyzed via correctness arguments and the failure of these arguments leads to the discovery of a subtle bug. A simple change produces a correct version and a not-so-trivial proof of termination completes the total correctness demonstration for the revised algorithm. Several important lessons are extracted from this experience.

Description

Bubble reflections

Links and resources

Tags

community

  • @derbeukatt
  • @redw0lf
  • @dblp
@redw0lf's tags highlighted