re: Convince me that types are awesome VIEW POST

FULL DISCUSSION
 

let's say you are starting a new project with some friends, you separate task in other to be more efficient.
Then you realise that you have to work on some methods that will return an object that another teammate will use. Your teamate need and object that will have some attribute that has to match exactly meaning some mandatory fields that most have a certain type. You cannot join your teammate every time because he is in europe and the jet lag is like 7hours. Working with types will help you a lot because your teammate will make interfaces that will define the object and you will know exactly what he needs and also if some attributes are mandatory.
So types will help you work more efficiently without having to discuss every two second with your teammate

code of conduct - report abuse