Tagged articles
1255 articles
Page 13 of 13
21CTO
21CTO
Dec 14, 2015 · Fundamentals

How to Write Bulletproof Code: Mastering If Statements, Error Handling, and Null Safety

This article explores practical programming philosophies for writing robust, maintainable code by using exhaustive two‑branch if statements, proper error handling, disciplined null‑pointer management, and avoiding over‑engineering, offering concrete examples and guidelines for Java and other languages.

Best PracticesError HandlingNull Safety
0 likes · 21 min read
How to Write Bulletproof Code: Mastering If Statements, Error Handling, and Null Safety
Architect
Architect
Dec 7, 2015 · Frontend Development

How to Structure a React Project

This article discusses practical approaches to organizing a React project, comparing single‑file setups with modular multi‑file structures, component directories, testing strategies, data handling, and view integration, emphasizing pragmatic, maintainable architecture over rigid conventions.

Best PracticesComponent OrganizationFrontend Architecture
0 likes · 6 min read
How to Structure a React Project
Qunar Tech Salon
Qunar Tech Salon
Dec 6, 2015 · Fundamentals

10 Bad Coding Practices That Harm Software Development Projects

These ten detrimental coding habits—ranging from misspelled identifiers and poor formatting to hard‑coded passwords and premature optimization—illustrate how bad practices can reduce efficiency, increase bugs, and jeopardize security, emphasizing the need for disciplined, modular, and well‑structured development.

Best Practicescode qualitycoding practices
0 likes · 5 min read
10 Bad Coding Practices That Harm Software Development Projects
Qunar Tech Salon
Qunar Tech Salon
Dec 2, 2015 · Fundamentals

Essential Skills Every Web Developer Should Master

This article compiles a comprehensive list of must‑have web development skills—including UI/UX best practices, security measures, performance optimization, SEO techniques, core technical knowledge, and bug‑fixing strategies—to help developers build robust, user‑friendly websites.

Best PracticesFrontendPerformance
0 likes · 13 min read
Essential Skills Every Web Developer Should Master
21CTO
21CTO
Nov 22, 2015 · Backend Development

Boost Your PHP Projects with 30 Essential Best Practices

Learn a comprehensive set of 30 practical PHP best‑practice tips covering file inclusion, path handling, debugging, output buffering, security, performance, database interactions, session management, and code organization to improve maintainability, efficiency, and reliability of your backend applications.

Backend DevelopmentBest PracticesPHP
0 likes · 26 min read
Boost Your PHP Projects with 30 Essential Best Practices
21CTO
21CTO
Nov 14, 2015 · Fundamentals

How to Write Self‑Describing Code: Naming Best Practices for Clean Code

This article explains why clear, self‑describing naming and adherence to coding conventions are essential for readable, maintainable software, illustrating common pitfalls with bad examples and showing improved alternatives that convey intent without relying on comments.

Best Practicesclean codecode readability
0 likes · 8 min read
How to Write Self‑Describing Code: Naming Best Practices for Clean Code
21CTO
21CTO
Nov 13, 2015 · Fundamentals

How to Write Self‑Describing Code: Naming Best Practices for Clean Code

This article explains why clear, self‑describing naming is essential for professional programmers, illustrates common pitfalls with bad examples, and provides concrete guidelines on intent‑revealing, unambiguous, appropriately‑sized, convention‑compliant, domain‑aware names to improve code readability and collaboration.

Best Practicesclean codecode naming
0 likes · 9 min read
How to Write Self‑Describing Code: Naming Best Practices for Clean Code
ITPUB
ITPUB
Nov 13, 2015 · Backend Development

Eliminate Code Segregation: Writing Cleaner, More Elegant PHP

This article shows how to transform fragmented PHP snippets—such as disjointed loops, scattered timing code, and split error‑code definitions—into cohesive, readable structures using for‑loops, functional helpers, shutdown callbacks, and modern constant arrays, improving both aesthetics and maintainability.

Best PracticesError HandlingPHP
0 likes · 5 min read
Eliminate Code Segregation: Writing Cleaner, More Elegant PHP
ITPUB
ITPUB
Nov 3, 2015 · Fundamentals

