Skip to main content

8 posts tagged with "devops"

View All Tags

What is Behaviour Driven Developement in Python

· 14 min read
Serhii Hrekov
software engineer, creator, artist, programmer, projects founder

We're constantly striving for higher quality, faster delivery, and closer collaboration. In the realm of API development, where contracts and interactions are paramount, these goals often feel like a constant uphill battle. This is where Behavior-Driven Development (BDD) emerges not just as a testing methodology, but as a powerful paradigm for designing, developing, and validating robust Python API systems.

What is Design-First paradigm in Python

· 11 min read
Serhii Hrekov
software engineer, creator, artist, programmer, projects founder

We've all seen projects spiral when API design is an afterthought. It's a common trap: dive straight into coding, then realize downstream that your API is clunky, inconsistent, and a nightmare to integrate with. This is precisely why the Design-First (API-First) paradigm isn't just a buzzword; it's a critical methodology for building scalable, maintainable, and truly collaborative API systems, especially within the Python ecosystem.

Test-Driven Development (TDD) - Writing Code That's Correct by Design

· 10 min read
Serhii Hrekov
software engineer, creator, artist, programmer, projects founder

Not only Shift-Left mantra matters

The mantra of "Shift Left" has echoed through the halls of software development for years now, and for good reason. The core idea is simple yet powerful: move testing, quality, and security considerations as early as possible in the development lifecycle. It's about catching problems when they're small and cheap to fix, not when they're gargantuan headaches in production. But as a lead engineer who's seen a few projects through the trenches, I've come to realize that "Shift Left" isn't the destination; it's the starting point.

To truly build robust, maintainable, and high-quality software, especially in a dynamic language like Python, we need to embrace a set of development paradigms that not only support but enhance the "Shift Left" philosophy. These aren't just buzzwords; they are methodologies that, when adopted, fundamentally change how we approach writing code for the better.

Beyond Shift Left. Development Paradigms Every Programmer Should Know

· 5 min read
Serhii Hrekov
software engineer, creator, artist, programmer, projects founder

I'm continuing the paradigms circle. The Shift Left paradigm is well-known in the DevOps and QA communities for its philosophy of catching bugs, security issues, and integration problems early in the development lifecycle. But Shift Left is not the only valuable philosophy out there. In fact, in some contexts, other paradigms can be even more effective.

This article introduces several software development paradigms that complement or enhance Shift Left—and may even be more impactful depending on your context.

What is Shift Left Paradigm in Programming? Explained for Beginners

· 6 min read
Serhii Hrekov
software engineer, creator, artist, programmer, projects founder

If you've heard developers or tech leads talk about "shifting left", it may sound like some kind of command-line trick. But in reality, "shift left" is a mindset — and it's becoming increasingly important in modern software development.

Whether you're writing Python or any other language, understanding this approach can help you build more reliable code, find bugs earlier, and ship faster.

How to Checkout a Single File from Another Git Branch

· 5 min read
Serhii Hrekov
software engineer, creator, artist, programmer, projects founder

Sometimes, you may want to retrieve a specific file from another branch in a Git repository without switching branches completely. This is particularly useful when you want to grab a specific version of a file for debugging, rollback, or review.

In this guide, we’ll walk through how to checkout a single file from another branch using Git. We’ll cover multiple scenarios with examples and best practices.

Handling Environment Variables in OpenAPI Server URLs

· 4 min read
Serhii Hrekov
software engineer, creator, artist, programmer, projects founder

When defining server URLs in OpenAPI specs, you often need to reference environment-specific values (like staging or production subdomains). But using raw environment variables can result in placeholder values like default: unknown, which may confuse tools like Swagger UI, ReDoc, or code generators.

This guide explains the issue and offers clean solutions — with practical examples.