How to Write Good Programs: A Guide for Students

Paperback / softback

Main Details

Title How to Write Good Programs: A Guide for Students
Authors and Contributors      By (author) Perdita Stevens
Physical Properties
Format:Paperback / softback
Pages:214
Dimensions(mm): Height 185,Width 123
Category/GenreEngineering - general
Computer programming and software development
Programming and scripting languages: general
Computer science
ISBN/Barcode 9781108789875
ClassificationsDewey:005.13
Audience
Further/Higher Education
Illustrations Worked examples or Exercises; 3 Line drawings, black and white

Publishing Details

Publisher Cambridge University Press
Imprint Cambridge University Press
Publication Date 23 July 2020
Publication Country United Kingdom

Description

Learning to program isn't just learning the details of a programming language: to become a good programmer you have to become expert at debugging, testing, writing clear code and generally unsticking yourself when you get stuck, while to do well in a programming course you have to learn to score highly in coursework and exams. Featuring tips, stories and explanations of key terms, this book teaches these skills explicitly. Examples in Python, Java and Haskell are included, helping you to gain transferable programming skills whichever language you are learning. Intended for students in Higher or Further Education studying early programming courses, it will help you succeed in, and get the most out of, your course, and support you in developing the software engineering habits that lead to good programs.

Author Biography

Perdita Stevens is a professor at the University of Edinburgh and has taught programming and software engineering in many languages to students ranging from first-year undergraduates to established professional software developers. She previously co-authored Using UML: Software Engineering with Objects and Components (1998) and received a 10-year Most Influential Paper award and a Best Paper award at the MODELS conference in 2017 for her work on bidirectional transformations.

Reviews

'Perdita Stevens' book How to Write Good Programs provides a wealth of excellent advice tailored to beginning students of programming. It is language-agnostic, well structured, and delivered in an accessible manner. It might as well have the words 'Don't Panic' in large, friendly letters on the cover.' Jeremy Gibbons, University of Oxford 'This is the book I wish had existed during my time at university and at the beginning of my career! It explains fundamental concepts independently of a concrete programming language and contains many practical observations and tips to overcome situations where novice programmers tend to get stuck.' Jennifer Tenzer, Senior Developer 'This is a unique book that feels like a conversation over a coffee with an experienced expert in computer programing. It is full of practical tips, insights, and folklore that will be of great benefit to anyone who wants to learn how to program well.' Professor Tom Ward, University of Leeds 'Stevens's book differs from other coding books in that it assumes minimal knowledge in its readers. She discusses the concept of 'program', clarifying which problem you want to solve and choosing a development environment, all before she gets to her concrete coding tips. Especially the chapter on how to fix mistakes is a boon to the novice programmer. Few things are as frustrating as accidentally throwing away working code or - worse - not being able to get your program back to working order. And for those who have finally mastered programming fairly well, but have difficulty with their schoolwork, Stevens concludes with two chapters on how to score well on homework assignments and exams.' Karl van Heijster, De Leesclub van Alles