2 ms·
What do you mean by "master"? I'm quite skilled, but I have a whole lot more to learn. I think that's true of every expert programmer I've ever gotten to know.
by JohnFen 4y ago
What do you mean by "master"?
I'm quite skilled, but I have a whole lot more to learn. I think that's true of every expert programmer I've ever gotten to know.
I've been programming professionally for 30 years or so now, so the basic honest answer of how I gained the skills I have is that I've just done it a whole lot.
But I think that leaves out too much. I truly love programming and computers, and am curious about everything related. I would not be doing it any less if I weren't being paid for it (and, in fact, I have never stopped programming recreationally).
So I've spent countless hours studying, reading, experimenting, and just generally doing, because all of that was play, not effort.
When people ask me how to learn to program well, my answer is basically "just start programming". Pick a language, it doesn't matter which, and start. Branch out from there, learn other languages (especially ones that use different paradigms -- learn object-oriented programming, learn procedural programming, learn parallel programming, etc. Once you have learned how to work in a given paradigm, the difference between the languages in it becomes mostly a matter of syntax, and so they're easier to pick up).
Read constantly, and a wide variety of authors. Read programming-related things that are unrelated to the stuff you're currently interested in. Read other programmer's code. When you see something cool, take the time to look over how they did it -- even if it's in a language you haven't learned. You'll understand more than you expect.
Be a generalist. You'll probably have a favorite language, a favorite type of programming, a favorite type of problem, and so forth. Make yourself tinker with the stuff that isn't your favorite, and especially the stuff that is new. Even if you never do more than tinker, you'll learn new things and approaches that will improve the skills you've already honed.
Avoid ruts. Avoid doing the same thing over and over.
And realize that all programming is essentially an exercise in complexity management.
- btschaegg 4y agoYou've put most of my thoughts into words more eloquently than I would have :) If I'd add another point, I'd say that many skills of a good programmer don't necessarily relate to programming itself -- even still on the technical side. > And realize that all programming is essentially an exercise in complexity management. I think this gives us a hint at this. If we're building more and more complex systems to solve problems (and that's what our job is, not producing compiling code!), there's also tremendous value in reasoning and extrapolation skills that allow us to "mentally leap into the future". In his first session of "Beyond the Goal", E. Goldratt elaborates on four questions he insists one must ask about new technologies: - What is its main power? - What limitation does it diminish? - What are the old rules that accomodate that limitation (and should thus be abolished)? - What should we do instead? Along those lines, often we're given a problem and an existing system; and the best thing to do is just to identify why there is a problem (the limitation) and what (ideally simple) steps we can take to get rid of it. So less thinking along the lines of "add another form/button/algorithm/yaml file" and more "hang on, this problem just goes away if I correct some preconceived notion we just inherited without introspection". Edit: I have encountered situations where the last bit resulted in me mostly getting rid of code (and complexity) instead of adding more to a project.