1st Edition

Software Design by Example A Tool-Based Introduction with Python

By Greg Wilson Copyright 2024
342 Pages 1 Color & 105 B/W Illustrations
by Chapman & Hall

342 Pages 1 Color & 105 B/W Illustrations
by Chapman & Hall

342 Pages 1 Color & 105 B/W Illustrations
by Chapman & Hall

The best way to learn design in any field is to study examples, and some of the best examples of software design come from the tools programmers use in their own work. Software Design by Example: A Tool-Based Introduction with Python therefore builds small versions of the things programmers use in order to demystify them and give some insights into how experienced programmers think. From a file... Read more

1 Introduction

 

2 Objects and Classes

 

3 Finding Duplicate Files

 

4 Matching Patterns

 

5 Parsing Text

 

6 Running Tests

 

7 An Interpreter

 

8 Functions and Closures

 

9 Protocols

 

10 A File Archiver

 

11 An HTML Validator

 

12 A Template Expander

 

13 A Code Linter

 

14 Page Layout

 

15 Performance Profiling

 

16 Object Persistence

 

17 Binary Data

 

18 A Database

 

19 A Build Manager

 

20 A Package Manager

 

21 Transferring Files

 

22 Serving Web Pages

 

23 A File Viewer

 

24 Undo and Redo

 

25 A Virtual Machine

 

26 A Debugger

 

27 Conclusion

 

A Bibliography

 

B Bonus Material

 

C Syllabus

 

D License

 

E Code of Conduct

 

F Contributing

 

G Glossary

 

H Credits

 

Index

Biography

Dr. Greg Wilson is a programmer, author, and educator based in Toronto. He co-founded and was the first Executive Director of Software Carpentry, which has taught basic software skills to tens of thousands of researchers worldwide, and has authored or edited over a dozen books (including two for children). Greg is a member of the Python Software Foundation and a recipient of ACM SIGSOFT's Influential Educator of the Year award.