PHPnews.io

Overview for 'yegor256'

The Principle of One

Written by Yegor Bugayenko / Original link on Jun. 14, 2022

When I make a slide deck for a new presentation, invent a new domain name, think about a name for a new Java class, itemize bullet points in an academic paper, even write an email—I try to follow a simple principle which helps me make my content more solid. Well, at least I believe it does. Maybe…


Reflection Means Hidden Coupling

Written by Yegor Bugayenko / Original link on Jun. 5, 2022

Reflective programming (or reflection) happens when your code changes itself on the fly. For example, a method of a class, when we call it, among other things adds a new method to the class (also known as monkey patching). Java, Python, PHP, JavaScript, you name it—they all have this “powerful” fea…


Bugs Occam’s Razor

Written by Yegor Bugayenko / Original link on Mar. 29, 2022

For each accepted explanation of a phenomenon, there may be an extremely large, perhaps even incomprehensible, number of possible and more complex alternatives. The principle of parsimony, also known as Occam’s razor, suggests we prefer the simplest one. For example, “I can’t open the door and can’…


Fallacies of AI Driven Coding

Written by Yegor Bugayenko / Original link on Feb. 16, 2022

A few days ago, DeepMind (acquired by Google in 2014) released AlphaCode and self-published a paper explaining how their artificial intelligence (AI) can “understand” a programming contest task written in English and then write a Python, Java or C++ program, which would work in about 30% of cases.…


Academic Teaching is Hard

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

A few months ago I got an opportunity to teach a single course for 3rd-year BSc students at Innopolis University (Russia). The title was “System Software Design.” The size of the group was about 150 people and the duration was 8 weeks. I was supposed to give them sixteen lectures, two lectures per…