Showing posts with label Extreme Programming. Show all posts
Showing posts with label Extreme Programming. Show all posts

Sunday, July 29, 2012

Recommended Readings for Lateral Dev Hires at ThoughtWorks -- An Unofficial Opinion

All thoughts mentioned in this post are in no way endorsed or validated by ThoughtWorks. These are solely my opinions (and a few co-workers). You are still the best judge of your capabilities, and needs. 

Quite often experienced folks joining ThoughtWorks have a common set of questions: What should I read to prepare myself for ThoughtWorks? What kind of technologies does ThoughtWorks work on? Will I go on a Ruby or Java or Mobile project?

I doubt there is any good and precise answer to these questions. But, there certainly are some practices that I feel our in the DNA of ThoughtWorks. Agile & Extreme Programming practices drive most of this. Unfortunately, Agile means totally different things to different people outside ThoughtWorks. And, quite often, nothing will prepare you for the radical changes that are going to come to your way of working at ThoughtWorks. 

So, I thought, why not try come up with some recommended readings for Dev Lateral hires (experience range of 3 - 10 years), to introduce them to some of our development practices, coding styles, unit testing beliefs, etc. I asked a few of my colleagues - namely Unmesh, Chirag, Sunit and Aman on what they felt should be the minimum recommended reading list for Lateral ThoughtWorkers. This is what we all came up with. 

I may have used my discretion to sanitize the final list, therefore if you don't like the list -- blame me! :) 

Highly Recommended Book Reading

Refactoring, Improving the Design of Existing Code (Martin Fowler)
This book introduces you to refactoring, code smells and patterns to help you refactor your code into something much more readable, maintainable and extensible. If you are new to refactoring, this will be an eye-opener. Note that examples in this book are targeted towards Java developers, but core concepts are valid in almost any serious programming language. Couple this reading with IntelliJ Refactoring shortcuts to realize how easy it is to perform useful re-factorings by Java programmers. At ThoughtWorks, the most popular Java IDE is IntelliJ. Its refactoring capabilities are beautiful.

Test Driven Development (TDD) By Example (Kent Beck)
TDD - A fundamental practice that has been very highly suggested by proponents of Extreme Programming (XP). This book (again in Java) helps developers in understanding how to think Test-First, and how unit testing affects the design and development of your code. It is a simple, tiny and very nicely written book that gets-to-the-point. Warning: You are not supposed to "read" the book, but follow it as-if Kent Beck himself is pairing with you. If you do not code along with this book, you may as well not read this book. If you are joining ThoughtWorks, you will benefit tremendously by understanding TDD.

Extreme Programming Explained (Kent Beck)
An excellent introduction to the values and practices of Extreme Programming, and our preferred flavour of Agile. It will give you an insight into how we work, and why we do things the way we do. A must read -- whether you are a developer, QA, BA, PM or any technically connected person who is joining ThoughtWorks. The book is deceptively simple. Understanding this book will explain to you the meaning of "being" Agile, versus "doing" Agile.

Clean Code: A Handbook of Agile Software Craftsmanship (Robert C Martin a.k.a Uncle Bob)
Coding is our bread and butter. Well, we prefer it nice and clean! Clean Code is taken very seriously at ThoughtWorks, and the techniques, tips and recommendations mentioned in this book are invaluable. This book is packed with code examples (in Java), and isn't something you read over a plane journey, but something you couple with an IDE, coffee and a leave-me-alone-to-do-as-I-please environment.

Other Recommended Book Reading

Even though I have mentioned the highly recommended ones, there are still some other books, that I just had to let people know they should consider reading. Each of these books are as much a gem as the ones above, except that if you think like an economist, who wishes to maximise his returns at ThoughtWorks, then maybe you will start with the list above, and later digest the ones in this section.

The Pragmatic Programmer: From Journeyman to Master (Andrew Hunt, David Thomas)
A collection of very practical & solid advice on many many aspects of Software Development. Reading this book will make you feel you are being handed out information and knowledge developed by the authors through years of hard labour, failures, learnings and successes. Quite a collection!

Agile Software Development, Principles, Patterns and Practices (Robert C Martin a.k.a Uncle Bob)
Uncle Bob introduces Agile practices, and shows how teams need to design and develop code so that Agility can be attained. Even if you didn't work in a team that followed the Agile methodology, you definitely need to know these design principles. Most of them are fundamental to how good software should be created.

