Naming Things: The Hardest Problem in Computer Science

Naming Things: The Hardest Problem in Computer Science

The Eternal Struggle of Naming Things In the vast and wondrous world of computer science, there exist a few problems that stand out as particularly vexing. Among these, two have earned a special place in the hearts (and frustrations) of developers everywhere: cache invalidation and naming things. This article delves into the latter, exploring why naming things is such a monumental task and offering practical advice on how to tackle it. ...

September 17, 2024 · 4 min · 818 words · Maxim Zhirnov
The Fallacy of 'Code Reuse at All Costs': When Duplication is Better

The Fallacy of 'Code Reuse at All Costs': When Duplication is Better

The Allure and the Pitfall of Code Reuse In the world of software development, the concept of code reuse has long been touted as a holy grail. The idea is simple: write once, use everywhere. It sounds like a dream come true—less code to write, fewer bugs to fix, and faster development cycles. However, this dream often turns into a nightmare, and it’s time to confront the fallacy of “code reuse at all costs.” ...

September 15, 2024 · 5 min · 871 words · Maxim Zhirnov