PHPnews.io

Overview for 'yegor256'

EO the Career Killer

Written by Yegor Bugayenko / Original link on May. 13, 2020

It’s time to answer one of the most popular questions I hear from junior programmers when they meet me at a software conference or online: What is the point of studying Elegant Objects (the new object-oriented paradigm I’ve been preaching for the last five years) if almost nobody is using it on rea…


Open Source Arms Race

Written by Yegor Bugayenko / Original link on May. 5, 2020

Some companies massively invest in open source software projects, while others still remain skeptical and stay away from this trend. What’s in it for those philanthropists, like Google, IBM or Microsoft? Why spend money on something that doesn’t belong to them and is shared among all of us develope…


Prefixed Naming

Written by Yegor Bugayenko / Original link on Mar. 3, 2020

If you look at the source code of Takes or Cactoos for the first time, you most probably, like many others, will be triggered by the naming convention, which implies that most class names have two-letter prefixes: BkSafe, RqFake, RsWithStatus, TkGzip, and so on. To be honest, I haven’t seen a singl…


Fat vs. Skinny Design

Written by Yegor Bugayenko / Original link on Feb. 19, 2020

It seems that type/class hierarchies in OOP may be designed in two extreme ways: either with full encapsulation of data in mind; or with just a few interfaces making raw data visible, and letting classes deal with it, parse it, and turn it into smaller data elements. You may be surprised, but I’m…


Object Cohesion: Why It Matters

Written by Yegor Bugayenko / Original link on Feb. 11, 2020

You most probably know about Elegant Objects (EO), an alternative object-oriented paradigm, which claims that objects must be immutable, have no static methods, never use NULL in their code, use no annotations, and so on. We, the EO adepts, claim many things, but not so many people believe us. Thos…