Thinking About Programs
- Autor
- Verlag:
This book describes how to think about computer programs, and how to use mathematics as part of that thinking. Many books and on-line tutorials teach the basics of coding: the syntax of the language, and how to translate an algorithm into code. But how do you come up with that algorithm? And how can you be confident that the algorithm is correct?
The first part of the book considers small programs that use a loop, and how to demonstrate their correctness using loop invariants. It also covers some algorithms and algorithmic techniques that every programmer should know. The second half of the book considers slightly larger programs. It teaches the basics of modularisation, splitting up a program into manageable chunks. It teaches about abstract datatypes, values within a program that can be treated as mathematical values: how to specify their behaviours formally; and how to treat them as abstract mathematical objects when programming. It also teaches how to use data structures to represent abstract datatypes, and what it means for such a representation to be correct. And it presents some abstract datatypes and data structures that every programmer should know.
The book is aimed at those who want to obtain a better understanding of programs they work on, and so become better programmers. The target audience ranges from those who are just starting out, to professional programmers. The book aims to be pragmatic: the philosophy is to include enough formality to be convincing and to guide the programmer towards correct code, without getting bogged down in the mathematics.
© 2025 ACM Books (E-Book): 9798400731600
Erscheinungsdatum
E-Book: 1. August 2025
Wähle dein Abo-Modell
Über 600.000 Titel
Lade Titel herunter mit dem Offline Modus
Exklusive Titel und Storytel Originals
Sicher für Kinder (Kindermodus)
Einfach jederzeit kündbar
Unlimited
Für alle, die unbegrenzt hören und lesen möchten.
18.90 € /Monat
1 Konto
Ohne Stundenlimit
Jederzeit kündbar
Wechsel zu Basic jederzeit möglich
Basic
Für alle, die gelegentlich hören und lesen.
8.90 € /Monat
1 Konto
20 Stunden/pro Monat
Jederzeit kündbar
Abo-Upgrade jederzeit möglich
Anderen gefällt...
- Fourth Wing – Flammengeküsst (Flammengeküsst-Reihe 1) Rebecca Yarros
- The Deal – Reine Verhandlungssache: Off-Campus 1 | Roman | BookTok-Liebling | Prickelnde College-Romance für New Adults Elle Kennedy
- Iron Flame – Flammengeküsst (Flammengeküsst-Reihe 2): Die heißersehnte Fortsetzung des Fantasy-Erfolgs »Fourth Wing« Rebecca Yarros
- Häftling (Ungekürzt) Freida McFadden
- Lights Out (Lights Out 1): Heiße Dark RomCom für Leser:innen von Brynne Weaver endlich auf Deutsch! (Aly & Josh) Navessa Allen
- Die Känguru-Rebellion (Die Känguru-Werke 5) Marc-Uwe Kling
- The Score – Mitten ins Herz: Off-Campus 3 | Roman | BookTok-Liebling | Prickelnde College-Romance für New Adults Elle Kennedy
- Die Känguru-Chroniken (Die Känguru-Werke 1): Live und ungekürzt Marc-Uwe Kling
- The Mistake – Niemand ist perfekt: Off-Campus 2 | Roman Elle Kennedy
- Die verschlossene Tür (Ungekürzt) Freida McFadden
- Throne of Glass 1: Die Erwählte Sarah J. Maas
- Alchemised: Das internationale Phänomen – jetzt auch als Hörbuch SenLinYu
- The Pumpkin Spice Latte Disaster (Lower Whilby 1): In dieser cosy RomCom treffen Stars Hollow-Vibes auf die Enemies to lover-Trope Kyra Groh
- Verity (Verity) Colleen Hoover
- Onyx Storm – Flammengeküsst (Flammengeküsst-Reihe 3): Die heißersehnte Fortsetzung von »Fourth Wing« und »Iron Flame« Rebecca Yarros
