Are if-else statements really considered sloppy code?
I'm studying programming and heard that using if-else statements in Python is sloppy. What should I use when a program needs to do different things based on its…
I'm studying programming and heard that using if-else statements in Python is sloppy. What should I use when a program needs to do different things based on its…
I use Node.js and React, and I can usually tell whether my code works, but not whether it's well designed. How do I learn to judge readability, responsibilities,…
Our team is using AI coding and review tools, but the amount of code coming through is making careful human review harder. I'm also worried about losing the…
I have a strong product idea and I'm trying to decide how to build it. Is it more important to write the software myself from the ground up,…
How would you define "vibe coding"? To me, it seems to involve two things: building something in a way you couldn't have managed with older tools, and accepting…
AI can now build surprisingly capable prototypes and smaller applications from natural-language instructions. However, experienced developers often say that large, heavily used products still require human engineers. Most…
I'm new to programming, and my boss recently called try-catch statements "garbage" and told me to avoid them completely. That confused me because I thought exceptions were a…
I'm new to programming, and my boss told me that try-catch statements are "garbage" and that I should avoid them entirely. That confused me because I thought exceptions…
Before modern AI coding tools, what was a realistic amount of time for a developer to write around 1,000 lines of code? I know the answer depends on…
I'm a student learning to program, and I feel caught in a loop with AI coding tools such as ChatGPT and Claude. When they generate code, I often…
I'm a student learning programming and have started using tools like ChatGPT and Claude to write code. I usually follow their output closely, so it has become my…
I've mostly learned programming by building projects, making mistakes, and trying to improve the next one. That has helped, but I'm wondering what else I should be doing…
AI tools have advanced to the point where they can generate entire applications in minutes, which creates a difficult dilemma for a mid-level programmer. I want to keep…
I have been programming for about 12 years, mostly self-taught, and I am struggling to find a healthy way to use modern AI coding tools. They can generate…
I've heard people describe difficult code by saying that reading it made their eyes bleed. I understand that code can be buggy, but what makes code feel bad…
I've been away from the corporate software world for a while and can't really justify an expensive AI subscription. I've experimented with AGY CLI and Codex: AGY handles…
Is there a rigorous way to determine whether code produced primarily by AI is worse than code written by an experienced developer? For example, could we compare two…
Is there a rigorous way to compare a codebase produced primarily by AI with one written by a senior developer? I'm wondering whether static analysis, test coverage, maintainability…
James said that object-oriented programming and design patterns can improve a codebase by reducing duplication, making onboarding easier, and improving testability. He also suggested that people who consider…
I'm still fairly new to programming, and I have days where I make lots of simple mistakes: typos, missing semicolons, mistyped method names, and similar errors. Even when…