Effective Java [2nd Edition] (Joshua Bloch)
If you are a Java programmer, then you have to read this book. This book is filled with pearls of wisdom on how to use the Java programming language way more effectively than you thought possible. I still pick it up this book time to time, to refresh my Java knowledge. Please read it.

Continuous Delivery: Reliable Software Releases Through Build, Test and Deployment Automation (Jez Humble, David Farley)
How does one make software delivery and releases --  painless and a non-event. What processes, practices and tools should teams follow so that one-click delivery is possible. Turns out, it isn't so easy - but then it isn't rocket science either. All ThoughtWorks projects aim towards providing Continuous Delivery, and this book will give an insight into our methods of achieving those.

Implementation Patterns (Kent Beck)
Kent Beck takes the sum total of all his experience in programming, Smalltalk & Java, and categorizes it into a set of Values, Principles and Patterns (with lots of good examples) for us to realize. This book will make you a much better programmer -- one that others will be able to appreciate.

Recommended Reference Links on the Internet

There is a wealth of information on the Internet, undoubtedly. Although I do feel that books seem to deliver a more "complete" experience and understanding -- since they take you through a complete story line with a full narrative and total context. The articles on the internet seem to provide a window to possibilities - and there are few folks who publish the "complete picture". Although, the situation has been remarkably improving in the last two or three years. One has to be very judicious and thorough when reading / learning stuff on the internet. As a reference guide - the internet is priceless. There are always exceptions to the rule. Always.

Some recommended reference links on the internet that will help the new ThoughtWorker: 

I would use these links as a starting point, or a seed, to lead me into further research, based on what I find interesting and parts where I feel I need a better understanding.

Welcome to ThoughtWorks!

Saturday, February 25, 2012

8 Months at ThoughtWorks Pune

I joined ThoughtWorks, Pune in June 2011. 8 months ago. Previously I had worked with Persistent Systems, IBM Software Labs and Performix (a start-up). I would like to pen down my ThoughtWorks journey so far. Correction. Incredible journey.



For sake of readability, let's list down the things I feel are awesome and different about ThoughtWorks, and why I catch myself wondering why the hell did I not apply to ThoughtWorks earlier. For the record, I joined ThoughtWorks as a Senior Consultant, and my role here is Programming, Programming and yeah Programming. :) Lets see.. what this means.

1. People: The most awesome thing about working here is definitely the People. Each and everyone has a special talent. Everything else that follows is just a nice side effect of smart people doing things they love. If you are looking for a UI guru -- there are many, if you are looking for a Linux guru -- again there are many, if you are looking for someone with experience in Mongo DB -- turn around and go to the 3rd table, if you are looking for someone with experience or interests in Statistical data modelling -- drop him an email -- he should be visiting us next week for one of the many technical meetups at ThoughtWorks, if you are looking for someone with awesome drumming capability (yes music!), well you can find him too. Talent seems to be a complementary feature of all great programmers. I guess, you can't hone just one skill. Perfectionism and curiosity become a habit. At ThoughtWorks, the recruitment process is stringent, and we are careful about selecting folks who can build, fit and contribute to the ThoughtWorks culture of excellence, fun, and social responsibility.

2. Pairing: Now, this one is very interesting. We pair for all our development work. That means, every code that is written is written by two people sitting side by side, connected to a huge monitor and a pair of keyboards/mouse. Sounds unbelievable to most folks. Its true for ThoughtWorks worldwide. What this means is that obviously silly bugs are caught while programming, it also means I can't get lazy. If I skip a unit test -- or write code that is sub-optimal, the other guy will be like - Dude!! Then I'd go.. you know what.. why don't you drive (means type). The other awesome benefit of Pairing are the little tidbits you pick up from your pair. For instance, I used to use :wq for saving a file in vim. Well one day my pair said.. hey try using "Shift zz". Its faster. And since then its been a bye bye to ":wq". The net output of pairing is -- both folks learn the best from each. That's quite something! If you are weak in Javasript, your pair can help.. and in the end you know stuff you didn't know 10 mins ago. Next time you can teach that to someone else. Also, its bye bye to gtalk, facebook and twitter while pairing.. which means hours of solid productivity, with no distractions --- and to top it, you don't really feel exhausted because you have a pair and a friend to keep chatting with the whole time! And, then there is the concept of Pair Rotation. What this means is that every 2-3 days, you rotate pairs. This helps in ensuring everyone learns from everyone, and everyone learns mostly everything about the code base -- so there are no bottlenecks and module-owners. Everyone owns the code, and everyone can fix anything. Of course needless to say, we still have our strengths in certain areas, but we still know sufficient about other areas as well.  If you feel Gym membership is costly, try open heart surgery instead. Same is the case with Pairing. Its totally worth it!

