News for hackers. Stuff that matters.
Re:Do We Worship Complexity? by TeMPOraL on Tuesday October 16, 2018 @03:55PM (#18232660)
This should be in requirements. It apparently wasn't in the ones OP was given.

Also, the answer should not be "large dependency injection framework".

Re:Do We Worship Complexity? by wellpast on Tuesday October 16, 2018 @03:59PM (#18232712)
Also I would say the answer is better left independent of the runtime environment.

Yes you can load Java classes into the JVM. But why not have a serialization format that is independent of the vagaries and specifities of the JVM?

Still, even if you lean on the JVM, that changes nothing about this particular problem. You don't need command pattern. You don't need a type hierarchy.