How to Stop Blaming Compilers and Write Better Code: 6 Proven Practices

This article outlines six practical habits for developers—self‑checking code before blaming tools, continuous learning, embracing refactoring, acting professionally, using static analysis, and genuinely caring about code quality—to improve productivity and reduce bugs in any software project.

Best PracticesDebuggingcode quality
0 likes · 12 min read
How to Stop Blaming Compilers and Write Better Code: 6 Proven Practices
Qunar Tech Salon
Qunar Tech Salon
Nov 2, 2015 · Fundamentals

How to Become a 100‑Point Programmer: Saying Yes, Saying No, Building a Knowledge System, and Practicing Good Habits

The article offers practical guidance for programmers on when to say Yes or No, how to construct a personal knowledge system, develop a big‑picture view, follow coding standards, conduct code reviews, learn business knowledge, and maintain disciplined habits for continuous growth.

Best PracticesCode Reviewcareer development
0 likes · 6 min read
How to Become a 100‑Point Programmer: Saying Yes, Saying No, Building a Knowledge System, and Practicing Good Habits
21CTO
21CTO
Oct 28, 2015 · Databases

Block SELECT * Queries with a One‑Line Computed Column Hack

This article explains why using SELECT * is problematic and demonstrates a simple technique—adding a computed column that triggers a divide‑by‑zero error—to block SELECT * queries while still allowing column‑specific selections.

Best PracticesDatabase DesignPerformance
0 likes · 3 min read
Block SELECT * Queries with a One‑Line Computed Column Hack
Qunar Tech Salon
Qunar Tech Salon
Oct 27, 2015 · Fundamentals

How to Define a Programmer and Advance Your Career

The article explores the definition of a programmer, outlines essential skills and daily responsibilities, discusses common career pitfalls, and provides practical advice on personal branding and professional growth for software developers.

Best Practicescareer developmentpersonal branding
0 likes · 11 min read
How to Define a Programmer and Advance Your Career
21CTO
21CTO
Oct 26, 2015 · Fundamentals

What Terrible Code Practices Are Killing Your .NET Project?

A graduate student recounts the shocking code quality issues he found in his team's data‑mining project, highlighting bad naming, massive classes, duplicated logic, overuse of singletons, excessive comments, and other anti‑patterns that jeopardize maintainability and graduation.

Best PracticesCDesign Patterns
0 likes · 9 min read
What Terrible Code Practices Are Killing Your .NET Project?
21CTO
21CTO
Oct 20, 2015 · Backend Development

Avoid Common Nginx+PHP Pitfalls with a Clean Configuration

Copy‑pasting outdated Nginx‑PHP tutorials often introduces hidden bugs, so this article explains typical configuration mistakes, the inheritance model, misuse of directives like index, if, and fastcgi_params, and provides a streamlined, secure configuration example.

Best PracticesWeb serverconfiguration
0 likes · 6 min read
Avoid Common Nginx+PHP Pitfalls with a Clean Configuration
21CTO
21CTO
Oct 19, 2015 · Fundamentals

Mastering C++ Naming Conventions: 8 Principles for Clear, Readable Code

This guide explains why good naming is essential for maintainable C++ code, presents eight concrete principles—such as being true to the name, avoiding misleading terms, using searchable identifiers, and leveraging meaningful context—and shows bad versus good examples for variables, functions, classes, and constants.

Best PracticesC++code readability
0 likes · 8 min read
Mastering C++ Naming Conventions: 8 Principles for Clear, Readable Code
21CTO
21CTO
Oct 19, 2015 · Fundamentals

18 Essential Programming Principles Every Developer Should Follow

This article presents eighteen core programming principles—from DRY and KISS to the Open/Closed and Law of Demeter—that help developers write cleaner, more maintainable code, reduce bugs, and adapt to change effectively.

Best Practicesclean codeprogramming principles
0 likes · 8 min read
18 Essential Programming Principles Every Developer Should Follow
21CTO
21CTO
Oct 19, 2015 · Fundamentals

5 Common Programming Mistakes Every Developer Should Stop Making

This article outlines the most frequent programming errors beginners make—such as mindlessly copying code, reinventing the wheel, over‑relying on Google, ignoring warnings, and opting for quick fixes—explaining why they harm code quality and how to avoid them.

Best Practicescoding habitscommon mistakes
0 likes · 10 min read
5 Common Programming Mistakes Every Developer Should Stop Making
Art of Distributed System Architecture Design
Art of Distributed System Architecture Design
Oct 16, 2015 · Artificial Intelligence

Building Machine Learning Systems in Small Teams: Practices, Pitfalls, and Lessons from Dangdang

This talk shares the experience of a small machine‑learning team at Dangdang, describing how they built a recommendation system from scratch, the tools and processes they used, the challenges of limited personnel, and the many pitfalls they encountered while iterating toward a production‑ready solution.

Best PracticesML pipelineTechnical debt
0 likes · 21 min read
Building Machine Learning Systems in Small Teams: Practices, Pitfalls, and Lessons from Dangdang
Java High-Performance Architecture
Java High-Performance Architecture
Oct 10, 2015 · Fundamentals

Master the Software Iron Triangle: How Thoughtful Design Boosts Speed, Cost, and Quality

The article emphasizes that programmers achieve the software engineering iron triangle of cost, speed, and correctness by thoroughly understanding problems, crafting clear designs, listing test conditions, considering impacts on other components, and anticipating future issues, urging a slower, long‑term perspective before diving into code.

Best Practicesdesigniron triangle
0 likes · 2 min read
Master the Software Iron Triangle: How Thoughtful Design Boosts Speed, Cost, and Quality
21CTO
21CTO
Oct 10, 2015 · Fundamentals

20 Essential Software Development Lessons Every Programmer Should Follow

This article shares twenty practical software development lessons—from starting with a minimal version and iterating, to effective debugging, teamwork, and continuous learning—offering actionable guidance that seasoned programmers have distilled over more than a decade of experience.

Best PracticesDebuggingTeam Collaboration
0 likes · 10 min read
20 Essential Software Development Lessons Every Programmer Should Follow
21CTO
21CTO
Oct 8, 2015 · Fundamentals

How to Tackle Massive Codebases: Proven Strategies for Beginners

This article offers practical, step‑by‑step advice for newcomers on how to efficiently explore, understand, and navigate large codebases by focusing on file structure, incremental reading, note‑taking, and targeted deep dives while avoiding common pitfalls.

Best Practicescodebase navigationdeveloper onboarding
0 likes · 4 min read
How to Tackle Massive Codebases: Proven Strategies for Beginners
21CTO
21CTO
Oct 4, 2015 · Fundamentals

Why I Gave Up on Coding Standards: Embracing Developer Freedom

The article argues that strict coding standards often hinder creativity and teamwork, explaining why the author abandoned them in favor of trusting developers' judgment and focusing on results rather than imposed rules.

Best Practicescoding standardsdeveloper autonomy
0 likes · 6 min read
Why I Gave Up on Coding Standards: Embracing Developer Freedom
21CTO
21CTO
Oct 3, 2015 · Fundamentals

What Exactly Should You Look for When Reviewing Code?

This article provides a comprehensive checklist for code reviewers, covering formatting, design, readability, functionality, security, testing, performance, and resource usage, while explaining why many of these aspects can be automated and how to balance manual inspection with tooling.

Best PracticesCode ReviewPerformance
0 likes · 23 min read
What Exactly Should You Look for When Reviewing Code?
21CTO
21CTO
Sep 28, 2015 · Operations

Mastering Log Management: 16 Rules to Boost System Reliability

This article presents a comprehensive set of logging best‑practice rules—from defining log levels and classifications to using RequestIDs, monitoring alerts, and managing log size—aimed at improving system reliability, troubleshooting speed, and operational efficiency.

Best PracticesDebuggingLog Management
0 likes · 23 min read
Mastering Log Management: 16 Rules to Boost System Reliability
21CTO
21CTO
Sep 23, 2015 · Fundamentals

What Do the Top 1% Software Engineers Do Differently? Four Key Habits

To accelerate your career as a newly minted software engineer, adopt the four critical habits of the top 1%: investing in learning and tooling, taking decisive action, acting immediately, and maintaining full‑stack understanding, which together enable rapid, high‑impact contributions.

Best Practicescareer developmentproductivity
0 likes · 4 min read
What Do the Top 1% Software Engineers Do Differently? Four Key Habits
21CTO
21CTO
Sep 20, 2015 · Frontend Development

10 Common Web Development Mistakes and How to Fix Them

This article outlines ten frequent web developer pitfalls—from outdated HTML and browser‑specific code to slow performance and excessive page reloads—explaining their impacts and offering practical solutions such as modern semantic markup, cross‑browser testing, image optimization, responsive design, and automated tooling.

Best PracticesFrontendHTML
0 likes · 15 min read
10 Common Web Development Mistakes and How to Fix Them
21CTO
21CTO
Aug 29, 2015 · Fundamentals

30 Years of Programming: 16 Hard‑Earned Lessons Every Developer Should Know

Drawing on three decades of software development, this article shares sixteen practical lessons about client interaction, security, code simplicity, continuous learning, and evaluation that can help programmers and teams make better decisions and avoid common pitfalls.

Best Practicescareer adviceprogramming
0 likes · 10 min read
30 Years of Programming: 16 Hard‑Earned Lessons Every Developer Should Know
Qunar Tech Salon
Qunar Tech Salon
Aug 25, 2015 · Fundamentals

How to Ask Technical Questions Effectively in Hacker Communities

This article explains how to formulate technical questions so that experienced hackers and community members are more likely to provide helpful answers, emphasizing prior research, clear presentation, humility, and demonstrating effort to avoid being perceived as a 'loser' who merely demands solutions.

Best Practicescommunicationcommunity etiquette
0 likes · 9 min read
How to Ask Technical Questions Effectively in Hacker Communities
21CTO
21CTO
Aug 24, 2015 · Fundamentals

5 Toxic Code Comment Types Every Developer Should Eliminate

This article explains five common types of programming comments that hinder readability—such as self‑promoting tags, outdated code blocks, redundant explanations, irrelevant stories, and lingering TODOs—and offers practical advice on how to avoid them.

Best Practicescode commentscode readability
0 likes · 7 min read
5 Toxic Code Comment Types Every Developer Should Eliminate
21CTO
21CTO
Aug 23, 2015 · Fundamentals

Why Engineers Should Be Project Partners, Not Just Code Monkeys

The article reflects on an engineer's experience updating a signature system, highlighting the pitfalls of quick patches, the importance of requirement analysis, resource testing, realistic time estimation, and proactive communication, and advocates for a refactor to improve maintainability and role perception.

Best PracticesCode RefactoringProject Management
0 likes · 8 min read
Why Engineers Should Be Project Partners, Not Just Code Monkeys
21CTO
21CTO
Aug 18, 2015 · Fundamentals

How Can a Programmer Move from Good to Great? Proven Strategies

This article explores the stages of programming expertise, defines what makes an expert in software engineering, and offers practical daily habits and mindset shifts that can help developers transform from competent coders into truly great professionals.

Best Practicescareer developmentexpertise
0 likes · 4 min read
How Can a Programmer Move from Good to Great? Proven Strategies
21CTO
21CTO
Aug 18, 2015 · R&D Management

Why CTOs Struggle with New Tech and How to Overcome Common Development Pitfalls

A seasoned CTO shares six recurring problems—from unfamiliar tools and over‑planning to poor stack choices and ignored patterns—offering practical advice on fostering learning, focusing on MVPs, encouraging code reuse, and promoting continuous development within engineering teams.

Best PracticesCTOCode Review
0 likes · 10 min read
Why CTOs Struggle with New Tech and How to Overcome Common Development Pitfalls
21CTO
21CTO
Aug 8, 2015 · Backend Development

9 Essential PHP Practices Every Developer Should Master

This article shares nine practical PHP tips—from security fundamentals like input filtering and output escaping, to efficient coding tricks such as using ternary operators, caching, and modern frameworks—aimed at helping developers write safer, cleaner, and faster backend code.

