I'd add a few things I've noticed over the years. Great developers like to pair program on tricky stuff, because they always learn something. They will try 2 different implementations if they're not sure which is best, and then the right one will then be obvious. They back their arguments with real world proofs. They try most fringe/new technology, even if it's not right for the current project. They hold large amount of domain knowledge in their heads. They admit when something is twisting their brains, draw it on paper, talk about it and then bang it out. They fantasize about what-ifs, in a perfect world, scenarios. And they love to share knowledge.
I have actually found the opposite. The best programmers I have known are often the most reluctant to try new technologies. At least until the technology appears to have reached some sort of critical mass and it has been shown to be virtually guaranteed to increase their already very high levels of productivity. Partly this is just an experience thing. After you see enough shiny new things wrapped up in spin and hype the task of peeling that stuff away to get an honest assessment becomes unappealing.
That said it's good to keep learning new things just for the sake of learning so I will still sometimes pick up something new just because it looks different enough from things I'm already familiar with.
If there's something new with a feature I like, I'm a lot more likely to try to replicate their feature in something I know than make a switch.
I would have thought that in area like IT where everything gets reinvented every decade (or less) a master programmer wouldn't have to look at the details to assess a "new" technology.
I hate 'trying everything' because I never feel good at anything, and more often than not "new technologies" in this scene are just someone else's old ideas, rehashed and made more complicated. Mastery requires focus.
What I've noticed works best for me is to nip it at the bud rather than bail out of that loop. Because once I'm stuck in the loop, I find it hard to sit back and think about things properly.
What I hates most about these episodes is that at the end, all I learned was a tiny bit more about disparate systems that I still don't master. Huge waste of time.
What do you mean?
Sometimes I'd be working on different parts at the same time and use a piece that was similar to another. I recall a few times looking everywhere for the missing piece or disassembling a part to find it only to find out that another little part I assembled had the missing piece.
To continue the theme - When the only tool you have is a hammer, every problem looks like a nail.
That's probably my favorite bit of advice. It really helps with understanding how much your assumptions diverge from reality.
I've often seen beginners struggle because they get so used to the compiler or the (often manual) tests catching errors that they just try things "to see if they work" without understanding what they're trying. But they don't consider two important questions: "what do you want to happen?" and "what do you expect to happen?".
If you can answer both of those, you can figure out whether your code will work before you write it. In many cases when programmers struggle it's because they don't know the answer to one or both. They're left just trying stuff until something works, but there's a lot more things that don't work than things that do, and a lot more bad solutions than good ones.
It's a good way to test assumptions and refine a mental model, and it's also just plain useful for catching boneheaded mistakes as you go. I'm not sure if I'd say I use it as a crutch, but I certainly miss it when I have to use languages like ruby and Python.
This is my favorite bit. Katrina Owen mentions this in her talk on refactoring. "Make the change easy; then make the easy change."
1996. Smalltalk Best Practice Patterns. Prentice Hall. (ISBN 978-0134769042)
1996. Kent Beck's Guide to Better Smalltalk : A Sorted Collection. Cambridge University Press. (ISBN 978-0521644372)
1999. Extreme Programming Explained: Embrace Change. Addison-Wesley. Winner of the Jolt Productivity Award. (ISBN 978-0321278654)
2000. Planning Extreme Programming. With Martin Fowler. Addison-Wesley. (ISBN 978-0201710915)
2002. Test-Driven Development: By Example. Addison-Wesley. Winner of the Jolt Productivity Award. (ISBN 978-0321146533)
2003. Contributing to Eclipse: Principles, Patterns, and Plugins. With Erich Gamma. Addison-Wesley. (ISBN 978-0321205759)
2004. JUnit Pocket Guide. O'Reilly. (ISBN 978-0596007430)
2004. Extreme Programming Explained: Embrace Change, 2nd Edition. With Cynthia Andres. Addison-Wesley. Completely rewritten. (ISBN 978-0201616415)
2008. Implementation Patterns. Addison-Wesley. (ISBN 978-0321413093)
>> Selected papers
1987. "Using Pattern Languages for Object-Oriented Programs". With Ward Cunningham. OOPSLA'87.
1989. "A Laboratory For Teaching Object-Oriented Thinking". With Ward Cunningham. OOPSLA'89.
1989. "Simple Smalltalk Testing: With Patterns". SUnit framework, origin of xUnit frameworks.
I don't agree with this, maybe I need profit instead of fun. I can found fun in a lot of other things that I can't delegate on moment.
Sorry if I am misunderstanding this part.
For some reason, even though this is invariably true, my friends at school didn't appreciate "I can't understand why I'm seeing this weird behaviour", "One of your assumptions is wrong!" xD
Good luck asserting these assumptions and factoring them in your designs.
With the exception of this one, I usually assume that you need to verify the behaviour of a library/feature you've not used before.
Unless we have the chance to learn from and be coached directly by a master, what would be helpful is narratives on how they think and solve problems.
The best I have so far come across in a book is "Coders At Work". https://github.com/aosabook/500lines promises to be another. Rich Hickey did great service by talking pragmatically about the meta aspects of programming through Hammock Driven Development and Simple is not Easy. Dijkstra's and Alan Perlis' writing that has been gaining a resurgence in popularity is also of a similar ilk. http://damienkatz.net/2005/01/formula-engine-rewrite.html also is an intriguing story.
Then there's stuff I just don't understand. For example:
> Multiple scales. Move between scales freely. Maybe this is a design problem, not a testing problem. Maybe it is a people problem, not a technology problem [cheating, this is always true].
What does he mean by scales?
Otherwise, these points are difficult to contextualize, retain, and apply.
I aknowledge what Kent Beck has done and what facebook is doing but this doesn't deserve to be on HN front page.
If in computer and data science, emphasis is on algorithms, data structures and ADTs. But if in business, commerce and industry it's the representation of complex domain concepts, real and abstract, and their interactions that are key.
In some ways there is a fundamental divide between the two. While the ops advice is valuable, for me an understanding of where and how to apply techniques across that divide is one of the biggest impediments to "mastering programming".
I think that statement captures several of these. He says it in the context of methodology and "architectural agility" in a great talk called "Simplicity Matters." 
What does this mean ?
How about just put in the work and learn the hard way?
> When faced with a hard change, first make it easy (warning, this may be hard), then make the easy change.
It aligns well with my natural process: for any problem, spend most time designing and implementing a DSL for it, and then solve it trivially in this DSL.
> The master shows himself first in confinement
Thanks. In the process I found this beautiful poem.
Mastery reveals itself by the limitations of its scope.
Some developers are really good at getting an MVP out the door quickly but their code may not quite work at scale. Others are good at working in large teams on large projects, others work better alone or in small teams. These different types will produce different types of code - the utility value of various programming habbits changes based on team size, project size and urgency requirements.
There could be some 'Master MVP programmers' and 'Master team-player programmers', 'Master large-project programmers'... You can rarely put them all under a single label - As developers we tend to get stuck with particular styles depending on which kinds of companies we have worked for.
It is not quite correct to assume that because a company is financially successful and handles many millions of users, that its methodologies are the only correct way to do things.
Programming is an adaptive skill and should change based on economic/scale requirements.
I've been doing these things, but I generally have a hard time concisely describing it. Of course, these aren't hard and fast rules. More of a guide to thinking about problems to help programmers be more efficient and accurate... More precise...
I don't really know how to describe it, but one day, you find yourself doing these things more... Stuff gets easier... Things just start to click.
I'd like to add one more, though maybe it's really just another way of putting one of the other statements.
Stop worrying about all the unknowns in the project. Work on what's known, usually the unknowns will become more clear as you progress.
It's doubly painful when days after they come up with the random set of lines that produces the intended result and dozen unintended side effects and proudly declare 'see! I did it'
the fact is this stuff has been in literature from the seventies. I found very little in this article that couldn't be found in 'code complete' or 'refactorings'. I just wish at some point developers will stop learning everything from scratch.
Good advice which applies not only to software development. I've found that focusing on what's currently known and on what I can change removes anxiety, allows me to move forward and then usually the unknowns resolve themselves along the way.
Even when you end up with a black box full of entropy, it's segregated from the rest of the system. You can feel free to change the rest of the system around it and know that the black box will keep doing it's job, as long as you keep using the well-written API within spec.
But, that's not all you get... because you took the time to write the tests, you can refactor this entropy box to your heart's content... until it starts looking more approachable. You've got your tests around the API, right? Then you don't even really need to change them to do the refactor work. The only reason to change the tests would be if you want the function to do something else (or you missed something, of course).
Take small steps... refactor out a couple lines at a time... run the tests with each iteration. Based on previous experience, you're going to end up with a fairly clear and concise implementation... not to mention performant.
On the other hand, the example that comes to mind is Ron Jeffries' TDD sudoku solver.
I've seen several systems where the magic black box is doing things hilariously wrong---as long as it works on the test cases and the production results are sufficiently difficult to verify, it'll be accepted as gospel.
I only worked briefly in the digital agency space, it wasn't my thing. My workflow very much adheres to the points described in the article but I wouldn't say that they necessarily reflect all that it means to be a 'Master programmer'.
In fact, I've been to a presentation by a digital agency on how they did exactly that and improved the time-to-launch on new projects as a result.
Besides, you don't want to overengineer anything. Refactoring will happen, so the design can be deliberately minimal at the start if proper refactoring practices can be applied.
The bottom line is good design is fractal. You absolutely need it to achieve the largest scale, but it pays dividends at any scale. While it's true there are a lot of cases where it doesn't matter, doing so will never make you a master programmer any more than chainsawing a log to make seats around a fire pit will make you a master carpenter.
To be fair, that IS the hard kind of programming.
Small, focused teams of talented developers can do things pretty much as they like and are likely to have a positive outcome. (That's why I'm skeptical of typical "agile team" success stories; if you care enough about your job to identify with the methodology, you are probably a competent developer that would get results with mostly any methodology ... it's a self-fulfilling prophecy.)
It's not self-fulfilling. It's fulfilling.
The same way Doctors wrote down the treatments that worked for patients and it became medicine.
He is not saying follow this methodology because a company made money.
Invert your thinking; he is saying the majority of companies that utilise the following values and techniques have far fewer failed projects and deliver far more projects to scope, meeting customer requirements in a suitable timeframe.
To say that this man needs to consider other approaches is akin to saying Muhammad Ali should have considered other boxing styles ;-)
Think about it.
Does Grady Booch (builder of yesterday's, now forgotten methodology) have some kind of special wisdom to dispense? If not why does Kent Beck? "Mastering" Programming, heh.
That said, sure no one can argue against such 'motherhood and applepie' statements at such a high level of abstraction.
Here is one from me "Think about what you do and act accordingly". you are saying "well duh?"? Exactly my reaction to this pablum.
Not sure any of these aphorisms are particularly relevant in practical work. Still, whatever makes people happy. If you find these useful, good for you.
 Not ignoring his work on JUnit which I used extensively when I used to work in Java. Of all the agile gurus, I respect Kent the most, because he has actually written useful code. Just playing devil's advocate a bit..
He is also the person who (re-)originated test-driven development. And his day job for the last few years has been mentoring Facebook's new engineers.
And you ignore that he answered your question in the first paragraph of the piece. You might agree or disagree with his explanation, but ignoring it just looks sloppy.
Is this the paragraph? I fail to see how such self declarations of uber competence and self labeling as "master programmer" should be accepted by others on his say so. Sure he originated/pushed TDD.(and what happened to that project on which all these 'masters' worked?) You seem to think it is a good practice, worthy of elevating Kent to 'master'. Which is fine I don't.
If his day job is to train FB engineers, and he enjoys it, good for him. If Facebook needs its engineers thus 'leveled up' by TDD etc, good for them. It is a free market.I have no quarrel with any of this.
However in my experience, the very best programmers (in any subfield of programming - Linus/Carmack/whoever, or even very good anonymous programmers working on simple CRUD systems) don't go around calling themselves 'master programmers',putting themselves at the top of imagined pyramids, or offering pithy aphorisms about how they can 'coach' other 'journeyman'(and so lesser skilled as compared to 'master' programmers) into 'mastery' by following "patterns".
This is just standard agile coach/methodologist talk. If someone calls himself a 'master' programmer, he better have world class code/coding skills on a consistent basis to back it up. Methodology religion propagation doesn't cut it (imo, ymmv and that is all right).
The 'master - journeyman-apprentice' pyramid jargon is part of the 'software craftsman' movement. In this structure, 'masters' train 'journeymen' who serve an 'appreniceship' and help them breakthrough into 'mastery. Lots of jargon from the old guild structures.
So Kent is implicitly (imo) claiming to be a 'master'. At the least he is claiming to better than "talented journeymen" engineers at FaceBook.
That said, I grant you he may be using the words without that implication. Not likely, but possible.
Whatever. All these agile/methodology guru types like to pass themselves off as skilled programmers without any supporting evidence and should be (imo) ignored totally when they pontificate about how others should program etc
YMMV. That's fine. Peace. Out.
Which, fine, grind your axes. But maybe you could stick to ranting about what people have actually done and written rather than just barking about things you imagine. For somebody very concerned about the credibility of others, you aren't working very hard on your own.
These 'guidelines' would mean very little to someone who programs microcontroller chips - Not saying these guidelines aren't useful, but in some environments there are more important aspects like will my program fit in flash memory? Do I have time to refactor this code or should I just patch it quickly and work on something more urgent/important?
I program embedded systems, which is pretty close. I still thought that the guidelines were spot on.
I'm not so sure about splitting developers into those types either. Sure, there are different personalities and specialisations out there, but... MVP programmer doesn't sound like one. It's too focused.
But I fully agree that "Facebook" doesn't automatically mean success and good practices, just like "well known person" doesn't automatically mean being right.
That's new to me.
You can follow this guide and still be a low value programmer. This guide won't take you to mastery level.
And, there is also a sense of irresponsibility around one item: "easy changes". Easy changes as in, duct tape programming? That's pretty much turning your project into a Jenga tower... you add your "easy change", that incurs technical debt, fix a problem... but lower productivity for following changes. Also sets a bad example for other people to follow.
Anecdote from one great programmer I know: When he fixed a single bug, it often came split into multiple commits. First, a few commits refactoring and cleaning up things. Then one tiny commit fixing the bug. Finally, one more commit removing now-obsolete stuff.
> When faced with a hard change, first make it easy (warning, this may be hard), then make the easy change
What argument are you making here? Boxing / Ali was an analogy to demonstrate the widespread respect of the engineering community that KB has earned.
To be clear; my post was not about you being boxer.
Karl Marx was also highly respected until he was proven wrong...
I have yet to read anything of yours which says why I shouldn't listen to Kent Beck.
For every well respected opinion or technology there is always a group of naysayers. A cadre of individuals who offer nothing of insight in return.
In 1906 John Philip Sousa claimed the phonograph would ruin music. Don't be that guy.
Don't be the guy that says GUI's will never take off, that touchscreen phones will not sell, that the Godfather was a bad movie etc.
You are being contrarian for the sake of it. Kent Beck has a massive canon of work which advances the predictability and success rate of software development. You can challenge bits of it, improve it and contribute.
You are being that guy that makes sweeping generalisations which advance nothing.
What, specifically, do you think needs improved in the OP's article?
Titans of engineering are people like Torvalds, Carmack, Engelbart, Wozniak, Codd, Lamport, Wall and many many others.
Including process people in that list would be mistaken.
Original post >>
"Doesn't give him the chops or credibility to tell others how to program or solve problems."
...that cannot be serious. Am actually smiling at that. Also laughing at the idea that modern coders think they have nothing to learn from Grady Booch.
Plinkplonk you are absolutely someone I would never want on my team or contributing to a product I was involved in. Aggressive, combative and dismissive of the precedents that laid the foundations for modern software engineering. You need to mature (my opinion). Your post has not painted you in a flattering light.
But feel free to prove me wrong - in your eyes what DOES give someone the chops to support others with engineering advice? What do they need to have accomplished?
We detached this subthread from https://news.ycombinator.com/item?id=11861023 and marked it off-topic.
The point is Booch hasn't written any cutting edge software. He just sold methodology (and books and consulting). Which makes him an expert in selling books and consulting.
I don't want agile gurus/methodology vendors telling me how to do programming. I'll gladly listen to their advice on how to build a career around a methodology. Just a personal preference.
I mean if I wanted to know how to write a 3d game engine, I'll listen to John Carmack or Tim Sweeney, not a methodology consultant. If I wanted advice on investing, I'd listen to someone who has proven chops as an investor - say Warren Buffet.
again, just my personal preference.
I'll ignore the personal attacks and your comments on my twitter account etc, which has nothing to do with my comments here and is borderline stalker behavior.
Whatever floats your boat. All good. This is the internet
Agile vendors don't tell you how to do your job. They tell you how your job fits within a whole and that whole can be delivered quickly if you play nice with others.
Not surprised you struggle with the concept given your tone. Clearly not a growth mindset and fixated only on your technology.
Nice summary of Booch by the way, neatly side stepping his programming experience and Master's in electrical engineering or his work supporting design patterns. eyeroll
The hate is strong in you.
I would also add, with a little glee, Agile vendors are not going anywhere and you will be listening to them for a long time to come; you know why? Your boss listens to them. Don't be bitter at consultants, the game chose them.
These guys have no special expertise in this either. They haven't (mostly) worked on high performance programming teams or led successful companies or launched killer products. But if you give them a chance they'll try to sell you 'methodologies' on all these and more.
They make their living selling ill thought out ideas to clueless middle managers. What makes them experts in "how your work fits into a whole?"
Lol getting a masters in electrical engineering and having written forgotten books on design patterns makes you an expert in how to 'master programming' and work in high performance teams? News to me!
Ignoring your personal attacks as usual. Heh.
Saying Kent Beck, Ken Schwaber, Jeff Sutherland etc has not led successful companies or worked in high performance programming teams he he he. That's class.
I hope this post is immortalised :-D
So if Agile is ill-thought out, what is not ill-thought out? By all means, you have the stage...
you spend your time digging up my old blog posts from years ago, accuse me of faking comments on my own blog post, (lol what? evidence? or are you just high and imagining things?) and then call my behavior abnormal?
Heh. Whatever man. This is getting creepy.
I've had an anti-agile point of view  for a long time now. so you went hunting and found a blog post which I wrote years ago elucidating that view. So what? This thread is getting meaningless and you are beginning to creep me out with this behavior and personal attacks, so I'll exit this too-long thread and leave the floor to you.
 One more anti agile post from my archives. More grist for your mill http://ravimohan.blogspot.in/2007/04/learning-from-sudoku-so... .
You find it creepy that you list your twitter profile and you publish an online blog and people then read your Twitter and online blog?
I def believe and am willing to bet a month's salary that you faked those blog comments. I am more sure of it than my own name. We both know you did. It's transparent.
The same people down voting each comment rather than apply discretion shrug
Is there a better list somewhere?
Have some of the tips mentioned there brought you undone at some point and that's why you don't like it?