255 points · by willvarfar · 14y ago · 181 comments
That said, this is a badly written article which doesn't convey much useful information or convincing argument. I am surprised it is on the HN front page,leave alone being the top ranked article (at the time of writing this comment).
Agile and TDD have been exhaustively discussed before on HN and an HNSearch will bring up much better arguments, both pro and con, from people who can clearly explain their viewpoints.
The trends I've been seeing and trying to do are as follows:
* full stack responsibility. You own the task front (js/html) to back (db), including testing.
* no f-ing standups. Communicate normally with your colleagues, no prescribed check in with them.
* no iterations. Release whenever; it may sound crazy but kanban style release whenever you're ready to push features out, in my mind, is the way to go.
* engineers, again, run the company. This in my mind is the biggest thing - having those 'with power' also be engineers and the product being the most important product.
All the above are the opposite of what I've seen with the agile movement. Keep teams small, keep them close and your product will reflect that.
Another huge, HUGE thing is to get the fucking mba management types out of the office. Can't stress this enough: if you can't code, you don't belong. You're making a tech company but you don't understand the basics of how the product is made.. So, you own a furniture making company and you don't understand what glue, oak, and lathes are..? Fail.
That's my real life experience and opinions regarding agile. I've tossed away all the agile stuff for a new project I'm doing and like the poster says, it's all based on common sense. You can run your company or project any way you want. I have friends that have millions in revenue every year with their small shops and they don't do any agile stuff. Yet they're one of the leaders in their space and when my friend, the engineer ceo, told me "we have no iterations or deadlines except when it has to be done by", that was a big wakeup. I was thinking "THAT'S how I want to do things".
So, it can be done. Good luck. :)
Unless you are 1337 with all of those you end up with silos instead of properly defined layers and reusable code.
> Another huge, HUGE thing is to get the fucking mba management types out of the office. Can't stress this enough: if you can't code, you don't belong.
Awesome, I'll get around to telling my boss that, the very same one that hired me.
I am not a programmer. I have been involved in user training and in documentation for end users. How does your project handle the situation where there is a non-trivial change in the user interface?
I don't really have a problem with the tenets of Agile, but the Church of Agile, its high priests, and its associated industries are bullshit.
I can think of dozens of changes I should make to my every day life based on common sense (don't get stressed, spend more time with firends and familly, save for the future etc). Why don't I do them? Because it's difficult to align these "simlple" truths with the overall complexity of my environment and competing pressures. There's always complexity in the system, agile just simplifies one part and moves complexity into other areas e.g. having a highly trained and skilled team.
For example the what is "do not get stressed", the how might be to plan your day better, keep your life simple, etc.
These small nuggets usually talk bout the how, but a lot of people either think they know better, or have resigned themselves to the fact that it really is that hard.
Agile is like anything else: some well-meaning (and arguably useful) principles that get warped by bad managers and bad companies. The natural evolution for any such idea is to turn it into an industry and there are any number of people who are willing to sell you training, lectures, books and programs for Agile (with a capital-A). You need to separate the industry from the idea.
[1]: http://steve-yegge.blogspot.com/2006/09/good-agile-bad-agile...
Big-A Agile is a management buzzword, something you can become certified in and certainly a scam.
Small-a agile is a number of mostly common sense principles on how to approach process. It is emphatically not the process itself. While it cannot be meaningfully certified, it can be taught and learned.
Someone else linked to the agile manifesto. I'm just gonna go out on a limb and paste the punchline:
Individuals and interactions over processes and tools
Working software over comprehensive documentation
Customer collaboration over contract negotiation
Responding to change over following a plan
Furthermore, I think it's best to consider Agile in its proper historical perspective. When it first emerged, its principles -- as you've enumerated from the manifesto -- were uncommon enough to be novel and insightful. In this context, the Agile philosophy was a legitimate reaction to the problems of its day. Whether or not it's been an effective remedy to those problems is a matter of hotly contested argument. But one is, perhaps, inclined to be more charitable to Agile when fixing it into historical place.
In principle, I don't think it's fair to call Agile -- the core, original theory -- a "sham." Rather, the "sham" is all the rigidity, trappings, and liturgy that have grown up around Agile since it reached its saturation point. At some point, Agile started to ossify into a shadow-image of everything it was intended to fix. But I think that failing reflects the nature of its practitioners more than it does the core philosophy.
For me, big-A Agile refers to the Agile Manifesto for Software Development, and is the Agile that people are talking about in posts like this. It may be a software development buzzword, and yes there are certifications and they are scams, but I find the values and principles in the Agile Manifesto to be fairly sound and relevant within the context they were first produced in, as basically a reaction to waterfall in larger companies developing business software with average developers.
Small a agile is an English word meaning quick or flexible or something.
I am not saying I am right and you are wrong, just that is how I have usually thought about it.
The reason I make the distinction is that big-A is the quantifiable bit, but you can tick all the boxes and still essentially do waterfall. Conversely, you can be small-a agile without ticking the boxes - agile isn't, and can't be, prescriptive.
If the team feels they don't need daily stand-ups, or if they want to sit down (the horror!), there is nothing about being agile that should keep them from doing that. Same goes for tests: You can worship the test coverage number obsessively, but if your assertions are pointless or missing, you won't reap the benefits. Conversely, an agile team can decide to forego tests if that's the right thing.
I work as a quality assurance consultant. Usually companies buy my services when everything is messed up. Now if I try to solve their problems by saying "hire better engineers", nothing gets fixed. Nothing gets fixed because there is only so many good engineers available and the company usually don't have enough money to hire him/her.
But if I teach them to follow Scrum, it is really easy to add code reviews, testing (unit and functional), planned releases, etc.
It could be argued that one does not need Scrum to get those done or that it does not matter since team of better engineers will at some point do better job. But have problems in our hands right now and those must be fixed yesterday. So until some other methodology than Scrum get popular enough, we'll use that.
So in real life Scrum makes getting the best out of normal team so much easier. Sure there are always rockstars who don't need any process, but in reality you, me and most of us, are all pretty dumb and just have to live with the fact.
I know that isnt Agile, but the problem is that many managers(and apparently consultants) think that is the way to do it. In my opinion, work getting done is not because you implement a process or methodology. Work gets done when you have a good team in place and trust them to do their job. Many companies seem to think that they can promote a non technical person to manage a development team. The problem with this is that they have no idea how software is built so implementing a methodology that promises consistent results no matter what the inputs are seems reasonable to them.
I am by no means representative of anyone other than myself, but I find I am most productive when a) I know the problem domain inside and out b) I am given some leeway with architecture and design c) I am not bogged down in process.
As projects get larger, its not as easy to allow for those conditions, so getting smart people on board is imperative. Agile should allow for managers to get some transparency and a view into the process, but little more...
They teach developers that building things is always an iterative process. A well designed product will still require incremental on-the-fly improvements to get it right just as code does. Sometimes a design will require a refactor just as code does. Needing a 'complete' design doc before building a product is a fallacy.
They teach project managers that if they just let the designers and developers get on with it they can usually self-organise and manage their time better than if done top-down by a non-technical outsider.
They teach producers and 'product owners' that constant interference can be detrimental to a production process. Developers should be allowed to develop.
Best of all if done right they allow everyone scope to make mistakes yet still fix them and good mistakes that they can try out and keep.
However, there are downsides: scrum has no role for designers in the day-to-day production. Either they are pushed to the role of product manager or they have to work independently a sprint ahead. An ideal system would put the designers into the heart of the scrum team.
Top-down scrum is where it all goes badly wrong: producers and managers insisting that designs are complete before a line of code is created, managers taking the role of scrum-master, sprints being nothing more than waterfall milestones etc.
I think it takes a special sort of programmer to run a project to be honest. They are out there, but they are hard to find!
This kind of attitude will show up in other matters, most importantly understanding what actually needs to be developed, what the priorities are and why they are important.
I'm surprised how many people here seem to be ignorant of Agile. Take for instance the certification scam accusation that is liberally thrown about: only Scrum has certification, and even that has always been controversial. As far as I know, no other Agile flavor tries to sell certification. But even so, Red Hat sells certification, does that make Red Hat Linux a scam?
There are scammers and greedy consultants in every area of IT. None of that has fuck all to do with Agile in particular. So why are people so hell bent on using this against Agile?
In my experience 90% of software problems are social problems. He seems to care only about technical problems, and assumes those are solved by the magic of intelligence. I believe that if you can not explain to someone else how to do what you do, you aren't actually a master of your craft. Appeals to hire smarter coders sound incredibly hollow unless they are accompanied by techniques to make the average coder smarter.
There are much better critiques of Agile out there, mostly having to do with how it has been sold. I'm not sure what he thinks he is contributing to the discussion.
Any process can be harmful. It can also be incredibly useful, and the lack of process is at least as harmful as process applied badly. I recommend the book "The Checklist Manifestos" for examples. It proposes that the goal of process is to handle routine complexity and make cooperation routine, leaving human attention and effort free to focus on the actual hard problems.
The other prong to this problem is you can't remember what you don't record. Well, you may have an eidetic memory, but unless the company generates deliverables besides code that explain what the code does or is supposed to do, a change in team X years down the line may mean the company forgets why Joe wrote the widget wrangler in the way that he did, and accordingly the widget wrangling module becomes an unmaintainable black box. Generating these deliverables is a part of the software process, whether Agile or otherwise.
And there will always be a process. This arises simply as a consequence of the fact that management needs to know how well you're doing, and if you're performing in a cost-effective manner, to many decimal places of precision. And if the process isn't agile, it could be something far less pleasant.
Agile Processes (big A) may sound scammy to you, like their proponents are trying to sell back to you shit you already know. But you only know that shit because you're a software developer. Management can't do what you do, and they're the target audience of Agile Processes like Scrum and XP. It gives them a ready-made Industry Best Practice that they can decide with confidence to adopt company-wide, with little perceived risk because it's so proven and widespread. Compare and contrast with the success of the "open source" meme in convincing companies to adopt, and participate in, free software.
You want to measure LOC, programmers WILL write more lines. Want to measure and reward less defects, programmers WILL create less defects etc. But will your software be sexy, appealing to users, creative, innovative, trend setting solution to old/new problem?
How about ...
* Number of new features delivered per week (and size of said features)
* Number of new users per week
* Number of page views per day
They're fuzzy metrics at best, but saying "writing software can't be measured" is just defeatism. It's not fine art, it's not a Jackson Pollock painting, it's a craft. It has utility. We can get a grasp on that. Even the pretty bits are ultimately there to make it more useful to people.
Isn't that what software development is all about. It's about collapsing this cloud of uncertainty into concrete deterministic expression a.k.a code, which only solves the problem as you understand it.
If software development were that measurable, software developers would be as well paid as CEOs or sales people. But we are not. Because there is no way to demonstrate almost any relationship between what we do on daily basis (stare at screen and type on the keyboard as management often sees it) and sales and revenue. Some places go as far as to think of their development organization as overhead, a cost center.
There most definitely are useful software metrics that can provide important information to management, mostly in the form of identifying problems and risks, which can then be adressed before they become urgent.
You talked about turning code into metrics, now you want to turn metrics into code?
It's the other way around. Scrum translates delivered code into metrics. You track history. You would say "last week we delivered 4 new features and signed up x new users. That's above our average." It's not entirely nebulous.
I'd love to see some citations in the form of "Product XYZ that you know and love is developed using Agile" as opposed to the usual "My cousin's friend's brother's girlfriend used Agile for an internal CRUD tool and it went totally great".
In the real world, the few times I've worked at places that attempted Agile (Scrum both times) I've only seen Agile fail miserably.
This is where people tend to wrong at the very start. Any attempt to implement Agile (or any other method) with the illusion that process can solve the problem will always go horrible wrong.
Discipline is just a tax. If you need to structure and test your code, then you're a mediocre coder at best, and so is your work and project. Just write whatever you feel like, it'll turn out ok. You're awesome, how could you possibly code anything less than exactly what the client wants?
Nonsense. Agile is a discipline, just like properly structuring your code and testing it. It's discipline at a macro scale, on the team, rather than the individual programmer. You might argue over whether its specific practices are better or worse than other methods, but arguing against any development process at all is absurd.
Agile was supposed to help developers escape the obstacles of poor management and poor managers. It's really about developers owning the development of the software, and being given more creative authority. Non-developers play a support role, if they're present at all. That part is all fine and dandy, and it's The Good Part® of agile. Let the guys who make software be responsible for making software. Brilliant!
Managers, of course, don't want to get marginalized. If they see a movement towards Agile, they would rather bring it in themselves, so that they can control how it's implemented. And they implement it in a way that a) fits their existing biases about software development b) doesn't marginalize themselves[2]. Both of those goals are met by taking the agile process, and turning into The Agile Process (engraved on stone tablets, up on a pedestal).
Agile should be less process, but when the transition is implemented by process guys, it just ends up being different process rather than less. And naturally, the one role in agile that ex-managers can step into (aforementioned support role) is more important in this set-up, because it's about owning and managing the process. So the revolution happens, and nothing changes. Instead of developers having more freedom, the old managers just have a new title. That title still comes with the authority to make developers fall in line, except that "in line" now refers to a different set-in-stone collection of steps and rules.
tl;dr Meet the new boss, same as the old boss.
[1] I'd rather not derail this thread into history and politics so I'm avoiding details.
[2] b) is actually a subset of a). One of management's existing biases is that management and process is an important part of software development.
This isn't a knock of managers; everyone thinks the same about themselves. Hell, Agile itself basically originates from developers having the same bias. They just happen to be more correct ;).
But regular communication, short, well defined sprints and a prioritized backlog available to all can do wonders in terms of getting a small amount of stuff done rather than a large amount half done.
(1) If you're building simple web apps for small town clients in a framework like RoR, you can break things into little tasks and estimate with laser-like accuracy. This fits in great with an agile methodology
(2) If you're writing security-sensitive string parsing code or any algorithms with tricky components, TDD is a big win. When I was in grad school I converted a very slow program for solving a quantum system (worked for N=5) into a very fast program (worked for N=64) by building very detailed test scaffolding. I don't know if I could have built the fast but complicated app without the tests.
Now, I've got another app where I almost want to use TDD but I'd wind up building a whole Potempkin village of mock objects and I just can't bear the line count I'd need to first write it all, find bugs in, and then maintain.
(1) Being able to estimate with laser-like accuracy is not part of what's agile. Estimation is not part of the agile manifesto at all - Kanban for example can be done without a single estimate. It just limits the number of tasks that you have in parallel. Scrum on the other hand does deal with estimates, but it mainly postulates that you can't estimate large chunks of work at all and small chunks not necessarily correct. So there are all kinds of observed correction metrics built in that help you to get a better estimate - no one vouches for a correct one though.
(2) If you can't use TDD because you have to build a whole set of mock object you might have a tightly coupled system. Writing a test is not dead line count, it helps to formulate boundary conditions and expected behavior. It's certainly not useful for all kinds of project but it's certainly not limited to security sensitive or tricky algorithms. If the behavior is simple, then the test is simple as well. If the behavior is complicated, then the test will be as well - but at least you'll think about how it is supposed to be.
For boring web apps built on the right framework I find this keeps everybody very happy. Devs aren't chasing their tails, you can make and keep promises to the client, etc.
Of course you've got to be building the kind of app where there aren't surprises, but those exist.
As for the other project, the whole thing is a machine where you put a 600 million fact knowledge base in one end and it manufactures 'potempkin villages' (little knowledge bubbles about particular domains w.r.t a point of view) on the other end. Once it's done, I could use it to generate micro test cases for the rest of the system, but in the short term that doesn't bring in revenue or delight customers.
Also I think that process can very easily get in the way. I was actually thinking maybe things would work better for small teams if you just handled everything in a group chat room with a history like campfire.
But I still have hope that someday I'm actually going to use TDD for a project and then have way fewer regressions to deal with. Still haven't had the discipline I guess to really learn and apply TDD after all these years although I have sort of done it a little a few times.
And also a few other things like short iterations and getting the simplest useful software going which I always thought were part of agile, those things help. Although it has always been a battle for me to get managers or even users to stop adding features and do an initial release so I haven't been very successful in that aspect.
I don't know if the quality the individuals on the team is everything but it is a good point that it is probably more important than anything.
I also would really like to believe that having a real QA team as part of the process would improve things, although I have never had that luxury either so it may be a false hope. But that would be something in the process category.
In my experience, customers rarely know exactly what they want out of a software project, large or small. Complicated documents, produced up front get ignored because of TL;DR and projects start on faulty specifications that describe a solution to illusory requirements. So, inevitably, there will be a disparity between documented requirements and the desired outcome.
Iterative delivery - a key feature of agile as I have experienced it - gives the customer multiple chances to try-out and feedback on working software along the way. Furthermore, by making the customer part of the solution early they are as instrumental as the implementers in ensuring the validity of the software and - therefore - the success of the project.
Incidentally, I think this is why many customers (internal and external) are suspicious of and hesitant to engage in a truly agile process. That is, they would become equally liable for the success of the project because of the decisions they are required to make. They are part of the solution and therefore potentially party to the blame for any failures. It's much safer for them to be more likely to fail and avoid the blame than it is to risk complicity in a failure, however less likely that failure might be as a result of the process.
What agile does that the author missed (or at least declined to mention) is that it gives a name to and formalises an approach that attempts to manage the customer as well as the implementers. It compensates for the fact that customers can't always be expected to fully understand their own requirements and for the inevitability that they change their minds.
Just differentiate between what Agile is and how people are pushing Agile on you. Different things entirely.
Agile is best practices around iterative and incremental development. Period. Yes, there's a manifesto and there's Scrum and all sorts of other things, but at the end of the day Agile is a marketing term. A place to go find out what people are trying in order to get better.
Two secrets here. One, team success is about 90% dependent on who is on the team. Good teams do well. Bad teams do poorly. But if you're going to have more than one team, you need some way to measure and talk about what they are doing, so you have to have something.
Agile -- when done correctly -- is just the minimum amount of something you need to get your work done. It is the minimum amount of process. After all, it's not like you can have no process at all. Whatever you're doing already is a process.
I've seen hundreds of teams struggle with Agile, and to me the problem is that we do a really bad job of balancing the difference between "here's a best practice that worked awesome for about 80% of the teams that tried it" and "These are the rules. You must do this." In many shops, Agile is just another way of micro-managing teams, sadly.
I can't help that. I also can't help the fact that lots of folks are out to make a buck on certifications and such. I don't think that makes Agile bad. Heck, I'm not even against certifications, although I'd never get one. I just think we take things too far.
I like the idea of having a marketing blurb "Agile" where I can go to find out what kinds of new stuff is being done. It helps me pick better reading material.
The second secret is that most teams, frankly, are not that good. So you need some kind of way to demonstrate that as well. Making things incrementally and in small iterations lets you see how bad teams are early on. You fail early and often. Then at least you have a bit of a shot at trying to help.
But believe me, I feel your pain. Sounds to me like you are a lot more upset at modern marketing and management attitudes than Agile. Remember that we technical folks have a way of over-doing whatever we get into, as I was writing in my blog before your post appeared! (It's still very strange to me watching HN how the same topic comes from multiple writers at the same time) http://tiny-giant-books.com/blog/agile-means-stop-focusing-o...
I got involved with this stuff before the term "Agile" existed. At the beginning, it was a bunch of professionals (mostly developers) sincerely trying to find better ways of working. Extreme Programming, for example, came to be because the developers were really interested to experiment with how their team got stuff done.
It breaks my heart that in the ensuing decade it has turned into exactly the kind of bullshit, top-down, PHB-fluffing idiocy that early agilists were trying to get away from. If you look at the Agile Manifesto, the focus is supposed to be on a) people, b) shipping working software, c) collaboration, and d) being adaptable. That is sure not what it has become.
In my view, we made a crucial mistake: we didn't think about money and power enough. Now the Agile industry is 98% selling idiotic certifications and homeopathic doses of process improvement to organizations that don't really want to change anything at all.
Mad. It makes me mad. Sorry we screwed it up, everybody.
a) rigid based on their definition b) defined themselves as experts in making teams agile based on their rigid definition c) charged for it
PS. These same guys, once they couldn't squeeze anymore blood out of the Agile stone, moved onto a new marketing term, "craftsmanship". They now charge the same clients, even more money, to teach them this "new way of doing it ..... right".
Plus, they make a mint on the books they hastily write and push out.
I eagerly anticipate that successor to Craftsmanship.
Also, it's very, very rare for somebody to make a mint on a software book. I've talked with a number of authors, and their universal view is that writing code pays much better than writing a book. You do it because you have something to say, not because you want to get rich.
Like many early Agile adopters I have been shocked and saddened by what it has become. I think the problem is that brainfucked corporate IT programmers (Java, .NET, whatever) have jumped on the bandwagon and driven it into the sea.
I was recently smacked around the head by this in a meeting about how a team was going to implement Jira ticketing to help improve their development process. I am not sure entirely what I was expecting, but I was totally, totally unprepared for the mind-stunning crap that I got - an endless series of slides of things called "workflows" which apparently document the life-cycle of a ticket and need to be mapped out in excruciating gory detail. I decided to raise my hand and ask a simple question "how do I just raise a ticket and assign it to someone" - the presenter gave me this kind of stunned "why would you want to do that??" look and explained that it doesn't work that way, first you need to assign everyone into teams and roles (like tester, developer etc), and then the workflow will decide where the ticket goes based on the kind of ticket and it's status. Mind blown. I could almost appreciate how such system might be of use on a really large project where you don't know and interact with most project members directly - they had a team of 8 people including testers and analysts. And in their minds they were doing Agile.
In another case I was arguing for the use of the Jira Fisheye plugin to enable meaningful access to VC to enable things like code review and release diffs and the like. The so called "Agile practitioners" had a different idea however - they were keen on a different plugin called Greenhopper which apparently does Agile process management and the like. I knew something was wrong when it was mentioned that it does nice Gantt charts. I probed a little deeper into why they didn't see the value in Fisheye and found that their actual VC practices were a joke - ludicrously large commits with minimal comment just before a release, no consistent release tags, broken commit history (they seemed to be deleting and re-creating their trunk after every release...what I don't even...). Advanced process/project management techniques over getting the basics like VC right? That doesn't sound like Agile in any universe I am familiar with.
I really struggle to think of any other examples where a worthy movement has been so thoroughly corrupted and debased into something almost diametrically opposed to it's original vision. Fuck Agile programming and what it has become. I think I'll stick with being a Pragmatic programmer.
Rather than teaching people processes, they should help foster better ways of actually thinking about the code itself. E.g., learning new programming languages and frameworks gives one a variety of perspectives to think about code from.
I think this is a big source of the complaints, yeah. If I had to narrow it to one specific mis-implementation of agile, it'd be having daily standup meetings turn into daily mini-performance-reviews with the boss. Iirc the Official Scrum Rules try to avoid that by decreeing that the scrum-master should be just another team member, and not a project lead or other kind of supervisor/boss, but afaict that recommendation isn't often followed.
A lot of times they want to keep the old Project Manager around, and that's very difficult to do. Project Managers and ScrumMasters are completely different animals. A few times as a coach I have literally thrown the PM out of the stand-ups and told them not to come back because they were turning it into a status meeting.
I'm not trying to plug coaching, but if you're trying Agile, you really need an independent outsider to help referee stuff like this. Maybe it's only the SM from the team down the hall, but stuff like broken standups can be impossible to fix without a little neutral nudging.
...recounting verbally what one did the previous day...
...to marking one's progress on a whiteboard...
...to having to write down on an index card beforehand and turning it in to the IT director after the scrum meeting (in addition to the above).
With the boss (and sometimes, the CEO) in attendance, there was no chance of an honest verbal exchange about roadblocks etc.
Good metrics for measuring coding progress are so elusive, I can't imagine management NOT trying to mess with pure agile principles if tight deadlines and delivery dates are at stake.
These days they only do the daily stand-up, which is of no value to anyone except my former manager, since people talk directly to the manager and not to each other (this is one of many reasons why managers should not be in stand-ups). It became exactly what you said: a daily mini performance review.
I've since realized that the things that make Scrum successful are the same things that make a team successful, and that you can't necessarily connect a causal line between Scrum and team success if the team would have probably been successful anyway. It basically comes down to the team having a good rapport--regular communication between team members, the ability to seek advice without judgment, and the ability to communicate blocking issues in a timely way to the right people.
I had a wonderful example of this behavioral pattern last week. I was called into my project's first "sprint planning meeting" where I was asked to write down for the next 8 sprints which features would be delivered when. Of course, since we were now "doing agile" I was allowed to be off by one or two features every sprint. But it still had to all fit into 8 sprints, because the project's deadline was by the end of the 8th sprint, and we needed to be sure we would deliver the full scope by then. As pepe le pew so aptly described: "le sigh".
Agree. Let's not forget the HR challenge most organizations have today. It's hard to find, hire, develop and keep talented people in the company. I heard the other day: "every job seeker is a potential low performer". The basis of that is that most talented, highly qualified people is either managing teams or freelancing/consulting, and inevitably making interesting amounts of cash either way. So the chances of finding this profile on every Agile team is low.
In this scenario, Agile has its intrinsic value of providing teams members of various competence levels with some minimum rules of conduct, processes and tools. Maybe good teams will think they are all about bureaucracy, or they'll think it's something the management layers of the company can look and understand, like a burnout chart.
That's why I cut the second sentence of the quote above in the middle. Sometimes, as a manager, you need a "way", like the Japanese word for "Do", to keep discipline and make things moving forward.
That is,
Statement: No Agile Team would do X.
Response: An Agile Team did do X.
Statement: Well, no True Agile Team would do X.
For instance "No true Scotsman is born in Tuscany to Romanian parents and has never ventured west of Florence" isn't an instance of the fallacy because it truly does violate what it means to be a Scotsman.
Similarly, no true agile team would, say, agree to a single 6-month "sprint" at the end of which they will deliver the end product to a customer who has never seen it before, based only on a set of specs drawn up by an analyst.
And yet corporate shops that do similar absurd, not-within-the-common-idea-of-agile things will routinely label themselves as agile shops.
The upon reading this and in the absence of any native examples of flying animals the pelzo decided to directly follow this grand advice. After 100 billion attempts, over a billion broken bones, and hundreds of millions of deaths the great zaxuvex finally discovered that the correct way to do so is to reach orbital velocity above the atmosphere in a space ship that provides an internal atmosphere, comfortable temperature, shielding from harmful radiation, chemical rockets to slow down, AND most importantly a heat shield and parachute for reentry. Two weeks later a vising dignitary introduced the idea for wings which was was deemed heretical and started the 42 great war.
PS: If your 'training courses' don't provide enough information to actually implement your process in the real world then it's practicably worthless.
If a methodology is so brittle that any diversion from the straight and narrow (a) means you're no longer using that methodology and (b) ostensibly (or actually) invites disaster, then that is a very, very rigid methodology.
It's so important to remember this, as well as the corollary: I'm not that good myself. The article included this line:
> If you need to follow a prescribed process in order to be in any way an effective coder then you are mediocre at best and so is your work and your project.
I'm not sure if I agree with the statement itself, although I certainly think -- and know no one who doesn't think -- that the quality of your staff is more important than your process. But I'm sure I disagree with the way this statement is used to dismiss the idea of a prescribed process. One of the main goals of such a process is to get as good work as possible out of mediocre staff. Because there aren't enough high quality staff to go around. You won't get great work out of mediocre workers, but if you can get pretty bad work instead of total garbage, in many environments that's a big win. (In the startup environment that is hn's focus, pretty bad might be just as bad as total garbage.)
I don't think those are independent variables.
In my experience, one of the properties of a good development team is that if a project lacks clear guidelines so the developers can work effectively together, the team will naturally tend to self-organise. They will establish enough ground rules among themselves to collaborate effectively, and they will adopt or create any tools necessary to support that basic process. A good team that does already have a decent process and competent leadership will still naturally review and update that process over time based on their experiences using it.
This also explains why one or two substandard developers on an otherwise competent team are so damaging: they are sufficient to disrupt any reasonable attempt at self-organisation, and the team now requires strong leadership rather than merely collaboration among peers. Unless the leader is capable of both instilling discpline in the rogue elements and simultaneously accepting and promoting good ideas from the remainder of the group, which is a very difficult thing to do even for an experienced manager with good intentions, the result will still be lower performance than a team without the negative elements.
The problem is that said "process" then gets deployed in a cargo cult manner to any project regardless of size, divisibility, who is managing it working on it, etc.
Agile could be deleted, and replaced with a variable. Sturgeon's Law at work.
The second secret is that most teams, frankly, are not that good.
Again, Sturgeon's Law at work.
It breaks my heart to see something that emerged from technical people to make their lives better and make them more effective be co-opted to the point where it's scorned by the same technical people who have the most to gain.
You sell process for a living. You claim, "After all, it's not like you can have no process at all. Whatever you're doing already is a process." When you said that, you accidentally got something right.
Programming is a process. It's the only one that fucking matters if you're a shop that sells software. All the other process comes from snake oil salesmen as yourself, or pointy haired bosses who don't know a fucking thing about programming.
Programming. Either learn and do it, or get the fuck out of its way.
Note, we're using small-a agile at my shop and it's working well, but that's because of good people, not because of blind adherence to a process and eschewing individual thought.
No process in the universe is going to turn the Infinite Monkey Theorem [1] into solid reality.
Cowboy is a complement. It doesn't mean "lone ranger" or "asshole", it means lazy, hard worker who takes the shortest path to greatest output. So, yup. Cowboy here.
Programming is a means to an end. The end is solving some problem. For many problems programming is a small part of the overall solution.
"So how do you build things that take thousands of programming hours to complete?"
By programming for thousands of hours. Through the process of programming, I'd try things out, use what works, dump what doesn't, write tests first where it makes sense, last where that makes sense, not at all where that makes sense, buy hardware where it will save me time and money or work better, interface with it by writing code, step back, look at some mistakes, rip them out, replace them with nothing if I can, or less bad mistakes if I can't replace them with nothing.
You know, programming.
If in addition to my process of programming someone wants me to tolerate some other meddlesome process, well, it depends how meddlesome that process is. If they want me to use a particular IDE, they can fuck right off. If they mandate I write code in a particular order, they can fuck right off.
On the other hand, if they are awesome people with awesome product, I'll engage in standups (or whatever), and I'll write my cards and move them along (or whatever), and burn down my time (or whatever). But I won't pretend that it part of the process of programming, or that it's speeding things up.
If you're a lone cowboy doing it all alone, then good for you, but please state that upfront in your blog posts about how the software world is doing it wrong so we know you are evaluating things from a very unusual position.
If you aren't a sole programmer, then you've got a process. Maybe it's better than agile processes. If so, please, tell us what that process it.
This whole article reads like a racecar driver dismissing automotive technology because the only thing that matters is the skill of the driver.
Ergo, since mediocre programmers exist, agile isn't a sham, and is necessary. QED
I personally find the author's view on processes to be very naive - and a bit offensive, it's almost like saying if you employ processes, then you are stupid.
EDIT:
My thoughts in a separate entry: http://news.ycombinator.com/item?id=3765693
Sure, some are better than others. But to those who somehow believe that Great Programmers can do anything, get over yourselves. They (read: you) probably aren't nearly as good as you think.
Of course, you need process if you really want to consistently create defect-free software: http://www.fastcompany.com/magazine/06/writestuff.html
No.
Read some history; you'll see the same arguments back years ago about processes being stupid then (80's, 90's) too.
I'm willing to accept that perhaps Agile isn't a perfect process, and that agile projects don't always work out.
However, process just means that you have a repeatable set of steps for generating a repeatable outcome. It's an absolutely vital part of every industry, from manufacturing to farming to, yes, programming.
Everything is a process; TDD is process, writing a plan for your code is process, hell, even just sitting down and hacking away and keeping everything you need in your head is a process.
When you have a team that is larger than one person, organizing that team relies on having expectations from each group in the team, and from each person in the group. That's _formalized_ process, and that's what agile is.
Summary: Opinion piece, unsubstantiated, no background context. Bleh.
So the question you have to ask yourself before you participate in b) or c) is do you have any idea why or how agile is supposed to help?
My team is using Agile and it's effective. It's not a silver bullet, but it keeps us on the same page for the most part and it gives the business team goal posts for getting features designed and queued up. If us developers sucked, it probably wouldn't help that. But since we're all decent, motivated workers, it has been going pretty well.
So is Agile a sham? Sure, whatever. So is P90X. I'll keep using both, thanks.
The success of the non-coding part of a project is dependent on the calibre of your sales/management and how they interact with the customer. If you are trying to prescribe some rigid process, however lean, in order to make that interaction effective, then you have a customer interface problem and process isn’t going to help it.
Couldn't agree more. The only thing I'd like to add is that there also must be a solid interface between sales/management and engineers.
Thanks for this.
IMHO if you have great people (developers, sales, test, whatever), process is near irrelevant. Sadly if we're being honest most people are not great (even when they think they are).
Where that's the case, process is the sticking plaster that attempts to make up for the failings of us mere mortals. Generally speaking process takes away some freedom from those involved and adds some overhead but provides some predictability.
Bad people don't make good use of freedom (and indeed often abuse it) and the project benefits from them being made more predictable. Good people not only make good use of freedom but are already largely predictable (they manage expectations, communicate well and so on) so not only do you add overhead and lose opportunity, but you gain almost nothing.
The issue is understanding how good your team are and what level of process is appropriate.
And the success of an NFL team has nothing to do with process either. It's all the players. That's why they never hold practices or review footage with the coaches. Who needs set plays? Tom Brady just tells Wes Welker to go deep and get open. You guys up front block. That's it. Super Bowl. Process is for losers.
If the work being done doesn't get re-prioritized, I can pretty accurately judge about 3 months out and very accurately judge a month out. That lets the rest of the company plan fundraising, PR, sales, etc.
This is where I disagree with the author. You do get fairly predictable output out of a group of engineers regardless of their ability as long as they are consistent in their estimates for how long something will take (it doesn't matter if they over or underestimate, just that they do it consistently). You just won't like the results if they are mediocre.
I really want to stress how important the whole self-learning and re-adjustment part of the process is (if someone doesn't scream at least once during a retrospective, they're probably just going through the motions.) While I've run "scrum" for 10 years, the details of how each worked were pretty different depending on the teams involved.
That said, I tend to hire self-managing, self-learning engineers which scrum works beautifully for. I also am completely comfortable with delegating away large amounts of authority especially given the type of people I hire.
TODO next week: Go collect all of the blog post cycles of "Agile Sucks" -> "No, agile in theory is fine, it's just marketing and implementation that sucks."
It's a full-fledged meme at this point. And I think if you distilled all of these posts down to their essence, you'd have a really solid critique and we could build some lessons learned, and the next time someone gets burned by a bad implementation of s/Agile|XP|Scrum/ maybe the narrative will change a bit from "Agile sucks" to something more productive, something closer to "there's that Agile execution thing again, and here's what I did about it."
Everything OP says is true, Agile is misapplied, overmarketed and badly executed, and much suffering in the name of "Agile" has happened.
But we need to change the story now. This same cycle of "sucks" -> "yeah but" is generating more heat than light. Time to reset and redirect our expectations to something productive.
"In time there will be a new movement which paints Agile as broken, inefficient and bad and we’ll get a new brand. That’s the kind of iterative development I’m looking forward to; a new target for our collective disdain ;)"
Here we've hit on something. On common refrain in anti-Agile screeds is "Meet the new boss, same as the old boss." And it's true, but instead of cynically setting us up for some other jaded iteration of Good Process Idea -> Marketing Scam/Bad Implementation -> Backlash, let's distill the lessons learned into something a little more focused and circumspect.
Let's not cycle through this again, please. Let's set Agile in its proper place, good stuff, bad stuff, the whole thing. And let's tell the right story that might help us stop looking to things like Agile as the One Best Way to do software and see it as the limited tool it is, dependent on many other concerns, such as quality of developer, product focus, political environment, etc. Agile was a great insight in its time, and I think the time is come for a large-scale retrospective by the community to state the lessons learned.
One iteration I would really like to see end is "Agile Sucks" -> "But Not Really". Time to move on to the next level, one that acknowledges Agile's failings but doesn't involve a wholesale scrapping of Agile's important insights.
+1
"Software Engineering is an attempt of turning an art into science".
Let's be honest. Software development is an art form. Just like people form groups from quartets to orchestras to make music, so do people form groups of differing skillsets to develop software.
That doesn't mean an art is shooting from the hip. There is still tons of practice to be done, and the various skill levels of each individual determines the possibility for success.
The problem, then, is that there are not enough Bubles, Joshua Bells, Ashkenazys, etc. around to make all the software in the world. Most companies have to make do with large concentrations of amateurs led by the occasional Bieber/Gaga.
So what are all these processes then? They're essentially what companies wish to use to artificially increase their chances of success... However, manufacturing art leads to potential stagnation and also the possibility that every project that follows the same process have the same flaws (like how all pop music nowadays all sound the same).
Sadly, it'll take an extremely brave company to get artists to develop their software nowadays. Nowadays, the artists stick to developing their own products =)
I'm all for a healthy debate of TDD, but the above statement seems ridiculous to me. For me, TDD helps with two main things:
- I specify the behavior I'm adding/changing before I implement it. This helps document the change I believe I'm making.
- I feel more confident when making changes to a large codebase.
TDD works for some and not for others. There are very interesting arguments to be had about the subject. However, can we please stop acting as though TDD advocates view their tests as having psuedo-mystical powers to solve problems automatically?
Looking at the collection of things that people refer to as "Agile", some of the practices work for certain teams at certain times. Saying "its all a sham" is as much bullshit as calling Agile a silver bullet that will solve all your woes. (Just because it's not one extreme, doesn't put it at the other).
The OP calls out two practices, Scrum and TDD. I've tried "Scrum" at 3 different places, where by "Scrum" they meant "have a stand up meeting". Never worked. For that project!
However, TDD has actually been a silver bullet for some tasks. And on other tasks it killed my productivity.
Basically, stop thinking there are silver bullets, and figure out what works for your team and project.
(The poster seems to confuse Agile in "Agile is a Sham" and the Agile "industry". I can't talk about the Agile "industry" as I'm no part of it or have no contact to it, so I will concentrate on the "Agile is a Sham" part)
After introducing Agile/Scrum in 3 companies over the last 10 years, not as a consultant but as a permanent employee, I'd think it has been a success three times. Measuring success with two metrics: Predictable, ongoing results and developer happiness.
Developer happiness in agile usually comes from calming down the fury of requirements and wished for features. Sprints do enable developers to focus for 2-3 weeks on one topic instead of being pushed to the most urgent topic of the day by management. Happiness also comes from communicating and working and feeling as a team.
I assume the poster has - if he has - a different agile experience. Perhaps he's not a team person or uncomfortable with coordinating and working with others. 10% of the developers I've worked with just don't feel right with agile, it's not their thing. They should not try to adapt to agile from my experience, as it does not work. Better to find a non agile environment that does work for them.
From asking developers after agile introductions we had >90% approval rates on the question "Would you like to go back before agile?" and "Would you like to have a different development model?"
Scrum in particular is different from, e.g. XP. It focuses on process and - deliberately - says nothing about engineering practices or craftmanship. Coders are free to chose those for themselves. Some struggle on this or think they don't need to have them just because Scrum doesn't prescribe those. Some think Scrum is sh* as it does not talk about engineering practices or developer quality. But this is intentional.
Scrum will not make development "work" with bad developers. But it will make good developers work smoother together and make them - if they are team people - more happy from my experience.
One final note: Some people here agree that Agile is a Sham and does not work, then citing examples of managers/scrum masters that deliberately did not follow Scrum. Following Aristotelian logic at least this does not make sense.
A final final note: I got a very fine and tasty chocolate cake from my current team for birthday, so I might not be doing things that wrong ;-)
the success of the coding-part of a project is dependent on the calibre of the engineers doing that coding and not the process they follow.
seems to me obviously untrue, for >3 engineers, and the larger that count gets, the more process you need. As an engineer I find that statement very appealing, but experience suggests it's off base.
TDD is a style of developing and nothing to do with management. Anyone who has worked on something more than a trivial size app knows how useful having a decent set of automated unit tests are. Anyone who dismisses this as a "management scam" is fooling only themself.
Anyone that says you can follow some process to ensure success is effectively telling you they have implemented artificial intelligence that simulates a production line designer and to be able to do it by using humans pushing bits of paper around as their computer.
I'm going to argue this on both of its implications.
Firstly: Agile is not about ensuring success. It's about greatly increasing the chances of success, and minimizing failure from fallout. No amount of process will rescue you from truly dreadful technical team, but so what? Plenty of processes will almost guarantee failure with the best tech team and will in the world.
I'm going to go for the assumption that you knew that already, though, and are attacking the idea that a management-related solution can help in the solving of technical-related problems.
Take a look at a modern hospital, and you will see layer upon layer of 'management' solutions to support medical problems. Prescriptions are checked by the doctor, checked by the pharmacist, and then checked by the nurse. Do hospitals throw these rules away with sufficiently good doctors? No. Do hospitals do this because they think their doctors are shit? No.
Agile can be a highly effective management solution for supporting technical development. I know this because it has been for me, on many occasions, with many different teams, in many different settings. I've also seen it badly implemented to the point where it's an impediment to teams, but ... so what? That's a risk with any process.
This is why agile is like religion. It is so vague and so thinly disguised into general meaningless correct sounding "principles" that it can be anything to anyone.
> If you need to follow a prescribed process in order to be in any way an effective coder then you are mediocre at best and so is your work and your project.
In this day and age, I would have thought finding the right tool for the right job is common sense. Apparently not.
Agile, among many other things, is not a silver bullet - it never was and it never will be. The key thing is to experiment and find what works for you, your team and your company. Most software projects are done in a team environment - putting a bunch of talented developers and designers together actually isn’t as simple as many seem to think. One example is right out of that original blog post:
> Given that I am not a fan of prescribed process as the solution to our problems, you can infer my opinion of the general quality and effectiveness of those programmers who teach these courses.
From that attitude, I can already see that he is an interesting developer to manage.
A team needs to function efficiently as a team. Having one or two ace developers aren’t going to help a lot if they can’t get along with the others.
Not to mention that people have spent time and effort proving that techniques such as TDD work for certain projects [1].
As many things in life, there are always people who try to take advantage of others. No doubt there are questionable ‘agile consultants’ who try to make a fortune out of uninformed clients. Just because some people aren’t using agile effectively or even correctly, doesn’t mean agile itself is a sham. Developers constantly make mistakes and write shitty code - should we say all the programming languages out there are a sham?
Keep an open mind is important, and a lot of times even necessary. To dismiss agile all together is in my opinion childish, and offensive to others who try to improve things and create more value.
[1] http://research.microsoft.com/en-us/news/features/nagappan-1...
Originally posted at http://fredwu.me/post/20058808238/agile-is-not-a-sham
That combo (in my judgement) includes: iterative development, risk-driven prioritization, KISS/YAGNI, note-taking, scripted automation, CLI bias, FOSS, backups, version control and RDD (README-driven development). And several more, but these are among the biggest.
Because you don't necessarily need tests. You don't necessarily need pairs. You don't necessary need cards, or standup meetings. You don't need big upfront design. But you do need to produce working code. You should provide enough documentation to help you remember how things work and why, and bring new team members up to speed and/or project inheritors, and you ought to be flushing out assumptions or minimizing your biggest risks as early as you can, when there's still the most time to fix things, workaround, or abandon an approach entirely. These are rock solid, universal patterns I've seen over the decades. And they apply to small projects and large. Solo rockstars, small teams, large, etc. Independent of tech mix and software types.
And yes, ultimately the quality of people you have is the most important. They drive everything else: the choice of technology, tools, architecture, prioritization, morale, pace, resilience, etc.