
Exercises for Programmers
by Brian P. Hogan · first published 2015
14mentions
6recommended by
10HN commenters
2016–2025first – last mentioned
60% recommend40% neutral
Why HN recommends it
An ordered collection of short programming exercises that start trivially and build up. It is useful for learning new languages and frameworks, and it suits beginners and self-learners.
Summarised by Claude from recommending comments
Affiliate links. As an Amazon Associate I earn from qualifying purchases.








…How did you arrive at the solution you found? What would you change if you started again today?”) Build systems, big and small, on your own and with others. If you're not sure what to build, I like “Exercises for Programmers” by Brian Hogan: https://pragprog.com/book/bhwb/exercises-for-programmers The problems are still pretty trivial but a little larger in scope than most from https://exercism.io. Beyond that, I try to…
on “Ask HN: What has made you a better problem solver in software engineering?” ↗I found the book Exercises for Programmers (https://www.programmingbooks.dev/#exercises-for-programmers) to be invaluable to help learn new languages and frameworks. Beginners seem to appreciate it as well. It’s just an ordered collection of…
on “I will now send this to beginner programmers” ↗Great resource! I agree TDD is a good way to learn a new language. One of my favorite books Exercises for Programmers (https://www.programmingbooks.dev/extra/#exercises-for-progra...) promotes this approach as well.
on “Learn Go with Tests” ↗I like Hogan's book "Exercises for Programmers". Also, some lists of ideas I've recently been looking at: https://docs.google.com/document/d/1TyqD2_oDtiQIh_Y55J5RfeA9... https://github.com/karan/Projects http://www.dreamincode.net/forums/topic/78802-martyr2s-mega-...
on “Ask HN: What projects are perfect for learning a new language?” ↗Can I plug my book, Exercises for Programmers? https://pragprog.com/book/bhwb/exercises-for-programmers It's a collection of programming exercises I used when I taught introduction to programming. They start out incredibly trivial, ("prompt for…
on “Ask HN: What language-agnostic programming books should I read?” ↗Exercises for Programmers by PragProg and try to use Qt with them. Then Effective STL. Then Meyers books. C++ is fragmented between STL/Boost/Qt so you are actually learning three standard libraries.
on “How to learn more as a C++ software engineer?” ↗`Explain the Cloud Like I’m 10` and `Exercises for Programmers` are two great books for beginners. I talk more about this exact subject here: https://www.programmingbooks.dev/articles/beginner
on “Which not so well known books are suitable for beginners to learn programming?” ↗The best way to learn a new stack for me is to go through the book Exercises for Programmers (https://www.programmingbooks.dev/#exercises-for-programmers).
on “Ask HN: Best way to learn iOS programming in 2023?” ↗Read books. Like, a lot of them. Start with Make It Stick (Brown et al.). Apply what this book teaches you to every one afterwards. Next, read and work through Exercises for Programmers (Hogan) and A Common Sense Guide to Data Structures and Algorithms (Wengrow). After you finish those two, read The Missing README (Riccomini et al.) and Extreme Programming Explained (Beck et al.). These…
on “Ask HN: Any advice for success you would give to a Software Developer intern?” ↗There’s quite a few: - Zed Shaw’s Learn More Python the Hard Way[1] - Brian Hogan’s Exercises for Programmers (good for beginners)[2] - Hal Fulton’s The Ruby Way[3] - Chris Ferdinandi’s Vanilla JS Academy[4] - Marc-Andre Cournoyer’s Great Code Club (it’s old, and the community doesn’t exist anymore, but i…
on “Ask HN: Books that teach programming by building a series of small projects?” ↗Exercises for Programmers: 57 Challenges to Develop Your Coding Skills by Brian P. Hogan https://pragprog.com/book/bhwb/exercises-for-programmers
on “A list of practical projects that anyone can solve in any programming language” ↗…https://oneofus.la/have-emacs-will-hack/2011-10-30-common-li... Based on what others have said, I figure it'll give me an edge when learning other languages. (but I'll also work through SICP) I also ordered a copy of Brian P. Hogan's Exercises for Programmers: https://pragprog.com/book/bhwb/exercises-for-programmers
on “Ask HN: How should a 60-year-old get started with programming?” ↗Hi everyone. I'm working on strengthening my programming skills by working on fun projects and going through books like "Exercises for Programmers". I was wondering though, since I don't have any teachers or mentors right now, what are some great ways to get feedback on my code and problem solving techniques? I know some great ways are to post questions…
on “Ask HN: Smart/clever ways to get code reviews while teaching yourself to code?” ↗What single book would you recommend to someone who's interested in programming with no prior experience? Maybe something that could pair well with Exercises for Programmers[1]. 1. https://pragprog.com/book/bhwb/exercises-for-programmers
on “Ask HN: What programming book you'd recommend to a complete beginner?” ↗