jeudi 23 juin 2016

What design patter would be recommended for this aproach?

I am designing an application, and one feature I want for my app is that:

  • Whenever a post gets 2 times more dislikes than likes, it gets automatically deleted and send to the submitter a message.

I am thinking about the observer pattern, is it a good choice?

Aucun commentaire:

Enregistrer un commentaire