0% found this document useful (0 votes)
340 views4 pages

Think Like A Programmer - No Starch Press

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
340 views4 pages

Think Like A Programmer - No Starch Press

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

(/)

 Topics 

FREE ebook edition with every print book purchased from nostarch.com!
(https://nostarch.com/about_ebooks.htm)

+
EARLY ACCESS lets you read full chapters months before a title's release date! (https://nostarch.com/early-
access-program)

User login

Log in (/user) Create account (/user/register)

(https://nostarch.com/sites/default/files/styles/uc_product_full/public/tlap2.png?itok=X2kWA4Kp)

Think Like a Programmer


An Introduction to Creative Problem Solving
by V. Anton Spraul
August 2012, 256 pp.
ISBN-13: 978-1-59327-424-5

Print Book and FREE Ebook, $34.99


Ebook (PDF, Mobi, and ePub), $27.99

+ Add to cart

Contents Reviews Updates

Download Chapter 6: "Solving Problems with Recursion" (/download/samples/TLAP_ch6.pdf) (PDF)


Check out the author's videos (https://www.youtube.com/user/vantonspraul) elaborating on concepts from the
book!

Examples in this book are written in C++, but will improve your ability to think like a programmer in any language.

The real challenge of programming isn't learning a language's syntax—it's learning to creatively solve problems so you can
build something great. In this one-of-a-kind text, author V. Anton Spraul breaks down the ways that programmers solve
problems and teaches you what other introductory books often ignore: how to Think Like a Programmer. Each chapter
tackles a single programming concept, like classes, pointers, and recursion, and open-ended exercises throughout
challenge you to apply your knowledge. You'll also learn how to:

Split problems into discrete components to make them easier to solve


Make the most of code reuse with functions, classes, and libraries
Pick the perfect data structure for a particular job
Master more advanced programming tools like recursion and dynamic memory
Organize your thoughts and develop strategies to tackle particular types of problems

Although the book's examples are written in C++, the creative problem-solving concepts they illustrate go beyond any
particular language; in fact, they often reach outside the realm of computer science. As the most skillful programmers
know, writing great code is a creative art—and the first step in creating your masterpiece is learning to Think Like a
Programmer.

Author Bio

V. Anton Spraul has taught introductory programming and computer science for more than 15 years. This book is a
distillation of the techniques he has used and honed over many one-on-one sessions with struggling programmers. He is
also the author of Computer Science Made Simple (Broadway).

Table of contents

Introduction

Chapter 1: Strategies for Problem Solving


Chapter 2: Pure Puzzles
Chapter 3: Solving Problems with Arrays
Chapter 4: Solving Problems with Pointers and Dynamic Memory
Chapter 5: Solving Problems with Classes
Chapter 6: Solving Problems with Recursion
Chapter 7: Solving Problems with Code Reuse
Chapter 8: Thinking Like a Programmer

Index

View the Index (download/samples/TLAP_Index.pdf) (PDF)


View the detailed Table of Contents (/download/samples/TLAP_dTOC.pdf) (PDF)

Reviews

"The author is obviously very knowledgeable and experienced with teaching hard concepts to new learners and this shows
in his no-nonsense, down-to-earth but enjoyable writing style."
—Adrian Woodhead, Slashdot (Read More (http://books.slashdot.org/story/12/08/31/1324252/book-review-think-like-a-
programmer))

"Spraul has taught intro computer science classes for over fifteen years and it shows. He does a great job showing the
theory using concrete examples, and rightfully puts a great deal of emphasis on programming exercises to strengthen the
concepts."
—Ariane Coffin, Wired.com's GeekMom (Read More (http://www.wired.com/geekmom/2012/10/think-like-a-programmer/))

"The combination of conceptual overview and common problem-solving techniques that are applicable to many
applications make this a particularly feasible way to supplement or review programming skills while learning a systematic
approach to problem solving."
—Choice Magazine

"This is one of the most helpful books I've read, due to the fact that it guides you towards designing a system for yourself,
as opposed to encouraging a mindset where there can be only one correct method."
—Lucas Westermann, Full Circle Magazine

"The book is well-written, with tons of excellent advice and solid, well-thought-out examples. If you’re willing to devote some
time to studying the material, you’ll soon find yourself equipped with an impressive array of problem-solving strategies and,
maybe, a new outlook on programming."
—Phil Bull, author of the official Ubuntu documentation (Read More (http://philbull.wordpress.com/2013/01/06/book-
review-think-like-a-programmer-by-v-anton-spraul/))

"I guarantee if you work through the entire book you will stretch your brain."
—David Bolton, About.com C/C++/C# (Read More (http://cplus.about.com/od/books/fr/think-like-a-programmer-
review.htm))

"I would definitely recommend this book as a companion to whatever text is used to introduce [new students] to
programming and/or program logic."
—Joe Saur, The ACM's Software Engineering Notes Magazine

"[V. Anton Spraul's] advice is simple, straightforward, and practical. It's an easy—and valuable—read."
—James Powell, Enterprise Systems (Read More (http://esj.com/Blogs/Enterprise-Insights/2012/08/Think-Like-a-
Programmer.aspx))

"I highly recommend Think Like a Programmer to anyone who wants to hone their creative problem-solving skills or to
anyone who has learned to program, but doesn't feel that they fully understand the concepts."
—Robert Perkins, Game Vortex (Read More (http://www.gamevortex.com/gamevortex/sound_rev.php/211/think-like-a-
programmer-an-introduction-to-creative-problem-solving-sound.html))

"This is definitely a book that I would use in teaching programming to others."


—Stephen Chapman, Ask Felgall (Read More (http://www.felgall.com/thinkprog.htm))

Extra Stuff

Featured in Develop Magazine's October 2012 issue.

Updates

Find updates and errata for Think Like a Programmer at the author's website (http://www.vantonspraul.com/content/think-
programmer-errata).

  
(http (http
u=ht text=
Navigation

My account (/user)

Want sweet deals?


Sign up for our newsletter. (/mailchimp/subscribe)

You might also like...

(/r-rest-us) (/webbots2)

(/art-randomness) (/Dive-Into-Algorithms)

(/mathadventures) (/automatestuff2)

About Us (/about.htm) | Jobs! (/Jobs.htm) | Sales and Distribution (/distribution.htm) | Rights (/rights) | Media (/media.htm) | Academic
Requests (/academic.htm) | Conferences (/conferences.htm) | FAQ (/orderfaq.htm) | Contact Us (/contactus) | Write for Us (/writeforus) |
Privacy (/privacypolicy.htm)

Copyright 2024. No Starch Press, Inc

You might also like