- Добавил: literator
- Дата: 9-04-2023, 18:25
- Комментариев: 0

Автор: Antonio Piccolboni
Издательство: Independently published
Год: 2023
Страниц: 219
Язык: английский
Формат: pdf, azw3, epub, mobi
Размер: 14.2 MB
Ascetic programming is the writing of computer programs using fewer lines of code or forgoing certain programming language features. Imposing restrictions on programming other than those on resources goes at least as far back as Edsger W. Dijkstra's condemnation of the goto statement. However, among possible restrictions, the one on program length is the most interesting. It has positive associations to computing, from correctness to maintainability. Asceticism originated as a spiritual practice targeting worldly pleasures and promising salvation or enlightenment. This book will focus mainly on code length restrictions and, more generally, description length restrictions, and our rewards will be plenty and varied, but less spiritual. Asceticism in programming comes in two flavors: conciseness and frugality. The former aims at delivering the same functionality with fewer lines of code; the latter's goal is identifying essential features and discarding the rest. They both apply to programming at all scales, from snippets to systems.