Tagged articles
18 articles
Page 1 of 1
DeWu Technology
DeWu Technology
Jan 5, 2026 · Frontend Development

How a Frontend Monorepo Boosted Code Quality and Release Stability at Scale

This article details the governance framework, key metrics, and concrete engineering practices used to improve Git metadata performance, code quality scoring, lint enforcement, workflow checkpoints, and code duplication reduction for a large‑scale frontend monorepo, resulting in measurable stability gains.

Monorepocode qualityfrontend
0 likes · 15 min read
How a Frontend Monorepo Boosted Code Quality and Release Stability at Scale
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 16, 2025 · Frontend Development

Frontend Development Best Practices and Common Pitfalls

This article presents a comprehensive guide to frontend development best practices, covering commit message standards, dependency management, import ordering, naming conventions, lint configuration, CSS property ordering, inline styles, code duplication, magic numbers, pure functions, and component structuring, with concrete examples and recommendations for improving code quality and maintainability.

best practicescoding standardsfrontend
0 likes · 15 min read
Frontend Development Best Practices and Common Pitfalls
Baidu Geek Talk
Baidu Geek Talk
Dec 19, 2022 · Mobile Development

Dex Annotation Optimization for Baidu APP Android Package

In the second part of Baidu’s APK‑size‑optimization series, the team uses the Titan‑Dex framework to strip unnecessary build‑type and system Dex annotations—such as generic signatures and class‑relationship metadata—while automatically generating a whitelist via custom Lint detectors, ultimately shrinking the final Dex by about 1.2 MB.

AndroidAnnotation OptimizationDEX
0 likes · 14 min read
Dex Annotation Optimization for Baidu APP Android Package
Baidu App Technology
Baidu App Technology
Dec 12, 2022 · Mobile Development

How Baidu Shrunk Android App Size by Optimizing Dex Annotations

This article details Baidu's systematic approach to reducing Android APK size by analyzing Dex annotation types, defining removal targets, implementing a Titan‑Dex based optimizer, and automating detection and whitelist management with custom Lint rules, ultimately saving about 1.2 MB of Dex bytecode.

AndroidAnnotation OptimizationDEX
0 likes · 14 min read
How Baidu Shrunk Android App Size by Optimizing Dex Annotations
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Aug 16, 2021 · Fundamentals

Java and Kotlin Exception Handling Best Practices

To improve Java‑Kotlin interoperability, the article recommends treating Kotlin exceptions as unchecked while enforcing Java‑style checked‑exception discipline through lint checks, using specific custom exceptions, avoiding broad catches or throws of Throwable, logging via a Monitor, and never returning from finally blocks to reduce crashes.

Checked ExceptionException HandlingJava
0 likes · 9 min read
Java and Kotlin Exception Handling Best Practices
KooFE Frontend Team
KooFE Frontend Team
Feb 24, 2021 · Frontend Development

Should You Use Semicolons in JavaScript? Pros, Cons, and Best Practices

This article examines the long‑standing debate over mandatory semicolons in JavaScript, explains Automatic Semicolon Insertion, shows code examples where omitting them causes errors, compares major style guides, and shares expert opinions to help developers choose a consistent approach.

JavaScriptbest practicescode style
0 likes · 6 min read
Should You Use Semicolons in JavaScript? Pros, Cons, and Best Practices
360 Quality & Efficiency
360 Quality & Efficiency
Nov 13, 2020 · Mobile Development

Understanding Android Lint: Features, Rules, Jenkins Integration, and Common Pitfalls

This article introduces Android Lint as a static analysis tool, explains its rule categories—Correctness, Performance, Internationalization, and Security—shows how to customize lint.xml, demonstrates integration with Jenkins for automated checks, and shares result analysis and typical integration pitfalls.

AndroidJenkinsMobile Development
0 likes · 5 min read
Understanding Android Lint: Features, Rules, Jenkins Integration, and Common Pitfalls
Meituan Technology Team
Meituan Technology Team
Nov 7, 2019 · Mobile Development

Optimizing Static Code Scanning for Android Projects: Full and Incremental Scan Strategies

The article outlines how integrating CheckStyle, Lint, and FindBugs with a custom Gradle plugin, applying full‑scan optimizations to collect only necessary source and class files and implementing incremental scans that target only files changed in a PR, cuts Android CI static‑analysis time by over 50 %, dropping full scans from nine to five minutes and enabling sub‑minute incremental checks.

