Skip to main content

Matt Osbun

Member since Jun 8, 2016

Recent Blog Comments By Matt Osbun

  • Thinking About Static vs. Private Methods In TypeScript / Angular 2

    Posted on Jan 6, 2017 at 10:36 AM

    Amy- "IME people use statics primarily to make them easy to get ahold of." That could be, and in .Net some code automation tools tend to suggest statics for this purpose. Like all programming principles, though, you have to use them properly to get the correct benefit. Statics can't be s... read more »

  • Thinking About Static vs. Private Methods In TypeScript / Angular 2

    Posted on Dec 25, 2016 at 1:11 PM

    @Amy " so it's literally not possible to swap to a different implementation" That's the point, though. Math.Sqrt is static because there's only one implementation of square root. If you need implementation to change contextually them you shouldn't be looking to statics. "This makes... read more »

  • I'm Excited When People Leave My Company

    Posted on Sep 9, 2016 at 12:59 PM

    Back when I was just beginning my career, I was working at a store run by a friend, who would eventually become the best man at my wedding. It wasn't development related- it was a retail job that paid the bills until I could find a job in the field. Anyway, Jeff would occasionally tell me the bit fr... read more »

  • Thinking About Static vs. Private Methods In TypeScript / Angular 2

    Posted on Jun 13, 2016 at 4:16 PM

    @Ben "Hey, if you're thinking about Object stuff right now, you might have fun reading Elegant Objects by Yegor Bugayenko." Preface with the fact that I'm not feeling well and that *always* makes me cranky (Yes- I'm basically 5), but I read a few pages of his book, and it's too hit or mi... read more »

  • Thinking About Static vs. Private Methods In TypeScript / Angular 2

    Posted on Jun 8, 2016 at 8:33 AM

    "a sub-class should never access the private methods of its super-class." More like a subclass should never be allowed to access the private methods of its parent. "these preceding concepts make me think that I should, when possible, err on the side of pure, static methods over priv... 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