Denne gangen er vi - i samarbeid med JavaBin, og takket være NDC (http://www.ndcoslo.com/) - så heldige å få besøk av den prisbelønte forfatteren og foredragesholderen Dr. Venkat Subramaniam. Dette vil du ikke gå glipp av!
Obs: Møtet er mot normalt på torsdagen denne gangen!
It came as a shock to me when I tried to convince myself that the multithreaded code I was writing was not unit testable. It is too complex, non-deterministic to be driven through tests, I told myself. I was so convinced I set out to show TDD does not apply here. But in the end, I proved myself wrong. In this zero-slides presentation, we will use TDD to drive the design of a multithreaded code. Along the way we will hit some roadblocks, use those to learn some techniques and practices that will help break the barriers.
If you have confronted test driving for thread-safety this session is for you. Why does unit testing appear so hard for multithreaded code? See in action the influence of design on unit testability Learn how to approach unit testing for thread-safety? Learn from an interactive session where you participate in driving the design and tests You will not learn any theory in this session, only practical techniques.
There are no prepared slides for this session, it has live coding and high interaction from the audience. I take a problem which involves multiple threads and thread-safety. With interaction and help from the audience I build the code live, driving it with unit tests. We will quickly run into the regular stumbling blocks. I then let the audience spend a few minutes discussion options about how they would handle it or what they have done in the past. I present details of how I handled it and proceed to complete the exercise, showing the ways to tackle the problem and achieve the goal of unit testing for thread-safety. The last ten minutes is spent on retrospection and opinions of the audience as to the applicability of what they have learned.
Dr. Venkat Subramaniam is an award-winning author, founder of Agile Developer, Inc., and an adjunct faculty at the University of Houston.
He has trained and mentored thousands of software developers in the US, Canada, Europe, and Asia, and is a regularly-invited speaker at several international conferences. Venkat helps his clients effectively apply and succeed with agile practices on their software projects.
Venkat is the author of ".NET Gotchas," the coauthor of 2007 Jolt Productivity Award winning "Practices of an Agile Developer," the author of "Programming Groovy: Dynamic Productivity for the Java Developer" and "Programming Scala: Tackle Multi-Core Complexity on the Java Virtual Machine" (Pragmatic Bookshelf). His latest book is "Programming Concurrency on the JVM: Mastering synchronization, STM, and Actors.
17:00-18:00 - Pizza på Dolly Dimples
Pizza på Dolly Dimples på Torgallmenningen. Det er 5 minutters gange fra Scandic hvor arrangementet holdes. NNUG spanderer pizza og noe å drikke uten alkohol. Om du ønsker noe annet fra baren tar du det på egen regning :-)
Husk at alle må være tilstede på konferanserommet til 18:00 da presentasjonen starter!
18:00-19:00 - Test Driving Thread Safety
19:00-19:15 - Pause
19:15-20:15 - Test Driving Thread Safety forts.
20:30-__:__ - Geek Beer
Vi drar til Kontoret (ved siden av Dickens) og fortsetter diskusjonene over noe kaldt å drikke.
PS: Det vil også bli trukket en heldig vinner av en "late bird" golden ticket til NDC 2012, som foregår uken etter i Oslo.
Go to Attendee List