I get asked a lot about the secret to the success of FireBootCamp, and how we get such great results from our intense developer training.
The SSW.TV team kindly put together this collection of behind-the-scenes footage.
If you want to see more of the actual bootcampers in action during sprints 1 and 2 check out the following (more serious) videos
And here are the highlights from graduation day
This is what I consider to be my list of ‘essential’ tools / skills for a serious .Net developer.
An Agile or Lean methodology
If your projects are not being delivered successfully Scrum will either enable you to start delivering software, or highlight the reasons why you aren’t.
The Scrum Guide which contains all the rules of Scrum is 13 pages long. There is no excuse for not having read it.
If you aren’t doing Scrum, or you aren’t doing it well… get some help.
Out of the box, it gives you so much. I find it incredible how many people have TFS but are only using it for Source Control.
Learn both Team Foundation Source Control and Git, and the strengths of each.
Work Item Tracking
Being able to successfully deliver value to the customer while triaging bugs requires efficient work item tracking processes and tools.
Why-oh-why isn’t everyone doing CI?
Check in your code, have a magic fairy build it, test it and tell you if you’ve broken anything – sounds too good to be true AND it only takes 60 seconds to setup!
‘Fail Fast’ is probably my favourite development catch-phrase: If you find out that the code you’ve just checked-in conflicts with some-one else’s code 2 minutes after you’ve checked it in, it’s easy to resolve the issue. If you only find out there is an issue a week later, it’s much harder.
Get your CI fairy to take the code she builds and then deploy it to a server for you.
If every time you finish a task you can send the user a link to the test server that you just deployed to and say ‘tell me what you think’. The customer will LOVE you… and you get feedback when it’s most helpful.
If you are using Azure, continuous deployment is just so damn easy.
Also, I am having a little love affair with a tool called Octopus Deploy http://www.octopusdeploy.com. Check it out!
As a .Net guy… you need to be familiar with Azure.
It’s remarkable how easy it has become to build and deploy web applications to the cloud. In 30 minutes I can create a source code repository on http://visualstudio.com, check in an MVC project and have it continuously deploying to an Azure website with both Release and Staging environments.
Check out Andrew Coates from Microsoft doing continuous deployment to Azure at FireBootCamp.
Azure is so much more than just websites… but as this is a ‘need to know’ list, I’ll force myself to not go on about how awesome Azure VMs and Web Roles are. If you take an interest in the cloud, Azure is a platform that will have you boring all your friends with tales of how cool it is.
Communication and interpersonal skills cannot be overemphasised. No matter how smart someone is, you don’t want them on your team if they can’t work as part of the team.
- You need to know how to take instructions
- You need to know how to provide feedback
- You need to know how and when to push back, and when to give in
- Sometimes, you just need to shut-up
Patterns, Practices and Principles.
This is the stuff I’m REALLY passionate about.
Building a complex application, that is still going to be maintainable after you have added features to it for several years requires some skills. My mission is to increase the understanding amongst .Net developers that the following are essential, not hard to learn, will improve your job satisfaction and your employers opinion of you when you continue to add value to his application well after other projects have ground to a halt.
This is not about swapping your SQL Database for an Oracle one!
There are many, many benefits to Dependency Injection: Here is the major one for me – you need dependency injection to ensure that your complex system is built in such a way that changes to one module does not cause flow on effects in other modules.
Typical on many projects: first 10 features get thrown together in a week, the next 10 features take 2 weeks, the next 10 take a month, and then every subsequent feature takes longer and longer because of the changes that need to be made throughout the project to implement the new features.
Dependency Injection is about ensuring you can continue to add features to your complex project.
Essential Reading: Dependency Injection in .Net by Mark Seeman
I’m not a code coverage guy. I don’t believe every single line of code needs a unit tests.
I believe the following
You NEED to be able to write great tests.
Your application should have unit tests over 100% of the code that requires unit tests.
This is a topic that I can (and do) talk about for hours, but in summary:
I write tests
- for fragile code, or code that is likely to break
for important code that you cannot afford to break
for code that is hard to read: Well written unit tests are the best form of documentation after well written code.
when writing the test provides me clarity about the code that I am about to write (slipped my TDD hat on there for a minute)
- When writing a unit test will save my boss money because it’s faster than the (damn) debugger
One of my favourite rants: It is often faster to write a unit test than to test the code you have just written any other way.
I see this a lot and it drives me crazy: I’m testing the credit card validation of my online store. I want to test the submitted card number against a regex before I submit it to the Bank.
Debugger Guy: I hit F5, wait for the whole solution to compile, the website to spin up and the debugger to attach. I then select several items to add to my cart, click next, enter my name, phone number and address, click next, enter the credit card number and click next, realise there is a typo in the Regex, click Stop, change one character and press F5 again ! aaaaaarrrrggghhh !
Unit Test Guy: Writes a 5 line unit test in half the time it takes Debugger guy to even reach the code, gets feedback in milliseconds, provides great documentation about what the regex is validating and ensures that changes to the code in the future do not invalidate the current requirements.
Essential reading: The Art of Unit Testing by Roy Osherove
My session on unit testing: Eat your vegetables! Baking Healthy Projects with Unit Testing and Dependency Injection
Common patterns like Repository and Unit of Work
Patterns are important.
They provide a way for developers to communicate about common problems and suggested solutions.
I hate to re-invent the wheel when smarter people have already come before me and done most of the heavy lifting.
Familiarity with common patterns (the good and the bad) is essential to any senior developer.
Clean Code & SOLID Principles
If software were disposable, I wouldn’t be writing this post.
If I could write software today, and then walk away and never have to look at it again I may not care about the day next year when I have to come back and make sense of it – but I do.
Because I have to maintain my code – I should very much care about making it easy to maintain. This is where the idea of ‘Clean Code’ and the SOLID Principles come in.
Essential reading: Clean Code by Robert Martin
Professional developers should be proud of the code they write.
I struggle to understand why most developers still don’t have a good understanding of the above topics. I strongly believe that these areas should be lived and breathed by every member of a development team.
Once again, you don’t have to always use them… but if you don’t have them in your tool-belt you’re selling yourself as a professional carpenter when you don’t even own a hammer.
I’ve deliberately left this until last.
Although most job descriptions are full of technologies, I believe that knowledge of the topics above are far more important.
Here is the current set of technologies that we use by default to build most of our web applications.
- Frameworks and Toolsets-> we like to keep across what’s out there, and being consultants doing new projects all the time we get to try out different things but our default stack at the moment is
- Twitter Bootstrap
- Telerik KendoUI
I deliver large, high performing web applications for enterprises. The processes, tools and technologies above are what I believe an enterprise web developer needs to know. Obviously other development disciplines require very different skills sets.
In many scenarios other tools, frameworks or methods may be more appropriate, but before you start learning all the alternatives you should know and understand the mainstream choice. Then you are qualified to have an opinion about whether something else is better.
Week 1 at FireBootCamp has been amazing.
The teams have been thrown in the deep end, but they are loving it.
They are really getting into learning MVC and Scrum. They especially loved having Andrew Coates from Microsoft as a guest mentor to introduce them to Windows Azure, TFS and Continuous Deployment.
Unit testing and Dependency Injection are good for you, yet these essential ingredients are missing from many projects.
In this session I look at why many projects still don’t include unit tests, and provide some recipes for healthy projects that every coder should have in their recipe book
Day 2 begins
Bonus 1: Today, we made it to the training venue in only 3 minutes vs. 1.5 hours yesterday. Talk about continuous improvement!
Today’s agenda saw a lot more interaction with the lovely Team Foundation Server (TFS). It was time to see Scrum in action with the Microsoft tools.
Impediment 1: Matthew Hodgkins spent some time setting up laptop for us to bring along to the course. It was set up with domain server and a TFS Virtual Machine ready for all the students to connect to. We were expecting a room full of cables to a switch, but unfortunately the training venue only had wireless. There was no way for students to connect!
Bonus 1: With a lot of help from Matthew and Parmod Kumar (one of the Sysadmins working with the students), we got the server reconfigured so everyone could connect!
Work Items in TFS
Adam C started the day by cracking open TFS and walking through the work item world:
- Creating a Team Project
- Team Collections
- Areas and Iterations
- Managing Sprint Work Items
- Creating some Product Backlog Items
- Creating and Linking a Task
- Creating and Linking a Test Case
- Creating and Linking a Bug
- Managing Impediments
- Adding Check-in Policies
Adam professed his love for Story Overview reports and also Priyanka Chopra. He also spoke about his “tough” guts and what a “handbreak” Damian and I were for not eating street food with him.
He let the teams have a quick break while he introduced them an awesome tool called Debugger Canvas.
Then it was on to TFS integration with Microsoft Excel and Project 2010, TeamCompanion, and UrbanTurtle.
Adam introduced the first sprint of the day by telling everyone that there was a new Product Owner. He talked about all the things this new PO might want, so they would be well prepared when he arrived.
A new Product Owner arrives
This new Product Owner was a bit odd. He talked about his new wife, the new Tailspin website he purchased, and the Chinese developers he had sacked. He told them about the bugs some people had told him about, and asked them to:
- Connect to TFS
- Log in to the SQL database
- Create a Team Project
- Add the 2 check-in policies he had heard about at a Microsoft seminar (being the “comments one in the Powertools”, and the “work items one that comes out of the box”)
- Check that the code from the Chinese developers compiles
- Tell him where he stands, and whether those Chinese guys were truthful when they told him it was “99% done”
The students had been given so much new information that morning, we were interested to know what they actually “heard”.
All of the teams did OK considering this was their very first technical presentation. We all know the human brain starts working when you’re born, and doesn’t stop until you stand up to speak in public.
Interestingly, they were very keen to show the Product Owner *all* of the work items they had created. They had a very different idea of what they had to do.
There were a few impediments this time, however. The teams found that they needed to install TFS Powertools in order to add the Check-in Policies. Due to frequent power outages (apparently rampant in summer), this seemed to cause a lot of problems. “Team Masters” had even added an impediment to TFS saying that TFS was down and was blocking them! The Product Owner looked at them very incredulously.
“Team Scrumsters” actually fired up the new application and showed it working. They were the only team that got the Product Owner jumping up and down with excitement.
Before the Product Owner left, he played a video to introduce the students to some of his “American culture”. He played a Charlie Sheen video and talked about the importance of “winning”.
The big lesson that came out of the acceptance criteria was that the teams didn’t clearly understand what the Product Owner wanted. Every team had a very different idea of what was required:
Once again, lunch was delicious. I asked heaps of questions about the selection of traditional Indian foods, the answers being fascinating. I’m well and truly on track to come home with some new recipes!
After lunch, Adam C treated the group to some Australian culture in the form of an ad for Fosters. He followed this up with a (remarkably similar) Canadian Molson video and was disappointed when the group preferred the Canadian version!
During lunch, Pradeep requested they see how the Aussies do their planning and standup meetings.
Adam C asked Damian and I to stand up in front of the class and start work on a new sprint.
- We started with the creation of a backlog, estimated tasks (with their fists), and created a burndown
- We started and finished day one, and just as we finished,
- Adam got us to do a day 2 standup, complete with a burndown update
Bonus 2: This ended up being quite worthwhile. Some of the students said it was the highlight as they got to see how it was “meant” to be done.
Adam C played the students a Karate Kid video to highlight the point that following the Scrum process is like developing muscle memory. If you follow the process, it starts to become second nature and you reap the benefits.
Sprint 2 saw the teams get deeper into the solution. They were asked to enter some more Product Backlog Items and make sure each person raised a bug.
Bonus 3: This sprint, every one of the teams did a standup and one team implemented the “fist” estimation technique.
The Review and Retrospective meetings were are lot more impressive this time. All teams did a great job with their presentation and the Scrum process was finally in action in all its glory.
To close off the day, Adam C played a video showing how Emperor penguins work as a team for survival in Antarctica. He emphasised the importance on the team in the Scrum framework. If everyone is prepared to give their bit for the team, it will benefit everyone.
Retrospective Day 2
There was a lot of great feedback from the students on how the day went. Some of the many highlights the group mentioned were:
- Learning to focus on what the Product Owner wants, not the process
- Seeing the tool (TFS) was much different to just knowing the theory
- The demo of the “Aussie” planning and standup meetings
- The Karate Kid story – the group now knows this is something to follow day in and day out
- Learning what Scrum terms map to what TFS work items
- The Excel and TeamCompanion demos
- Working as a team
- Doing the exercises
- Learning about Check-in Policies
- Moving from theory to practical implementation
- The story of the Antarctic penguins and the importance of working in a good team
Tomorrow will see us delve deeper into Scrum using TFS and we’ll look at using Microsoft Test Manager to help run tests and raise very rich and repeatable bugs.
I’m in India at the moment with Adam Cogan and Damian Brady helping out on a Professional Scrum Developer course. The training is with a group of 24 guys with varying roles – developers, testers, architects, and managers. At the end of the course, they will all have the opportunity to sit an online exam to become “Professional Scrum Developers”.
It was such a fun day, we decided to sit down and write a blog post together.
We decided to catch a couple of tuk-tuks to the venue. Adam C somehow managed to send emails on his iPad while cramped in the back.
One of the important things you learn about in Scrum is an Impediment. Even before day 1 started, we had our first one.
Impediment 1: The distance from our hotel to the training venue was about 2km. The 1.5 hour journey (yes, one and a half hours) to this venue on the first day included three lost taxis (two independently finding their way to the same wrong address) and several near-death experiences.
Tip: Don’t think about complaining to your tuk-tuk driver or else you will find him try to make you happy by driving the wrong way down a busy main road.
Getting Started with “Scrumdementals”
Impediment 2: Day 1 officially started with Adam noticing that only one of the 24 students had read the Scrum guide. To bring everyone up to speed, he was able to give a succinct rundown of the Scrum user guide with the help of a few SSW rules (The importance of a team, Reading the Scrum Guide, and Physical Task Boards) and the awesome “Scrum Master in Under 10 Minutes” video by Hameed Shojaee.
The “guts” of Scrum was covered, with particular reference to short iterations, multi-skilled teams and timeboxing. Adam C also told a story about his years in the army, and pressed the point about the “inspect and adapt” tenet of Scrum which got a laugh. The army tends to plan a mission, watch it all go very differently, and then debrief so they can adapt.
Adam C talked about the burndown and asked which time fields in a User Story mattered for the burndown. Two of the 24 students already knew that the only time field that Scrum cares about is the “remaining time”. Adam went on to explain why this was, and why the “original estimate” and “actual time” spent fields aren’t as important.
After a morning break, Adam C spoke to the group about User Stories. Everybody loved his quintessential example with accompanying story:
As a marketing manager
I want to search for customers
So that I can call them up
He followed this up with a discussion about Acceptance Criteria and why they were so important. Referencing the SSW rule on Acceptance Criteria, (one of my favourites – I wrote it) it was pointed out that you should never assume “gold plating” for a User Story. The group appreciated the clarification on acceptance criteria and agreed that it was important for clarity.
Adam C’s next instruction was for each student to write one of their current working items in the form of a SSW story card. Some were good, and some were not so good. Damian reviewed his favourite ones to the class.
After lunch, the group was asked to self-organise into four teams of six. Initially, the groupings weren’t ideal (all the developers with MVC experience were in the same team), maybe the ‘multi-skilled’ point was forgotten… a quick bit of shuffling was required.
Bonus 1: Even though team members were being split up, the new teams worked really well together.
Next, the Product Owner entered the room and scared everyone with his tough requirements. He is a Product Owner you don’t want to mess with.
He spent 10 minutes (timeboxed) giving out requirements for the first one hour sprint. The task was to create a poster for his boardroom. The sprint was split into four 15min “days”, after which the teams presented the results in the review meeting.
Impediment 3: Every half hour or so, a “black room event” occurred. No, not a “black swan event” :-). Apparently power outages are fairly common in Delhi, but every time it happened, the laptops switched to battery and all network connections were lost.
The post-sprint Review meetings were fun with the teams presenting some different results in their work. The Product Owner was hard to please, but we think under that tough skin, he was generally pleased with the work. The same can’t be said about the process. In the end, he chose his favourite diagram to hang on his boardroom wall.
The Retrospective meeting was even more fun and the teams learnt some very valuable lessons. However, Adam C explained that every one of the the teams was naughty:
- Only 1 of 4 teams took up the invitation to speak to the Product Owner about what he wanted
- 2 teams did a User Story for the task (despite Adam C giving several “Printed Story Cards” to each team)
- None of the teams kept a Backlog
- None of the teams did a Daily Standup, and
- Only 2 teams followed the brief and included pretty pictures (this was very important to the Product Owner)
Later on, Adam C presented his ideal Scrum diagram and spoke about how it clearly shows the Scrum process from start to finish.
The day ended with a retrospective where each student talked about what they liked and disliked about the day.
The top two highlights of the day – repeated multiple times – were:
- Writing User Stories and learning about why the wording was important
- Learning about effective acceptance criteria
The students said they were very happy with the course so far. They wanted 2 things improved for the next day:
- There weren’t enough videos (we’ll fix that on day 2!)
- Lunch was too early
Can’t wait for Day 2.