Tagged articles
8 articles
Page 1 of 1
Cognitive Technology Team
Cognitive Technology Team
Apr 15, 2025 · Fundamentals

Understanding Labeled Breaks in Java

This article explains Java's labeled break statement, showing its syntax, a practical example with code, discusses its potential as a code smell, outlines appropriate use cases, and offers guidance on when to prefer refactoring for clearer control flow.

Control FlowJavabest practices
0 likes · 6 min read
Understanding Labeled Breaks in Java
Code Ape Tech Column
Code Ape Tech Column
Nov 22, 2021 · Fundamentals

25 Common Code Smells and Their Refactoring Solutions

This article explains twenty‑five typical code smells—such as duplicated code, long methods, large classes, and excessive parameters—and provides concrete refactoring techniques like Extract Method, Extract Class, and Move Method to improve readability, maintainability, and design quality in object‑oriented software.

Object-Orientedclean codecode smell
0 likes · 19 min read
25 Common Code Smells and Their Refactoring Solutions
21CTO
21CTO
Oct 7, 2021 · Fundamentals

How to Write Code Nobody Can Maintain – A Satirical Guide

This tongue‑in‑cheek article lists a series of deliberately bad programming practices—from confusing variable names and deceptive comments to over‑engineered designs and zero testing—to show how to make code virtually impossible to maintain.

Anti‑PatternSoftware Engineeringcode smell
0 likes · 13 min read
How to Write Code Nobody Can Maintain – A Satirical Guide
21CTO
21CTO
Sep 3, 2021 · Fundamentals

How to Write Code Nobody Can Maintain – A Satirical Guide

This tongue‑in‑cheek article lists a series of deliberately terrible programming practices—from confusing naming conventions and deceptive documentation to over‑engineered designs and zero testing—showing how to make code virtually impossible to understand, maintain, or debug.

anti‑patternbad practicecode smell
0 likes · 13 min read
How to Write Code Nobody Can Maintain – A Satirical Guide
Wukong Talks Architecture
Wukong Talks Architecture
Jul 12, 2021 · Fundamentals

25 Common Code Smells and Refactoring Techniques

This article lists 25 typical code smells such as duplicated code, long methods, large classes, and provides concrete Java examples and refactoring strategies like Extract Method, Extract Class, Move Method, and design recommendations to improve readability, maintainability, and extensibility.

bad practiceclean codecode smell
0 likes · 23 min read
25 Common Code Smells and Refactoring Techniques
Continuous Delivery 2.0
Continuous Delivery 2.0
Jul 15, 2020 · Fundamentals

When Constructors Do Too Much Work: Symptoms, Risks, and Refactoring Techniques

The article explains why having constructors perform excessive work is a design flaw, describes how to spot this problem through code symptoms, discusses its impact on testability and maintainability, and provides concrete refactoring strategies such as dependency injection, factories, and builder patterns.

Constructorcode smelldependency-injection
0 likes · 13 min read
When Constructors Do Too Much Work: Symptoms, Risks, and Refactoring Techniques
macrozheng
macrozheng
Sep 26, 2019 · Backend Development

Boost Java Performance: 20 Essential Code Smell Fixes and Best Practices

This article compiles practical Java performance tips—from iterating Map.entrySet() and using Collection.isEmpty() to avoiding magic numbers, hiding utility class constructors, preferring StringBuilder, returning empty collections, and handling enums—helping developers write cleaner, faster, and more maintainable backend code.

Backend DevelopmentJavacode smell
0 likes · 16 min read
Boost Java Performance: 20 Essential Code Smell Fixes and Best Practices