Programming Book Recommendations

petard

Ars Scholae Palatinae
1,379
Subscriptor++
Clean Code: A Handbook of Agile Software Craftsmanship by Bob Martin


Please don't read that without also reading and considering the objections to it. A good discussion kicked off over here. I think Clean Code is a good read but I would not call it uniformly good advice.

Brooks (Mythical Man Month) is a must read for anyone new to the field. It might be more germane now than it was when it was written.
 

hanser

Ars Legatus Legionis
43,847
Subscriptor++
Recommendations in a vacuum are hard.

IME, it looks like you're at the "So I know a programming language" stage, which means you're not a beginner, but also not yet a journeyman. You need to work on *craft*, which means elements of style and maintainability. I wouldn't pick up something like "Working Effectively with Legacy Code" until you can take a problem, know how to solve it, and actually write the code that solves the problem all at once without getting stuck.

That usually occurs at the 1-2 years of full time experience mark. If you're in the "I have an idea, but program myself in circles" stage of your development, I would probably read The Pragmatic Programmer and Clean Code. Most of the content in those books is timeless, and somewhat applicable to today. (Not all of it; like with everything, there are shades of gray.)

I would avoid books on "object oriented" programming languages written before 2010 -- they're too dogmatic, and no one programs that way anymore.

At some point, you should probably read a functional programming book that focuses on an ML language like OCaml or F#. (I say ML instead of LISP because OCaml, for example, is having a huge impact on the design of the C# language. And as C# goes, Java tries to follow a decade later.) Don't do this until you can easily take an idea and express it in code far more often than not.
 

Ben_H

Ars Scholae Palatinae
1,059
It's not a book. But back when I was trying to transition from "java developer" to "full stack developer" I used a lot of guides from

https://roadmap.sh
Thanks for that link. It's quite helpful.

I honestly think in some ways it is now much harder to find that sort of information now on your own. Now when you look up a given topic, instead of a few links of information that is relatively solid at the top of a google search like it was 5 years ago now there are pages and pages of links and the quality of information is much more hit and miss (let's just say some of these websites seem to invest a lot more effort into SEO than into content quality). I've been trying to find an actual solid guide to learning React since a lot of the places I'm looking to apply to want people to be familiar with it, and finding good information has been an exercise in frustration.

edit: I agree with everything I've read so far in that discussion on Clean Code. I didn't end up finishing Clean Code when I went to read it. There are bits of info in it that are good but there are also some very strange bits of advice in it. Like the author of this criticism, I also found the examples in Clean Code to not be particularly clear or informative. A lot of the class names and function names are obtuse and there are a fair chunk of instances where Martin doesn't follow his own advice.
 

Lt_Storm

Ars Tribunus Angusticlavius
21,343
Subscriptor++
At some point, you should probably read a functional programming book that focuses on an ML language like OCaml or F#. (I say ML instead of LISP because OCaml, for example, is having a huge impact on the design of the C# language. And as C# goes, Java tries to follow a decade later.) Don't do this until you can easily take an idea and express it in code far more often than not.

And here I would have said LISP because Clojure works with JVM code... But, either one really works. Also, they are good languages to learn early if possible as they break your mind in the best ways possible. * Speaking of, for beginner-intermediate developers (though, perhaps not raw beginners), Structure and Interpretation of Computer Programs is a really good, though not necessarily easy, book. It teaches you to program in Lisp, from the basic syntax to, eventually, how to build a compiler. It was the textbook for MIT's intro to programming course until 2008 after which it was replaced with Python as the language of instruction.

Also, at the intermediate to journeyman level, there are a number of programming pattern books inspired by Kent Beck's Smalltalk Best Practice Patterns that it would be good to be familiar with. The classic such Java manual is the Gang of Four's classic Design Patterns: Elements of Reusable Object-Oriented Software. But there are others.

* Speaking of, other good languages to learn fairly early because of how they break your brain would be Icon, Unicon, or, ideally, Prolog.
 
The Pragmatic Programmer (Hunt, et al) is a favorite

For architecture/design/patterns:
Head First: Design Patterns (Freeman, et. al, good for most folks' access to understanding patterns)
Design Patterns (GoF)
Enterprise Integration Patterns (Hohpe, et. al., helped me a bunch understanding some of the nomenclature being used in/around distributed software)
Patterns of Enterprise Application Architecture (Fowler, same as above)


I still agree with most of the stuff in
Clean Code (Martin) and
Clean Architecture (Martin)
although he seems to make up a bunch of principles in the latter just to pad out the book.

Refactoring (Fowler)
Working Effectively with Legacy Code (Feathers)

If you're of the Java ilk:

Java Concurrency in Practice (Goetz)
Effective Java (Bloch)

I also like the conference videos by Sandi Metz (especially the Death Star Anti-Pattern one) and Katrina Owen.
 

NCPar8hd

Ars Tribunus Militum
2,351
For architecture/design/patterns:
Head First: Design Patterns (Freeman, et. al, good for most folks' access to understanding patterns)
Design Patterns (GoF)
I'e heard that it is a good idea to read Head First: Design Patterns first, then read the Gang of Four book. Supposedly the Head First book gives you a foundation to understand the GoF.