Exercises for Programmers by Brian P. Hogan
57 Challenges to Develop Your Coding Skills

No critic rating

Waiting for minimum critic reviews


When you write software, you need to be at the top of your game. Great programmers practice to keep their skills sharp. Get sharp and stay sharp with more than fifty practice exercises rooted in real-world scenarios. If you're a new programmer, these challenges will help you learn what you need to break into the field, and if you're a seasoned pro, you can use these exercises to learn that hot new language for your next gig.

One of the best ways to learn a programming language is to use it to solve problems. That's what this book is all about. Instead of questions rooted in theory, this book presents problems you'll encounter in everyday software development. These problems are designed for people learning their first programming language, and they also provide a learning path for experienced developers to learn a new language quickly.

Start with simple input and output programs. Do some currency conversion and figure out how many months it takes to pay off a credit card. Calculate blood alcohol content and determine if it's safe to drive. Replace words in files and filter records, and use web services to display the weather, store data, and show how many people are in space right now. At the end you'll tackle a few larger programs that will help you bring everything together.

Each problem includes constraints and challenges to push you further, but it's up to you to come up with the solutions. And next year, when you want to learn a new programming language or style of programming (perhaps OOP vs. functional), you can work through this book again, using new approaches to solve familiar problems.

What You Need:

You need access to a computer, a programming language reference, and the programming language you want to use.


About Brian P. Hogan

See more books from this Author
Brian Hogan is a developer, author, and teacher who loves building things for the web. He teaches introductory programming classes at the college level and has an interest in performance-based learning. He is the author of Automate with Grunt, tmux and HTML5 and CSS3 and is the co-author of Web Development Recipes.
Published September 14, 2015 by Pragmatic Bookshelf. 110 pages
Genres: Computers & Technology, Education & Reference.