- Can you identify the code-smell?
- How will you Refactor it?
- How can I use circle, square, triangle and any shape that comes in future to draw?
- How can I draw pictures that are composed from triangles, squares, or circles or any future shape?
- I want to make sure that always circles are drawn first, squares are second and triangles are third?
Notification.scala
contains all the necessary implementations and a couple of missing ones. Using Scala's Future
s implement the problem parts below:
-
Part 1
- Send notification for
debit
orcredit
transactions on a customer’s bank account. - Implement either
credit
ordebit
operation. - You must send both the messages SMS and Email upon a successful transaction.
- Send notification for
-
Part 2
NewerOlder