7SOLVING PROBLEMS WITH CODE REUSE
This chapter is very different from those that came before. In previous chapters, I stressed the importance of finding your own solution to problems. That’s what the book is about, after all: writing original solutions to programming problems. Even in previous chapters, though, we talked about how you are always learning from what you’ve written before, and that’s why you should retain all the code that you write for future reference. In this chapter, we’ll go one step further and discuss how to use code and ideas from other programmers to solve our problems.
If you remember how this book started, this topic may ...
Get Think Like a Programmer now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.