If you use Class.forName(), then you should read this: What You Should Know about Class Loaders
Here is the rest of day 1 (cont’d from previous post):
I’ve seen this talk before. Maybe in 2008?
Slides aren’t on Neal’s homepage nor on his github.
Do you really get class loaders? by Jevgeni Kabanov
Nice talk with lots of exceptions you’ve never seen before. It’s a good, real-world example how something simple (like class loading which is basically just loading streams of bytes from a list of places) can turn into a nightmare if you just add one single, innocent rule (like the web guys did back then with JSP 1.0 when they decided to reverse the order of lookups).
97 Things Every Programmer Should Know by Kevlin Henney
- 3. Ask “What Would the User Do?” (You Are not the User)
- 24. Don’t Be Afraid to Break Things
- 76. The Single Responsibility Principle
- 95. Write Tests for People
Best of all: Many of these rules date back to the 1960’s! Time to apply some of these rules 🙂
That was day 1. On to day 2!