Skip to content

Instantly share code, notes, and snippets.

@balch
Last active March 22, 2017 23:04
Show Gist options
  • Save balch/50501c38a5390ddd7af8e6d356043b99 to your computer and use it in GitHub Desktop.
Save balch/50501c38a5390ddd7af8e6d356043b99 to your computer and use it in GitHub Desktop.
Balch's SDTs

Balch`s Software Design Terms

  • PE - Premature Encapsulation

The act of always creating an interface for a class that has, and will likely only ever have, one implementation

  • ID - Injectile Dysfunction

Causing code bloat via boilerplate syntax and generated classes so one can use an Inject annotation to access Application and Local scoped objects

  • RxSTD - RxJava StackTrace Dementia

Being unable to determine the cause of an issue because of an incoherent rxJava stacktrace

  • RxCC - RxJava Chain Compulsion

An overwhelming desire to chain as many rx functions (map, reduce, filter, toList) together as possible instead of writing a simple java for loop

  • VTS - Verifiable Test Syndrome

Achieving 100% unit-test coverage by using Mockito to reverse engineer each method and calling verify to ensure method interactions for every code path

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment