Profile cover photo
Profile photo
Nick Hodges
1,258 followers -
Husband. Dad. Developer. Writer.
Husband. Dad. Developer. Writer.

1,258 followers
About
Posts

Post has attachment
In my last post, I showed how to do mixins the “simple” way.  In this post, we’ll look at the “real” way to do them, using the exact same example. I discussed what mixins are in the last post:  in short, they are a way of segregating, then composing,…
Add a comment...

Post has attachment
I had heard the term “mixin” before, and I confess that I didn’t understand them.  And then I read a wonderful explanation of them in the great book, Pro Typescript by Steve Fenton, and it all became clear. Strictly speaking, mixins are not an official…
Add a comment...

Post has attachment
I thought that I’d post a few words about how I view JavaScript, because I’m guessing that my view is different than most folks. It seems likely that 99% of the people that come to TypeScript are already JavaScript programmers.  I, however, am part of the…
Add a comment...

Post has attachment
I always find it hard to describe polymorphism, but I’ll give it a try:  Polymorphism is the ability of a class to be represented by a class higher in the inheritance hierarchy.  It is also the ability of a class to call the correct method of the class…
Add a comment...

Post has shared content
Brutal. Spot on, but brutal.
Assume that SO employees also answer questions ...
Photo
Add a comment...

Post has attachment
I thought that you guys might enjoy this screen shot a colleague sent me:

Photo

Post has attachment
I have a page on this blog called “Resources I’ve Used and Learned From” where I try to keep track of all the resources I’ve used to learn.  I like to give credit where credit is due, and I want to provide a good list of resources for beginners. I just…
Add a comment...

Post has attachment
We took a look at encapsulation in TypeScript.  Now let’s look at the next OOP pillar, inheritance. Definition Of course, we have to look to Wikipedia for a definition: Inheritance in most class-based object-oriented languages is a mechanism in which one…
Add a comment...

Post has attachment
Nick Hodges commented on a post on Blogger.
Add a comment...

My book is now available in physical form on Amazon:

http://amzn.to/2pzxBTo
Wait while more posts are being loaded