Best PracticesPerformancebackend
0 likes · 7 min read
9 Essential PHP Practices Every Developer Should Master
Qunar Tech Salon
Qunar Tech Salon
Aug 4, 2015 · Operations

Support Practices and Communication Principles Shared by Qunar Team

The article shares practical support and communication principles, data handling guidelines, and internal best‑practice examples from Qunar to help newcomers avoid common pitfalls and improve operational efficiency by emphasizing sincere assistance, careful treatment of sensitive information, post‑mortem reviews, and appropriate use of tools such as mailing lists, QTALK, and encoding conversion.

Best Practicescommunicationdata handling
0 likes · 5 min read
Support Practices and Communication Principles Shared by Qunar Team
MaGe Linux Operations
MaGe Linux Operations
Jul 15, 2015 · Databases

10 Essential Redis Best Practices Every Developer Should Follow

This article presents ten practical Redis tips—from avoiding the costly KEYS * command and using SCAN, to leveraging hashes, setting expirations, choosing proper eviction policies, handling errors, scaling with clusters, and ensuring high availability with Sentinel—helping developers optimize performance and reliability.

Best PracticesIn-Memory DatabasePerformance
0 likes · 8 min read
10 Essential Redis Best Practices Every Developer Should Follow
ITPUB
ITPUB
Jun 14, 2015 · Fundamentals

Six Practical Naming Principles Every Programmer Should Follow

A humorous story about a graduate student’s unreadable code illustrates why naming is the toughest programming challenge, and the article then outlines six clear principles—avoiding metaphors, keeping names short, shortening expressions, using active voice, steering clear of jargon, and breaking rules when necessary—to improve code readability and maintainability.

Best Practicescode readabilitynaming conventions
0 likes · 4 min read
Six Practical Naming Principles Every Programmer Should Follow
Art of Distributed System Architecture Design
Art of Distributed System Architecture Design
May 12, 2015 · Industry Insights

How to Avoid the Hype: Practical Rules for Successful Architecture Refactoring

This article offers goal‑oriented, data‑driven advice and checklists for architecture refactoring, emphasizing realistic technology selection, pressure management, business understanding, handling non‑technical influences, code‑quality practices, and team readiness to ensure effective, sustainable redesigns.

Best PracticesManagementRefactoring
0 likes · 7 min read
How to Avoid the Hype: Practical Rules for Successful Architecture Refactoring
MaGe Linux Operations
MaGe Linux Operations
Apr 24, 2015 · Operations

10 Proven Fault Management Practices Every Ops Team Should Master

This guide shares ten practical fault‑management techniques—ranging from proactive attitude and prioritizing incidents to continuous follow‑up and team collaboration—to help operations teams reduce damage, maintain service reliability, and keep users engaged during outages.

Best PracticesIncident ResponseOperations
0 likes · 8 min read
10 Proven Fault Management Practices Every Ops Team Should Master
Qunar Tech Salon
Qunar Tech Salon
Mar 25, 2015 · Operations

13 Common Production Pitfalls Developers and Architects Should Avoid

The article outlines thirteen critical production‑related mistakes—from not externalizing configuration and using inadequate test data to neglecting security, documentation, disaster‑recovery planning, and proper capacity planning—providing actionable guidance for developers and architects to improve system stability and performance.

Best PracticesSoftware Architectureproduction
0 likes · 8 min read
13 Common Production Pitfalls Developers and Architects Should Avoid
Qunar Tech Salon
Qunar Tech Salon
Mar 21, 2015 · Fundamentals

Understanding Null in Java: Causes, Behaviors, and Best Practices

This article explains the role of the null keyword in Java, its default value for reference types, common pitfalls such as NullPointerException caused by autoboxing, improper primitive assignments, instanceof checks, static method calls on null references, and safe handling techniques to write null‑safe code.

Best PracticesInstanceofJava
0 likes · 12 min read
Understanding Null in Java: Causes, Behaviors, and Best Practices
MaGe Linux Operations
MaGe Linux Operations
Jan 29, 2015 · Operations

Mastering Efficient Operations: 7 Key Practices for Happy Sysadmins

