Qunar Development Best Practices: Lessons from “Old He’s 1001 Nights”
The article shares a comprehensive set of development and operational best‑practice guidelines from Qunar’s internal wiki, covering URL testing, HTML validation, API documentation, security checks, logging, encoding, teamwork, and transparent change management for engineers.
These guidelines, originally posted on Qunar’s internal wiki “Old He’s 1001 Nights”, outline practical development and operational best practices for engineers.
When testing, verify URLs both with and without a trailing slash.
When writing HTML, question any unexpected tags or whitespace with the front‑end team.
When modifying your own programs or APIs, consider other users and check whether anyone is already using them.
When implementing features, review others’ code as well, and notify teammates in chat or group when you change their code.
Validate all external input parameters for any data interface.
For uploaded images, apply appropriate format conversion and cropping.
Treat every input with security‑aware handling.
When writing code, refactor old code to prevent accumulation of technical debt.
Write meaningful logs to simplify later troubleshooting and consider operational impact while coding.
When outputting data, convert UTF‑8 to GBK for Windows‑based colleagues if needed.
Proactively cover for absent teammates by handling their tasks.
When changes affect others (new API, architecture, version upgrade), aim for transparency; avoid frequent, disruptive modifications.
Author: He Weiping, senior search technology researcher at Qunar’s Vacation Business Unit, former Yahoo China search engineer, and translator of the first Chinese PostgreSQL manual and Programming Perl third edition.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Qunar Tech Salon
Qunar Tech Salon is a learning and exchange platform for Qunar engineers and industry peers. We share cutting-edge technology trends and topics, providing a free platform for mid-to-senior technical professionals to exchange and learn.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
