Skip to main content

Tiago Roldão

Member since Jun 24, 2016

Recent Blog Comments By Tiago Roldão

  • Implementing A Publish And Subscribe (Pub/Sub) Service In Angular 2 Beta 14

    Posted on Jun 27, 2016 at 1:09 PM

    @Ben, You're definitely correct, this is an intended subversion of the Object Oriented paradigm as we know from OOP languages. But then again, Classes in Typescript don't implement it correctly (and neither does ES6, as it is still a prototypal inheritance model). Regarding extension of other clas... read more »

  • Implementing A Publish And Subscribe (Pub/Sub) Service In Angular 2 Beta 14

    Posted on Jun 24, 2016 at 12:45 PM

    Hey Ben, I was recently thinking of a simpler way to achieve this simpler cleanup (apologies for the repetition there). A possible way would be a Class to be extended, that implements the hooks we need, and circumventing method overwriting. Something like this: export class SafeUnsubscriber imple... read more »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel