Not long ago I’ve posted a small article on a Condition System in Clojure language. In that article, I was mostly trying to understand what a condition system is, and how it can enhance error handling in the code I write. Since that time, I’ve understood this system a lot better, by actually trying it in the Common Lisp language, the place where it came from, as far as I know.
I’d like to announce that I now have a Patreon page where you can support me and what I do. Lately I’ve started noticing that I dedicate a lot of my personal time into all the projects I’m making and maintaining, but I don’t have a lot of time to immediately fix all issues that other people have.
I’ve started using IRC in early 2000s, and was primarily using it because at that time there was no global internet access in our city. However we had city wide local network, and our internet provider ran an IRC server for everyone to chat.
A while ago I’ve watched this amazing talk: Condition Systems in an Exceptional Language by Chris Houser. And more recently I’ve found one interesting library called farolero, which provides a set of functions and macros that mimic Common Lisp’s condition system. So I was generally interested in the topic, and decided to give it a shot, and try both approaches.
Today we’ll take a look at interesting Java library, called PF4J, which describes itself as Plugin Framework for Java. The main purpose of this library is to provide a way of detecting, initializing, and using plugins to extend your Java application with new features without the need to modify the code.