Paperback: 110 pages
Publisher: Pragmatic Bookshelf; 1 edition (September 14, 2015)
Language: English
ISBN-10: 1680501224
ISBN-13: 978-1680501223
Product Dimensions: 6 x 0.2 x 9 inches
Shipping Weight: 12.6 ounces (View shipping rates and policies)
Average Customer Review: 4.4 out of 5 stars See all reviews (14 customer reviews)
Best Sellers Rank: #46,156 in Books (See Top 100 in Books) #13 in Books > Textbooks > Computer Science > Algorithms #25 in Books > Computers & Technology > Programming > Algorithms #42 in Books > Textbooks > Computer Science > Software Design & Engineering
View larger Q&A with Brian Hogan, author of Exercises for Programmers Why did you decide to write this book? I learned to program when I was in fourth grade. I was struggling with some math problems at the time, and my dad showed me how to write a program to quiz me at math problems. My dad wasn't formally trained, he just knew enough to show me what to do. And so programming, to me, was about solving problems. But when I got to college, my professors were more interested in doing algorithms and puzzles. I was never great at mentally connecting the dots. But I had one teacher who was very focused on real-world programming; writing programs to solve business problems. And everything clicked. When I got into the field, I found myself in many situations where I was teaching people to code, and I needed exercises for them to do, so I started looking at the things I had to write at work and simplifying them down. I've written BMI calculators, widgets for web sites that pulled down the weather, URL shorteners, and many other things that can teach programming concepts in context. So when I became a teacher full-time a few years ago, I began introducing these exercises into my classes for additional practice in order to prepare students for assessments. I saw student performance improve significantly. And I figured that if it worked for me, it would work for everyone. So this book is for beginners? Over the years I've had to learn some new programming languages, and I've returned to these programs to get me through that. When I was learning Go a few years ago, I tried these programs. And I just did the same thing this last year with Elixir. I've seen how the "todo list" program has become the way for developers to get their minds around an MVC framework, so I think there's a ton of value in solving known problems with a new language. I also think it's easier to learn a language when you have some goals and direction. When you've never used Swift before, even something as simple as making a mad-lib program can be a great experience. What's your favorite exercise in this book? One of the exercises in the book uses an API to show you how many people are in space. The API shows you their names and which spacecraft they are on. First, I think it's awesome we live in a time where people are in space. But also, I think the exercise is interesting and engaging, while still having you work through the concepts of pulling down remote data and formatting it.
View larger What do you hope readers take away from the book? I think we get better with practice. If you are playing piano and you only go to your lessons, and you never practice in between, you won't be as good as you could be. And I think that is the same with writing code. I think if you go through a degree program and only do the work that's assigned, you won't get as much experience. And I believe that the more languages you explore, the better you'll get at solving problems. So I hope that by reading this book, people will be inspired to practice with the language they know, or even to try a new language.
Exercises for Programmers: 57 Challenges to Develop Your Coding Skills Memory Exercises: Memory Exercises Unleashed: Top 12 Memory Exercises To Remember Work And Life In 24 Hours With The Definitive Memory Exercises Guide! (memory exercises, memory, brain training) Pilates and Bodyweight Exercises: 2-in-1 Fitness Box Set: Shred Fat, Look Great (Pilates Exercises, Bodyweight Exercises, Fitness Program, HIIT Program, ... Muscle Building, Lean Body, Total Fitness) SQL: Beginner's Guide for Coding SQL (database programming, computer programming, how to program, sql for dummies, java, mysql, The Oracle, python, PHP, ... (HTML, Programming, Coding, CSS Book 7) Hacking: The Ultimate Beginners Guide (Computer Hacking, Hacking and Penetration, Hacking for dummies, Basic security Coding and Hacking) (Hacking and Coding Book 1) JAVA: The Ultimate Guide to Learn Java Programming Fast (Programming, Java, Database, Java for dummies, coding books, java programming) (HTML, Javascript, ... Developers, Coding, CSS, PHP Book 1) Java: The Ultimate Guide to Learn Java and C++ (Programming, Java, Database, Java for dummies, coding books, C programming, c plus plus, programming for ... Developers, Coding, CSS, PHP Book 2) Creating Glass Beads: A New Workshop to Expand Your Beginner Skills and Develop Your Artistic Voice Professional Nursing: Concepts & Challenges (Professional Nursing; Concepts and Challenges) Tcl/Tk for Programmers: With Solved Exercises that Work with Unix and Windows What Should I Do With My Life?: A Guide to Helping You Merge Your Skills, Interests, and Values to Develop and Pursue a Life Purpose Juggling: All You Need to Know to Develop Amazing Juggling Skills Sport Riding Techniques: How To Develop Real World Skills for Speed, Safety, and Confidence on the Street and Track CHATTER: Small Talk, Charisma, and How to Talk to Anyone (The People Skills, Communication Skills, and Social Skills You Need to Win Friends and Get Jobs) Conversationally Speaking: WHAT to Say, WHEN to Say It, and HOW to Never Run Out of Things to Say (Communication Skills, Social Skills, Small talk, People Skills) Everyday Charisma: Techniques for Mass Appeal, Charm, and Becoming a Social Powerhouse (Social Skills, Communication Skills, People Skills Mastery) Exercises for the Brain and Memory : 70 Neurobic Exercises & FUN Puzzles to Increase Mental Fitness & Boost Your Brain Juice Today (With Crossword Puzzles) LIVING THE LAW OF ATTRACTION - 40 PRACTICAL EXERCISES: Daily Exercises To Attract Anything You Want Into Your Life 100 CAD Exercises - Learn by Practicing!: Learn to design 2D and 3D Models by Practicing with these 100 CAD Exercises! Kegel Exercises for Men: PC Muscle Exercises to Improve Sexual Health & Performance