Thinking About Programs
- Kirjailija
- Kustantaja
- Sarja
1 / 74
- Kieli
- Englanti
- Formaatti
- Kategoria
Tietokirjallisuus
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-kirja): 9798400731600
Julkaisupäivä
E-kirja: 1. elokuuta 2025
Saattaisit pitää myös näistä
- Nico Lingman: Sodassa ja rakkaudessa Miia Saari
- Vendi: Jotta muut tytöt pääsisivät kotiin Saara Salminen
- Itsekkyyden aika: Miten yltiöyksilöllinen kulttuurimme sai meidät voimaan pahoin Liisa Keltikangas-Järvinen
- Pelko ja viha Joonas Vaara
- Harry Potter ja viisasten kivi J.K. Rowling
- Olga Temonen (Olgan ääni). Aika jonka sain Anneli Juutilainen, Olga Temonen
- Helmasynti Linda Jakobsson
- Erikoisjoukoissa – Janne Lehtosen tarina Kati Pukki, Janne Lehtonen
- Let them -teoria: Elämän mullistava menetelmä, josta miljoonat puhuvat Mel Robbins, Sawyer Robbins
- Peukku-Suomi Sofia Tawast
- Sinä kuolet huomenna Tapani Bagge, Toni Hakala
- Vuokralainen Freida McFadden
- Varjeltu Max Seeck
- Olga Temonen. Aika jonka sain Anneli Juutilainen, Olga Temonen
- Pappilan piika Enni Mustonen
Valitse tilausmalli
Nauti yli miljoonasta tarinasta, henkilökohtaisista suosituksista, viikottaisista uutuuksista sekä turvallisesta lastentilasta. Ei sitoutumisaikaa.
Premium
Kuuntele ja lue usein
19.99 € /kk
1 käyttäjätili
100 tuntia/kk
Ei sitoutumisaikaa
Standard
Kuuntele ja lue säännöllisesti
16.99 € /kk
1 käyttäjätili
50 tuntia/kk
Ei sitoutumisaikaa
Unlimited
Kuuntele ja lue rajattomasti
29.99 € /kk
1 käyttäjätili
Kuuntele ja lue rajattomasti
Ei sitoutumisaikaa
Family
Jaa tarinat koko perheelle
Alkaen 26.99 € /kuukausi
2-6 käyttäjätiliä
100 tuntia/kk jokaiselle käyttäjälle
Ei sitoutumisaikaa
Sinä + 1 perheenjäsen
2 käyttäjätiliä26.99 € /kk
Flex
Kuuntele ja lue harvemmin - säästä käyttämättömät tunnit
9.99 € /kk
1 käyttäjätili
20 tuntia/kk
Säästä käyttämättömät tunnit, max 20h
Ei sitoutumisaikaa
Minulla on
Kampanjakoodi