Soo….you are thinking about adding or changing a Java style guide for your team. What are others out there doing? Here are some style guides for Java programs that have been shared on the web.
The D in SOLID stands for the Dependency Inversion Principle, sometimes shortened to DIP. The SLAP and my thoughts on Telescoping Methods are possibly restatements of the DIP. At the very least they are closely related! But let’s do what we always do here and get out of theory and into practice.
I hope this is as useless for you as it was for me! But seriously this was fun.
It counts to ninety-nine in English, and has no Int’s, Long’s or any other number type in sight:
Around February, Manning Publications is going to put out a book called Functional Reactive Programming which is all about how the Observer pattern sucks and how functional reactive programming is here to save the day. So they’re doing all the work I would need to do to tell you to throw out the Observer pattern and forget about it if you’re moving to Scala or any functional language. Lucky for us, at this time, the first chapter, titled “Stop Listening” is available free. Check it out! And thanks to the authors that this is one blog post I don’t have to write up!
Note: When you visit Manning’s page, look to the left under the small section titled “Free Downloads” to get the PDF of the chapter.