• Flux News
  • Flux Blogs
  • David
  • Eric
  • Arul
  • Brian
  • Flux Website

david @ flux

Previous Next
1

R.I.P. flux.Factory

Posted by david 26-Jun-2008

Eight years ago, I wrote the first version of Flux's Factory class. It was the starting point for Flux users. Flux users would first make an instance of Flux's Factory class and then use it to create other objects involved in Flux programming.

Yesterday, I deleted the Factory class from the upcoming Flux 8.0 code base.

rip.jpg

Back in 2000, using the factory design pattern was the natural choice for Flux. These days, it's become clear that Flux needs to use simple classes instead of the factory design pattern.

It felt good to simplify. :)



Add a comment Leave a comment on this blog post.