The document provides instructions for setting up sample code from a workshop on better code and littler classes. It instructs attendees to import sample code from a USB drive into their development environment of choice, which has been pre-configured for various options like Maven, Ant, and Visual Studio. It then tells them to run tests on the sample code to ensure they pass before the presenters demonstrate concepts in Java. It also provides an option to use a virtual machine if no local development environment is available.
1. Better Code,
Littler Classes
• While you wait, install the sample code from the USB drive:
Code/flatwiki-example/
choose java, csharp, or ruby; we’ll be demonstrating in Java
• Import into your environment of choice:
We’ve included configuration for
Maven, Ant, IntelliJ, Eclipse, Visual Studio, and Rake
• Run your tests -- they should all pass!
Java: “ant build”, “mvn test”, or IDE test runner
Ruby: “rake test”
C#: Run tests in Visual Studio
• If you don’t have a development environment,
install VirtualBox and open BetterCodeVM.ova
8. Setup Instructions
• Sample code is on the USB drive
Code/flatwiki-example/java, csharp, and ruby directories
• Import into your environment of choice
We’ve included configuration for
Maven, Ant, IntelliJ, Eclipse, Visual Studio, and Rake
• Run your tests -- they should all pass!
Java: “ant build”, “mvn test”, IDE test runner
Ruby: “rake test”
C#: Run tests in Visual Studio
• If you don’t have a development environment,
install VirtualBox and open BetterCodeVM.ova
14. Further Practice
• Code Katas
• Object Calisthenics
• Architectural Design Challenge
• Re-use our sample project!
• More at BetterCodeLittlerClasses.com
15. References
• Refactoring, by Martin Fowler
• Arguments and Results, by James Noble
• Working Effectively with Legacy Code, by Michael
Feathers
• Growing Object Oriented Software, by Steve
Freeman and Nat Pryce
• More at BetterCodeLittlerClasses.com