Skip to content Skip to sidebar Skip to footer
Showing posts with the label Interface

Typesafe Javascript

Is there a way to enforce types in JavaScript? I'm thinking of a pre-processor which takes an i… Read more Typesafe Javascript

Why Duck Typing Is Allowed For Classes In Typescript

Looks like in TypeScript it's absolutely fine (from the compiler perspective) to have such code… Read more Why Duck Typing Is Allowed For Classes In Typescript

JavaScript Interfaces In MDN

As far as I know JavaScript, being OOP based on prototypes - and not classes - do not contemplates … Read more JavaScript Interfaces In MDN