Ascolta e leggi

Entra in un mondo di storie

  • Ascolta e leggi quanto vuoi
  • Oltre 400.000 titoli
  • Prova gratis per 14 giorni, poi 9.99€/mese
  • Disdici quando vuoi
  • Ascolta titoli esclusivi e Storytel Original
Prova gratis
Device Banner Block 894x1036
Cover for Thinking About Programs

Thinking About Programs

Serie

1 di 67

Lingua
Inglese
Formato
Categoria

Non-fiction

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 (Ebook): 9798400731600

Data di uscita

Ebook: 1 agosto 2025

Tag

    Potrebbero piacerti

    Scegli il piano che fa per te

    • Più di 400.000 titoli

    • Kids Mode (accesso sicuro per bambini)

    • Scarica e ascolta offline

    • Disdici quando vuoi

    Basic

    Le tue prime storie, al prezzo più basso.

    6.49 € /mese

    14 giorni gratis
    • Disdici quando vuoi

    Prova gratis
    Il più popolare

    Unlimited

    Ascolto illimitato. Dove vuoi, quando vuoi.

    9.99 € /mese

    14 giorni gratis
    • Disdici quando vuoi

    Prova gratis

    Unlimited Annuale

    Paghi subito 89.99€/anno, l'equivalente di 7.49€/mese, per 1 anno di ascolto illimitato.

    89.99 € /anno

    14 giorni gratis
    12 mesi al prezzo di 9
    • Disdici quando vuoi

    Prova gratis

    Unlimited Family

    Risparmia con più account. Ognuno con le proprie storie.

    14.99 € /mese

    7 giorni gratis
    • Disdici quando vuoi

    Prova gratis

    Scegli il piano che fa per te

    • Più di 400.000 titoli

    • Kids Mode (accesso sicuro per bambini)

    • Scarica e ascolta offline

    • Disdici quando vuoi

    Basic

    Le tue prime storie, al prezzo più basso.

    6.49 € /mese

    14 giorni gratis
    • Disdici quando vuoi

    Prova gratis
    Il più popolare

    Unlimited

    Ascolto illimitato. Dove vuoi, quando vuoi.

    9.99 € /mese

    14 giorni gratis
    • Disdici quando vuoi

    Prova gratis

    Unlimited Annuale

    Paghi subito 89.99€/anno, l'equivalente di 7.49€/mese, per 1 anno di ascolto illimitato.

    89.99 € /anno

    14 giorni gratis
    12 mesi al prezzo di 9
    • Disdici quando vuoi

    Prova gratis

    Unlimited Family

    Risparmia con più account. Ognuno con le proprie storie.

    14.99 € /mese

    7 giorni gratis
    • Disdici quando vuoi

    Prova gratis