This article introduces a ten‑year journey of a sysadmin turned operations director, outlining why efficient operations are hard, what efficient ops mean, and seven practical strategies—including clear responsibilities, professional processes, and a good service interface—to boost productivity and satisfaction across IT teams.

Best PracticesEfficiencyIT Management
0 likes · 14 min read
Mastering Efficient Operations: 7 Key Practices for Happy Sysadmins
Qunar Tech Salon
Qunar Tech Salon
Nov 19, 2014 · Fundamentals

Characteristics of Good Interfaces and Core Design Principles

The article outlines the essential traits of high‑quality interfaces, describes a step‑by‑step process for designing and implementing them, and presents fundamental principles for interface, class, and method design to ensure usability, maintainability, and robustness in software development.

Best PracticesObject-OrientedSoftware Architecture
0 likes · 4 min read
Characteristics of Good Interfaces and Core Design Principles
Baidu Tech Salon
Baidu Tech Salon
Nov 13, 2014 · Fundamentals

17 Principles for Software Developers: Career Lessons and Best Practices

The article distills 17 career‑tested principles for developers, urging them to prototype for real customer needs, treat security as inevitable and strategic, prioritize simple, well‑logged code, continuously learn, adapt to change, evaluate context‑specific solutions, deliver results that satisfy clients, and choose projects wisely.

Best Practicescareer adviceprofessional growth
0 likes · 8 min read
17 Principles for Software Developers: Career Lessons and Best Practices
Baidu Tech Salon
Baidu Tech Salon
Nov 12, 2014 · Fundamentals

Top 10 Funniest Code Comments from StackOverflow

The article showcases the top ten most memorable and humorous code comments harvested from a StackOverflow discussion, ranging from sarcastic warnings and epic motivational messages to absurd exception handling and playful macros, illustrating how developers inject personality into code while inviting readers to share even funnier examples.

Best PracticesStackOverflowcode comments
0 likes · 3 min read
Top 10 Funniest Code Comments from StackOverflow
Baidu Tech Salon
Baidu Tech Salon
Sep 16, 2014 · Backend Development

50 Proven PHP Performance Tweaks to Speed Up Your Code

This article compiles 50 practical PHP performance tips—from using single quotes and static methods to leveraging opcode caching and memcached—detailing how each adjustment can noticeably improve execution speed, memory usage, and overall efficiency of web applications.

Best PracticesCachingOptimization
0 likes · 11 min read
50 Proven PHP Performance Tweaks to Speed Up Your Code
Baidu Tech Salon
Baidu Tech Salon
Jul 23, 2014 · Fundamentals

Guidelines for Refactoring and Cleaning Up Legacy Code

When inheriting tangled legacy code, first decide if you’re responsible and willing to invest, then establish comprehensive tests, use version control, make incremental changes, separate cleaning from bug fixing, remove dead code and comments, avoid mutable shared state, and eliminate unnecessary complexity to improve maintainability.

Best PracticesCode RefactoringLegacy Code
0 likes · 14 min read
Guidelines for Refactoring and Cleaning Up Legacy Code
Baidu Tech Salon
Baidu Tech Salon
May 29, 2014 · Industry Insights

Why Most Code Reviews Fail and How to Make Them Truly Effective

The article critiques common careless attitudes toward code reviews, exposing how pointless debates, condescending comments, exhaustive checklists, and rigid pass‑fail policies hinder collaboration, and offers practical, fact‑based strategies—including constructive questioning and pair verification—to transform reviews into productive, bug‑reducing discussions.

Best PracticesCode ReviewTeam Collaboration
0 likes · 6 min read
Why Most Code Reviews Fail and How to Make Them Truly Effective
Suning Design
Suning Design
Apr 16, 2014 · Frontend Development

30 Must‑Know UI Design Rules to Capture Users’ Attention

This article presents a comprehensive list of practical UI design principles—ranging from single‑column layouts and clear call‑to‑actions to consistent visual hierarchy and performance optimization—aimed at improving user engagement, reducing friction, and creating intuitive, persuasive interfaces.

Best PracticesFrontendUI design
0 likes · 26 min read
30 Must‑Know UI Design Rules to Capture Users’ Attention