Note: Even if you just read this post till here, and have never done Pair Programming, I suggest, for now you leave this post alone, and hurry along finding out more about Pair Programming because that's the single most beneficial decision you can take (other than choosing to join ThoughtWorks of course).

3. Linux (a.l.a Unix): Well, I spent 9+ years of my life with a Windows Laptop, thinking - well, Linux is for the die-hard geek, hacker, or for running mission critical server applications. I was familiar with Linux, and tons of its avatars -- thanks to multi-platform testing at IBM. Guess what --- if you are a developer in ThoughtWorks, and you don't work on a Unix/Linux  machine --- something is wrong with you, or you must be writing Windows all over again. In the 3rd week at ThoughtWorks, I wiped Windows off my 8GB Dell Latitude laptop, and installed Ubuntu. All our development happens on Linux machines. And believe me, for a developer, Linux is God-sent. The amount of tweaking, customization, productivity enhancers, and shortcuts you can enable in Linux.. makes Windows feel like crutches. And, yeah -- it helps having folks around you who have mastered such tools. Makes it way easier for you to hop on for the ride.

4. Transparency and Feedback: These words take on their real meaning at ThoughtWorks. There are no walls in ThoughtWorks Pune office. Just one big hall, with large tables (one for each team). No cubicles, for anyone. No exceptions. This means -- you know everyone, you see everyone, you say hello to everyone, and you can hear anyone. Turns out, it's quite easy to work in such an environment. You want to know what's happening on project Z, go and walk up to anyone in its team and he or she will bring you up to speed. You want to attend the leadership meeting, just walk in -- you are most welcome. You want to know if you are gonna be sent abroad on an assignment this year -- go say hello to PSM, and he'll tell you who all are selected and why. You delivered a presentation, and it was not-so-good, people will come and tell you what you could do better. If you rocked, they will tell you that too. You suck in Web Development, no problem, they will tell you, and help you find resources to improve, or better still, pair with you on such tasks. You want to know what's the future projects pipeline -- check out the internal my.thoughtworks portal. You want to know which bid we lost out on, and why, check out my.thoughtworks. Its all out there for you to see, read, learn and share. We trust you, and as long as you live up to the trust, things are much easier to manage and communicate.



5. Social Impact Projects (SIP): Besides the plethora of open source project options, we also have a number of Social Impact project options available for voluntary contribution. This gives me an opportunity to learn new technologies, while making a useful contribution to social causes. The great thing about SIP projects is they seem to be invariably built using the best and newest of open source technologies, cloud platforms, and the works. Most SIP customers want us to build, deploy and manage the whole solution, with no silly opinions like "It must use ESB", or bloated middlewares, etc -- only because someone higher up spent lots of money buying bloatware which now can't be justified. SIP projects are nimble, agile, and very satisfying to work on. ThoughtWorks has special folks identified for driving and helping volunteers contribute to SIP. The momentum on SIP in India is huge. To know more:
http://www.thoughtworks.com/jeff-wishnie-rohit-bansal

6.  Comfort, Fun and Food: Thanks to Extreme Programming (Kent Beck), not only do we NOT have psychotic processes (Agile rocks!), we also have tons of outings, meet-ups, and fun! In fact, after I joined ThoughtWorks, my wife was disgusted with the number of team outings I went out for. Teams are made by getting a bunch of folks together, and successful teams are made by getting a bunch of passionate friends together. ThoughtWorks is made of these successful teams. And successful teams celebrate.


To sum it up: My wife has joined ThoughtWorks last month! :) :)



[Update: 25/July/2013] A really nice video on life at ThoughtWorks: http://www.youtube.com/watch?v=owrMkfR5a4Q

[Update: 07/Aug/2013] Added snaps I took of Pune office.