Tagged articles
9 articles
Page 1 of 1
php Courses
php Courses
Mar 5, 2025 · Fundamentals

What Is Early Return and Why Use It?

Early return is a programming technique that lets functions exit as soon as an invalid condition is found, reducing nested if‑statements, improving readability, maintainability, and performance, as illustrated by comparing a nested‑condition order‑processing function with an early‑return version.

Early Returncode readabilityfunction design
0 likes · 4 min read
What Is Early Return and Why Use It?
Tencent Cloud Developer
Tencent Cloud Developer
Jul 17, 2023 · Fundamentals

9 Common Code Quality Issues and Solutions

The article outlines nine frequent code‑quality problems—such as inconsistent naming, overly long functions, missing or outdated comments, poor error handling, lack of reuse or modularity, hard‑coded values, insufficient testing, misguided performance tweaks, security oversights, and weak version‑control practices—and offers practical solutions to address each.

coding standardsdeveloper productivityprogramming best practices
0 likes · 15 min read
9 Common Code Quality Issues and Solutions
21CTO
21CTO
May 12, 2020 · Fundamentals

Avoid These Common Programming Mistakes to Boost Code Quality

This article outlines frequent programming errors—such as trusting user input, skipping tests, neglecting documentation and logs, hard‑coding values, ignoring rest, and failing to keep learning—and offers practical advice to prevent them and improve software reliability.

Documentationcode qualityprogramming best practices
0 likes · 5 min read
Avoid These Common Programming Mistakes to Boost Code Quality
Liangxu Linux
Liangxu Linux
Nov 28, 2019 · Fundamentals

Boost Your Code Readability with Codelf – A Free Variable Naming Assistant

This article introduces Codelf, a free online tool and IDE plugin that helps developers generate clear, consistent variable and function names across many programming languages, explains how to use its web search, plugin installation, and extra GitHub‑project management features, and shares practical screenshots and links.

Codelfcoding toolsdeveloper productivity
0 likes · 5 min read
Boost Your Code Readability with Codelf – A Free Variable Naming Assistant
Tencent Cloud Developer
Tencent Cloud Developer
Sep 12, 2018 · Fundamentals

10 Tips on How to Be a Great Programmer

To become a great programmer, ask clear, well‑prepared questions, learn to solve problems independently, never compromise on quality, write deterministic code, embrace unexpected failures, avoid idolizing tools, practice daily, specialize while staying curious about other domains, and relentlessly strive for simple, maintainable solutions.

code qualitydeterministic programmingprofessional growth
0 likes · 16 min read
10 Tips on How to Be a Great Programmer
Architecture Digest
Architecture Digest
Jul 26, 2017 · Fundamentals

11 Tips for Writing Clear and Readable Code

This article presents eleven practical tips for writing clear, readable code, covering short methods, single-purpose variables, descriptive naming, proximity of declarations, avoiding magic numbers, respecting language idioms, following conventions, steering clear of premature optimization, refactoring after testing, and using patterns wisely.

Software Engineeringclean codecode readability
0 likes · 9 min read
11 Tips for Writing Clear and Readable Code
21CTO
21CTO
Mar 7, 2016 · Fundamentals

Are You a Bad Programmer? Spot the Traits That Hold Your Code Back

This article examines the two main types of poor developers—‘cowboy’ programmers who rush code without maintainability and mediocre coders lacking competence—explores their harmful habits such as spaghetti code, endless bugs, and arrogance, and outlines how good developers differ through humility, responsibility, and continuous learning.

Software Engineeringbad programmingcode quality
0 likes · 14 min read
Are You a Bad Programmer? Spot the Traits That Hold Your Code Back
Baidu Tech Salon
Baidu Tech Salon
Aug 5, 2014 · Backend Development

A Tale of Bug Fixing: Thinking Beyond the Immediate Solution

After a rushed fix for a division‑by‑zero bug caused incorrect results, the team learns to validate data at its source, adopt proper validation frameworks, and step back to understand underlying requirements, emphasizing that thoughtful design outweighs quick code patches.

Backend DevelopmentPHPbug fixing
0 likes · 6 min read
A Tale of Bug Fixing: Thinking Beyond the Immediate Solution