PHPnews.io

Overview for 'yegor256'

Abstract Objects

Written by Yegor Bugayenko / Original link on Dec. 1, 2020

How do you create objects in your object-oriented language? Let’s take something classic, like C++, Java, or C#. First you define a class, and then you make an instance of it. The first step is known as abstraction, and the second one as instantiation. A similar pair of operations exist in function…


Objects Without Methods

Written by Yegor Bugayenko / Original link on Nov. 24, 2020

What do you think an object is in OOP? No matter what language you are programming with, you will most probably agree with Bruce Eckel, the author of Thinking in Java, who said that “each object has a state and operations that you can ask it to perform,” or Benjamin Evans, the author of Java in a…


Software Quality Award, 2021

Written by Yegor Bugayenko / Original link on Nov. 15, 2020

This is the seventh year of the Software Quality Award. The maximum prize is still the same—$4,096. The rules are still the same. Read on. Previous years are here: 2015, 2016, 2017, 2018, 2019, 2020. Here is the form to fill out. Rules: One person can submit only one project. Submissions are accept…


Strong Typing without Types

Written by Yegor Bugayenko / Original link on Nov. 10, 2020

In 1974, Liskov and Zilles defined a strongly-typed language as one in which “whenever an object is passed from a calling function to a called function, its type must be compatible with the type declared in the called function.” Strong type checking, without doubt, decreases the amount of type erro…


The Pain of Daily Reports

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

A few days ago I asked my Twitter followers to vote in a simple poll. They did, screaming in comments that only a stupid incompetent manager would ask programmers to send daily reports, while everything they do can easily be tracked in tickets, Git history, and so on. Indeed, why on earth would a…


New Metric: the Distance of Coupling

Written by Yegor Bugayenko / Original link on Oct. 27, 2020

Encapsulation, as you know, is one of the four key principles in object-oriented programming. Encapsulation, according to Grady Booch et al., is “the process of hiding all the secrets of an object that do not contribute to its essential characteristics.” Practically speaking, it’s about those priva…