Skip to main content

Mastering Private Methods and Refactoring: A Practical Guide

· 4 min read
Bater Chen
Senior Full-Stack Engineer

In the wild world of software development, we're constantly juggling encapsulation and testability. You want clean, hidden implementation details to keep your code modular, but you also need to test critical logic to avoid nasty bugs. Recently, our team tackled a beastly public method—sprawling, complex, and crying out for a refactor. We split it into private helper methods for clarity, but then the question hit: How do we test these private methods?

What Does It Mean to Be a Developer in the Age of AI?

· 5 min read
Bater Chen
Senior Full-Stack Engineer

As a developer who has recently managed to publish a blog post nearly every day, I should feel accomplished. Yet, a quiet sense of guilt lingers. With AI tools streamlining my work—writing blog drafts, generating 90% of my code through tools like Copilot or Cursor—the process feels almost too effortless. The deliberate rhythm of crafting each sentence or line of code by hand now seems like a distant memory. This ease prompts a deeper question: If AI does the heavy lifting, can I still call myself a developer?

From Prompt to Product - Key Takeaways from the 2025 GAI Conference

· 4 min read
Bater Chen
Senior Full-Stack Engineer

The era of marveling at the capabilities of large language models is behind us. At the 2025 Generative AI Conference (GAI Conference & Dev Day), the conversation shifted from "What can AI do?" to critical, practical questions: "How accurate is it?", "Can it be trusted?", and "Is it ready for production?" This transition, evident in keynote addresses and enterprise case studies, signals a maturing field where real-world application defines success.

What Is the True Value of a Developer in the Age of AI?

· 4 min read
Bater Chen
Senior Full-Stack Engineer

In an era where artificial intelligence can produce code with remarkable speed and accuracy, developers are confronted with a pressing question: what is our true value when AI appears to outpace us in technical tasks? As a seasoned developer with a passion for coding, I have reflected deeply on this challenge. The answer lies not in our ability to compete with AI on raw output, but in the uniquely human contributions we bring to the table—empathy, collaboration, and the ability to foster a positive team culture.

Tidy First - The Art of Small-Scale Code Refactoring

· 4 min read
Bater Chen
Senior Full-Stack Engineer

Imagine diving into a codebase that's tangled like a ball of yarn after a cat's playtime. Frustrating, right? Enter Tidy First, a philosophy championed by Kent Beck that encourages developers to make small, deliberate improvements to code structure before tackling behavioral changes. This isn't about grand refactoring projects like splitting a monolith into microservices. Instead, it's about teensy weensy cute fuzzy little refactorings—small, manageable tweaks that pave the way for smoother changes.

The core mantra? "Make the change easy, then make the easy change." By focusing on small structural improvements, you reduce friction and set the stage for effortless updates. Let's explore how this approach can transform your coding experience.