"Clean Code" by Bob Martin is probably one of the most important practical documents out there; A must read for all developers, if you will. In this talk I will show how you can use Groovy and its rich ecosystem to apply the discussed principals, thus cleaning and vastly improving your codebase while still maintaining your sanity and joy.
By Noam Tenne
6. “Writing clean code is what you must
do in order to call yourself a
professional.”
–Robert C. Martin
http://www.amazon.com/dp/0132350882/ref=cm_sw_r_tw_dp_GuZ2wb1ZS9GXP
25. String html = "<html>";
html += "<head>";
html += "<title>Noam's guide to Copenhagen</title>";
html += "</head>";
...
html += "</body>";
html += "</html>";
50. EXTENSION MODULES
class MyExtension {
public static String asString(Integer target) {
...
}
}
Register the class with a descriptor in META-INF/services
51. EXTENSION MODULES
class MyExtension {
public static String asString(Integer target) {
...
}
}
Register the class with a descriptor in META-INF/services
52. EXTENSION MODULES
class MyExtension {
public static String asString(Integer target) {
...
}
}
Register the class with a descriptor in META-INF/services
1337.asString()