AndroidCIGradle
0 likes · 30 min read
Optimizing Static Code Scanning for Android Projects: Full and Incremental Scan Strategies
21CTO
21CTO
Oct 2, 2019 · Fundamentals

Master Google’s Python Style Guide: Lint, Imports, and Best Practices

This article presents Google’s official Python style guide, explaining why coding standards matter for Python, how to use pylint for linting, recommended import conventions, handling packages, exceptions, globals, nested classes, list comprehensions, generators, lambda functions, default arguments, properties, threading, naming conventions, and proper module entry points, all illustrated with clear examples and code snippets.

best-practicescoding-standardsimports
0 likes · 29 min read
Master Google’s Python Style Guide: Lint, Imports, and Best Practices
WeChat Client Technology Team
WeChat Client Technology Team
Dec 6, 2018 · Databases

How SQLiteLint Detects Hidden Performance Issues in Mobile Apps

This article introduces SQLiteLint, a runtime analysis tool that automatically checks SQLite usage in mobile apps for index problems, redundant indexes, SELECT *, AUTOINCREMENT, missing prepared statements, and without‑rowid opportunities, enabling developers to catch performance issues before release.

Index OptimizationMobile DevelopmentSQLite
0 likes · 17 min read
How SQLiteLint Detects Hidden Performance Issues in Mobile Apps
Meituan Technology Team
Meituan Technology Team
Jul 5, 2018 · Mobile Development

Analyzing Kotlin Hidden Costs and Building a Custom Lint Tool

The article examines Kotlin’s hidden runtime overheads—such as companion‑object constants, default synchronized lazy delegates, boxing‑prone array types, and temporary progression objects in loops—and describes how the author built a custom Android Lint plugin (KLint) that parses Kotlin files, defines detectors, integrates with Gradle and IDE, and enforces performance‑aware coding standards through CI checks.

AndroidCode OptimizationKotlin
0 likes · 14 min read
Analyzing Kotlin Hidden Costs and Building a Custom Lint Tool
Meituan Technology Team
Meituan Technology Team
Apr 12, 2018 · Mobile Development

Implementing and Managing Custom Android Lint Rules for Code Quality

The article explains how to create, configure, and integrate custom Android Lint rules—using Issue, Detector, Scope, and IssueRegistry APIs—to catch crashes, bugs, performance and security problems such as missing Toast.show() or unsafe Log usage, supports incremental git‑based scans, and demonstrates deployment in IDE, builds, pre‑commit hooks and CI for improved code quality.

AndroidCICustom Rules
0 likes · 23 min read
Implementing and Managing Custom Android Lint Rules for Code Quality
Tencent Music Tech Team
Tencent Music Tech Team
Aug 20, 2016 · Mobile Development

Android App Internationalization: Problems and Solutions

Android app internationalization involves extracting hard‑coded strings into language‑specific strings.xml files, using Lint and regex to locate text, annotating resources, formatting placeholders, exporting for translation, updating the Resources configuration at runtime, handling UI refresh via onConfigurationChanged, recreate or activity restart, and adjusting layouts for length, dimensions, and caps to ensure a seamless multilingual experience.

AndroidResource ManagementStrings.xml
0 likes · 13 min read
Android App Internationalization: Problems and Solutions
Meituan Technology Team
Meituan Technology Team
Mar 25, 2016 · Mobile Development

Introduction to Android Lint and Its Role in Code Quality Assurance

Android Lint, Google’s static analysis tool, scans Android code for potential bugs and style violations, enabling developers to fix problems early, and Meituan enforces its use in the development pipeline so that any Lint-detected issues block merges into the main branch, ensuring higher code quality.

Androidcode qualitylint
0 likes · 1 min read
Introduction to Android Lint and Its Role in Code Quality Assurance
Baidu Intelligent Testing
Baidu Intelligent Testing
Mar 4, 2016 · Mobile Development

Understanding Android Lint: Features, Checks, and Usage

Android Lint is a static code analysis tool for Android that detects potential defects and optimization opportunities across correctness, security, performance, usability, accessibility, and internationalization, offering command‑line and IDE integration, customizable rules, and detailed HTML reports to improve code quality.

AndroidMobile Developmentcode quality
0 likes · 3 min read
Understanding Android Lint: Features, Checks, and Usage