Tagged articles
1247 articles
Page 13 of 13
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.

Debuggingbest practicescode 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.

Career DevelopmentCode reviewbest practices
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.

Database designSQLbest practices
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.

Career DevelopmentSoftware Engineeringbest practices
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.

CDesign PatternsSoftware Engineering
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.

ConfigurationWeb serverbest practices
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.

C++Software Engineeringbest practices
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.

Software Engineeringbest practicesclean code
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.

ML pipelineTechnical Debtbest practices
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.

DesignSoftware Engineeringbest practices
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.

Debuggingbest practicescontinuous learning
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.

Software Engineeringbest practicescoding standards
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.

Code reviewSoftware Testingbest practices
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.

DebuggingLog ManagementOperations
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.

Career DevelopmentSoftware Engineeringbest practices
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.

CSSHTMLJavaScript
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.

Securitybest practicescareer advice
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.

Code RefactoringProject ManagementSoftware Engineering
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.

Career DevelopmentSoftware Engineeringbest practices
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.

CTOCode reviewTool Selection
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.

BackendSecuritybest practices
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.

In-Memory Databasebest practicesperformance
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.

Software Engineeringbest practicescode readability
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.

ManagementTechnical Debtarchitecture
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.

Operationsbest practicesfault management
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.

SecuritySoftware Architecturebest practices
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.

AutoboxingJavaNULL
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.

AutomationIT ManagementOperations
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.

Interface DesignObject-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.

Software Engineeringbest practicescareer advice
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.

StackOverflowbest practicescode 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.

BackendPHPbest practices
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.

Code RefactoringLegacy CodeSoftware Engineering
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.

Code reviewbest practicesbug reduction
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.

UI designUser experiencebest practices
0 likes · 26 min read
30 Must‑Know UI Design Rules to Capture Users’ Attention