Writing Code

Write Code in a Way Comfortable to You

Interfaces Anyway, long story short: An interface is very helpful for given shape to Our JavaScript Objects. Generally speaking, an interface is just a complex type definition with a Public Contract that an implementation “conforms” to. Contracts That being said any external Class can consume or stablish a Contract without caring about how it’s implemented. … Read More

es6-classes

Understanding ES6 classes

Today during a conversation with a friend about what exactly ES6 classes are, I found out that topic can be commonly misunderstood. First of all, if JavaScript is your first language and you have no prior experience with more truly object-oriented languages with classes, instances, inheritance etc, there are numerous sites you can visit to … Read More