Skip to content

Instantly share code, notes, and snippets.

@stolarczykt
Created January 27, 2020 08:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stolarczykt/81bb5352b095b9fbac06b13e5c1e55f2 to your computer and use it in GitHub Desktop.
Save stolarczykt/81bb5352b095b9fbac06b13e5c1e55f2 to your computer and use it in GitHub Desktop.
Coincidental cohesion
public class CoincidentalCohesion {
public void log(Exception e) {
//method body
}
public void sendMessage(Recepient recepient) {
//method body
}
public void saveTransactionInfo(TransactionInfo info) {
//method body
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment