Skip to content

Instantly share code, notes, and snippets.

@anuar2k
Created January 13, 2018 14:35
Show Gist options
  • Save anuar2k/c468bbb4709857ce105e9033c35d2fe8 to your computer and use it in GitHub Desktop.
Save anuar2k/c468bbb4709857ce105e9033c35d2fe8 to your computer and use it in GitHub Desktop.

There is several things that I want to mention as the comparison of old and new block families

  1. Usage of the new implementation is much simpler. You do not have to create a factory for them.
  2. Marking possible sections in a java annotation is better - previously, you had to override a getSectonNames method to list all sections possible - now, when sections are set in an annotation, it's easier to differentiate what sections are for and what do they mean.
  3. Using new block families implementation in my situation reduced the SLOC count by a HALF.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment