Is This Messenger Server Too Large, or Should I Split It Up?
I'm building a simple messenger server as my first project, but the code is starting to feel much bigger and more complicated than expected. The current Java class…
I'm building a simple messenger server as my first project, but the code is starting to feel much bigger and more complicated than expected. The current Java class…
I'm looking for realistic codebases to use as refactoring practice. I've already worked through several coding exercises, including the Golden Rose and Tennis katas, but I'd like to…
I'm looking for real-world codebases that are messy enough to provide useful refactoring practice. I've already worked through a few coding katas, including the Golden Rose and Tennis…
Sometimes I write code that works correctly, but when I revisit it a few days later, I struggle to remember what I was trying to do. What practices…
Sometimes I write code that works correctly, but when I return to it a few days later, I struggle to remember what I was trying to accomplish. What…
About a year ago, my team started a project at a midsize company. Leadership initially asked for a quick prototype, so I built something basic to prove the…
About a year ago, my team started building a project at a midsize company. Leadership originally asked for a quick prototype, so I put together something basic. They…
I'm working through an introductory C programming course and can usually get my solutions working, but they often end up as one large main function. My current process…
I'm currently working on a multiplayer lobby server and I've found myself rewriting it three times now, and I'm hoping this will be the final iteration. The first…
I'm working on a big project and need some help refactoring my HTML classes. As a newer web developer, I realize my class names aren't exactly optimal. The…
I've been coding for about two years, and I keep hitting the same wall. Whenever I finish a project, everything seems to be working—tests pass, logic checks out—but…
Hey everyone! I've got this Python script that's about 2,000 to 3,000 lines long and mostly consists of functions and methods. Some of these functions are over 100…
Hey everyone! Quick question for you all — when you're using AI coding tools like Cursor or Claude, do you ever request them to generate comments or docstrings…
Refactoring can be daunting, especially in Python with its dynamic nature. I'm looking for ways to build confidence when making changes to core functions, particularly when it's not…
I've been diving into Python and I'm currently working on a project that I want to include on my CV. As I code, I often end up rewriting…
Hey everyone! I'm a junior developer looking to improve my coding skills, particularly when I encounter projects with messy code and poor standards. How can I implement better…
I'm working on getting better at programming because I've noticed I've been relying too much on AI to help me out. While I get the concepts and have…
Hey everyone! I've been grappling with the decision on whether to refactor some existing code or to just rewrite certain parts from scratch. Each option has its benefits…
I'm currently working on webhook handlers and I've been breaking down the logic into smaller, dedicated functions to enhance maintainability, readability, and ease of testing. Now, I'm left…