Unit Tests are a Waste of Time: The Argument for Integration-Only Testing

Unit Tests are a Waste of Time: The Argument for Integration-Only Testing

The Unit Testing Conundrum In the world of software development, unit testing has long been hailed as a cornerstone of best practices. However, as we delve deeper into the complexities of modern software development, it becomes increasingly clear that the obsession with unit tests might be more of a hindrance than a help. This article will explore why unit tests might be a waste of time and why integration-only testing could be a more effective approach....

October 26, 2024 · 4 min · 820 words · Maxim Zhirnov
Модульные тесты - пустая трата времени: аргумент в пользу тестирования только на основе интеграции

Модульные тесты - пустая трата времени: аргумент в пользу тестирования только на основе интеграции

Проблематика модульного тестирования В сфере разработки программного обеспечения модульное тестирование уже давно считается краеугольным камнем передовых практик. Однако по мере углубления в сложности современной разработки ПО становится всё более очевидным, что одержимость модульными тестами может быть скорее помехой, чем помощью. В этой статье мы рассмотрим, почему модульные тесты могут быть пустой тратой времени и почему подход, основанный только на интеграционном тестировании, может оказаться более эффективным. Миф об эффективности модульных тестов Модульные тесты часто преподносятся как быстрый и простой способ обеспечить качество кода....

October 26, 2024 · 3 min · 637 words · Maxim Zhirnov
The Case Against Always Using REST APIs: When GraphQL Wins

The Case Against Always Using REST APIs: When GraphQL Wins

The REST of the Story: Why GraphQL Might Be the Hero You Need In the world of API design, REST (Representational State of Resource) has long been the reigning champion, the go-to choice for developers building web services. However, like any champion, REST has its weaknesses, and that’s where GraphQL steps in as the challenger. In this article, we’ll delve into the scenarios where GraphQL not only holds its ground but also outshines REST, making it the better choice for many modern applications....

October 25, 2024 · 6 min · 1075 words · Maxim Zhirnov
Аргументы против постоянного использования REST API: Когда GraphQL выигрывает

Аргументы против постоянного использования REST API: Когда GraphQL выигрывает

REST или GraphQL: что лучше? В мире проектирования API REST (Representational State of Resource) долгое время был безоговорочным лидером и выбором разработчиков, создающих веб-сервисы. Однако у REST есть свои слабые стороны, и в этом случае на помощь приходит GraphQL. В этой статье мы рассмотрим сценарии, где GraphQL не только успешно выдерживает конкуренцию, но и превосходит REST, делая его лучшим выбором для многих современных приложений. Проблема удобства использования ГрафиQL часто берёт верх в вопросе удобства использования....

October 25, 2024 · 4 min · 766 words · Maxim Zhirnov
The Art of Writing Code That Only Works on Your Machine

The Art of Writing Code That Only Works on Your Machine

The Joy and Agony of Machine-Specific Code In the world of software development, there’s a peculiar art form that many of us have inadvertently mastered: writing code that works flawlessly on our own machines but mysteriously fails everywhere else. This phenomenon is both a source of amusement and frustration, often leading to late-night debugging sessions and cryptic error messages. The Roots of the Problem To understand why this happens, let’s delve into the basics of how code is executed....

October 24, 2024 · 4 min · 796 words · Maxim Zhirnov