PHPnews.io

Overview for 'yegor256'

Traits and Mixins Are Not OOP

Written by Yegor Bugayenko / Original link on Mar. 6, 2017

Let me say right off the bat that the features we will discuss here are pure poison brought to object-oriented programming by those who desperately needed a lobotomy, just like David West suggested in his Object Thinking book. These features have different names, but the most common ones are traits…




StackOverflow Is Your Mandatory Tool

Written by Yegor Bugayenko / Original link on Feb. 13, 2017

I've said before that your StackOverflow reputation is very important to us when we make a decision on how much we should pay a software developer. However, there were many complaints about this metric. Take, for example, the ones here and here. In a nutshell, so many of you disagreed and said that…



Decorating Envelopes

Written by Yegor Bugayenko / Original link on Jan. 30, 2017

Sometimes Very often I need a class that implements an interface by making an instance of another class. Sound weird? Let me show you an example. There are many classes of that kind in the Takes Framework, and they all are named like *Wrap. It's a convenient design concept that, unfortunately, look…