Tagged articles
88 articles
Page 1 of 1
Liangxu Linux
Liangxu Linux
Nov 30, 2025 · Fundamentals

Why Turning Device Drivers into Libraries Boosts Reuse and Maintainability

The article explains the advantages of encapsulating device drivers and peripheral code into reusable libraries, outlines best practices for creating clean, platform‑independent libraries, and discusses the trade‑offs such as slight performance overhead and code‑size considerations for embedded systems.

Software Architecturecode-reusedriver development
0 likes · 7 min read
Why Turning Device Drivers into Libraries Boosts Reuse and Maintainability
php Courses
php Courses
Nov 5, 2025 · Backend Development

Master PHP Traits to Boost Reusability and Simplify Inheritance

This article explains PHP Traits—a reusable code mechanism that lets developers share methods and properties across classes, detailing their definition, usage with the `use` keyword, advantages like avoiding multiple inheritance and reducing redundancy, and important considerations such as method conflicts and priority.

Traitscode-reuseobject‑oriented programming
0 likes · 5 min read
Master PHP Traits to Boost Reusability and Simplify Inheritance
Code Mala Tang
Code Mala Tang
Nov 1, 2025 · Fundamentals

How functools.partial Can Simplify Repeated Function Calls in Python

Using Python's functools.partial, you can pre‑fill common arguments to create concise, readable wrappers that eliminate repetitive parameter passing, improve safety, and streamline code in scenarios ranging from email utilities to Flask handlers and machine‑learning pipelines, while avoiding over‑use pitfalls.

Pythonbest practicescode-reuse
0 likes · 6 min read
How functools.partial Can Simplify Repeated Function Calls in Python
Code Mala Tang
Code Mala Tang
Oct 3, 2025 · Fundamentals

Master Python Closures: Unlock Powerful Function Techniques

This article walks you through Python closures step by step, starting with nested functions, explaining how closures capture outer variables, providing clear code examples, and highlighting practical use cases such as data hiding, factory functions, and decorators to make your code more modular and reusable.

Nested Functionsclosurescode-reuse
0 likes · 5 min read
Master Python Closures: Unlock Powerful Function Techniques
Deepin Linux
Deepin Linux
Jun 15, 2025 · Fundamentals

How C++ Polymorphism Cuts Tight Coupling and Boosts Code Reuse

This article explains C++ polymorphism, shows how virtual functions and inheritance break tight coupling, improve code reuse, simplify extensions, and enhance maintainability, and demonstrates its role in common design patterns such as Strategy and Factory Method with clear code examples.

CDesign PatternsOOP
0 likes · 20 min read
How C++ Polymorphism Cuts Tight Coupling and Boosts Code Reuse
Test Development Learning Exchange
Test Development Learning Exchange
May 25, 2025 · Fundamentals

Understanding Python's functools.partial: Syntax, Benefits, and Practical Examples

This article explains what Python's functools.partial is, shows its basic syntax, outlines its advantages such as reducing code duplication and improving readability, and provides multiple practical code examples—including simple addition, keyword arguments, complex use cases, comparisons with lambda, and real‑world applications in GUI and multithreading contexts.

Higher-Order FunctionsPythoncode-reuse
0 likes · 7 min read
Understanding Python's functools.partial: Syntax, Benefits, and Practical Examples
Sohu Tech Products
Sohu Tech Products
May 14, 2025 · Mobile Development

Best Practices for Reusing ViewModel Logic Across Multiple Android Screens

This article examines common challenges of sharing user interaction logic across multiple Android screens using ViewModel, compares four reuse strategies—including base class inheritance, helper classes, Kotlin class delegation, and interface default functions—and recommends the interface default‑function approach as the most flexible and maintainable solution.

AndroidKotlinMVI
0 likes · 14 min read
Best Practices for Reusing ViewModel Logic Across Multiple Android Screens
php Courses
php Courses
Apr 28, 2025 · Backend Development

Using Closure Functions to Encapsulate Reusable Code Blocks in PHP

This article explains how PHP closures can capture external variables, demonstrates practical examples of wrapping reusable logic in anonymous functions, and shows how to combine closures with object‑oriented programming to improve code reuse and maintainability.

Anonymous FunctionsPHPclosure
0 likes · 5 min read
Using Closure Functions to Encapsulate Reusable Code Blocks in PHP
Code Mala Tang
Code Mala Tang
Feb 3, 2025 · Fundamentals

Boost Your Python Code: 5 Powerful Custom Decorators You Must Use

This article explores how Python decorators can eliminate repetitive code, improve performance, enforce type safety, simplify debugging, and implement rate limiting, offering five custom decorator examples with clear explanations and ready-to-use implementations.

code-reusedecoratorsperformance
0 likes · 8 min read
Boost Your Python Code: 5 Powerful Custom Decorators You Must Use
DaTaobao Tech
DaTaobao Tech
Oct 21, 2024 · Fundamentals

The True Purpose of Classes and Functions: Beyond Reuse

The article argues that classes and functions serve as fundamental structural elements rather than mere tools for reuse, contending that excessive reuse can increase complexity while intentional redundancy simplifies maintenance, and advocating deep modules over shallow ones, illustrated by examples from Supercell, DingTalk, and a trivial shallow‑module code snippet.

DDDDRY principleSoftware Architecture
0 likes · 8 min read
The True Purpose of Classes and Functions: Beyond Reuse
DaTaobao Tech
DaTaobao Tech
Oct 11, 2024 · Fundamentals

Rethinking Code Reuse: Balancing DRY, YAGNI, and Maintenance Costs

The article argues that while code reuse and DRY can boost productivity, over‑abstracted, duplicated logic often inflates maintenance costs, so developers should apply DRY cautiously, favor YAGNI and heuristics like the Rule of Three, and prefer clean‑architecture boundaries to keep complexity manageable.

DRY principleSoftware ArchitectureTechnical Debt
0 likes · 12 min read
Rethinking Code Reuse: Balancing DRY, YAGNI, and Maintenance Costs
JD Tech
JD Tech
Sep 23, 2024 · Backend Development

Evolution of JD Advertising System Architecture: From Monolithic Code to Domain‑Driven Design

This article outlines the step‑by‑step architectural evolution of JD's advertising platform, describing how the system progressed from a simple, tightly coupled codebase through context‑based designs to a domain‑driven, capability‑oriented architecture that improves extensibility, reuse, stability, and knowledge transfer.

Domain-Driven DesignSoftware EngineeringSystem Design
0 likes · 24 min read
Evolution of JD Advertising System Architecture: From Monolithic Code to Domain‑Driven Design
php Courses
php Courses
Aug 13, 2024 · Backend Development

Using Closure Functions to Encapsulate Reusable Code Blocks in PHP

This article explains how PHP closures can be used to encapsulate reusable code blocks, demonstrates practical examples including simple closures, passing closures as callbacks, and combining closures with object‑oriented programming to improve code reuse and maintainability.

closurecode-reuse
0 likes · 5 min read
Using Closure Functions to Encapsulate Reusable Code Blocks in PHP
php Courses
php Courses
Aug 6, 2024 · Backend Development

Leveraging Laravel Macros to Extend Framework Functionality

This article explains how Laravel developers can use Laravel Macros to encapsulate repetitive data‑handling logic, attach custom methods to core classes such as Collections and Eloquent models, improve code reuse, maintainability, and development efficiency, while also covering best practices and potential pitfalls.

LaravelMacroscode-reuse
0 likes · 10 min read
Leveraging Laravel Macros to Extend Framework Functionality
Test Development Learning Exchange
Test Development Learning Exchange
Jul 18, 2024 · Fundamentals

Using functools.partial in Python: Ten Practical Examples

This article introduces Python's functools.partial, explaining how fixing certain function arguments creates new callable functions, and demonstrates ten practical examples ranging from mathematical calculations and file handling to HTTP request wrapping, decorator parameterization, multiprocessing, GUI event binding, logging, data validation, and configuration parsing.

Pythoncode-reusefunctools
0 likes · 7 min read
Using functools.partial in Python: Ten Practical Examples
Bilibili Tech
Bilibili Tech
Jul 12, 2024 · Frontend Development

Design and Implementation of a Unified Multi‑Business Detail Page Framework

The project consolidates three separate detail‑page implementations into a single, reusable framework that separates business, component, and framework layers, employs dependency‑injection and scoped lifecycles to support diverse scenarios while ensuring stability through comprehensive logging, monitoring, and staged gray‑release testing.

Scope Managementarchitecturecode-reuse
0 likes · 11 min read
Design and Implementation of a Unified Multi‑Business Detail Page Framework
php Courses
php Courses
May 27, 2024 · Backend Development

Using PHP Traits in Symfony for Reusable and Modular Code

This guide explains how to use PHP Traits within the Symfony framework to encapsulate reusable functionality, demonstrating the creation of a LoggerTrait, its integration into a UserService, and the injection of that service into a controller for clean, modular, and DRY code.

Backend DevelopmentPHPSymfony
0 likes · 5 min read
Using PHP Traits in Symfony for Reusable and Modular Code
Ops Development & AI Practice
Ops Development & AI Practice
May 13, 2024 · Fundamentals

Master Python Decorators: From Basics to Advanced Use Cases

This article explains Python decorators, covering their definition as higher‑order functions, basic syntax, practical examples such as logging, authorization, caching, and nested decorators, and demonstrates how they enhance code modularity, readability, and reusability without altering original functions.

Authorizationcachingcode-reuse
0 likes · 5 min read
Master Python Decorators: From Basics to Advanced Use Cases
php Courses
php Courses
Apr 9, 2024 · Backend Development

Laravel Mixins: Extending Str and Arr Helpers with Macros

This guide explains how to use Laravel macros and Mixins to extend the Str and Arr helper classes, providing reusable methods such as fullName, initials, camelToSnake, snakeToCamel, and filterNulls, and demonstrates registration via AppServiceProvider for cleaner, maintainable backend code.

BackendLaravelMacros
0 likes · 8 min read
Laravel Mixins: Extending Str and Arr Helpers with Macros
php Courses
php Courses
Apr 3, 2024 · Fundamentals

Understanding Inheritance in Object-Oriented Programming with PHP

This article explains how inheritance in object‑oriented programming can simplify PHP code by refactoring duplicated product and book classes into a reusable base class, demonstrating improved code reuse, maintainability, and polymorphic behavior through clear examples and explanations.

OOPPHPcode-reuse
0 likes · 5 min read
Understanding Inheritance in Object-Oriented Programming with PHP
php Courses
php Courses
Mar 6, 2024 · Backend Development

Understanding Inheritance in PHP: A Practical OOP Tutorial

This article explains the core concept of inheritance in object‑oriented programming using PHP, illustrating how child classes extend parent classes, inherit properties and methods, avoid code duplication, and can override functionality, with complete code examples for workers and tax calculations.

Backend DevelopmentOOPPHP
0 likes · 13 min read
Understanding Inheritance in PHP: A Practical OOP Tutorial
php Courses
php Courses
Dec 28, 2023 · Backend Development

Using Traits to Reduce Code Duplication in PHP Object‑Oriented Programming

This article explains how PHP traits enable code reuse across multiple classes, illustrating the problem of duplicated methods in Person‑derived classes like Student, Guardian, and Teacher, and showing step‑by‑step refactoring to eliminate redundancy while maintaining clear inheritance structures.

PHPTraitscode-reuse
0 likes · 6 min read
Using Traits to Reduce Code Duplication in PHP Object‑Oriented Programming
FunTester
FunTester
Dec 17, 2023 · Fundamentals

Understanding Java Generics: Concepts, Benefits, and Practical Examples

This article explains Java generics, covering type parameters, generic classes and interfaces, bounded types, wildcards, and generic methods, while highlighting benefits such as type safety, code reuse, readability, and performance, and provides multiple code examples demonstrating generic usage across different data types.

GenericsJavaType Safety
0 likes · 15 min read
Understanding Java Generics: Concepts, Benefits, and Practical Examples
php Courses
php Courses
Nov 6, 2023 · Backend Development

Understanding PHP Traits: Concepts, Usage, Advantages, and Best Practices

This article explains PHP Traits, covering their concept, definition, usage examples, advantages such as avoiding multiple inheritance and reducing code duplication, as well as important considerations like method conflicts and precedence, providing a comprehensive guide for backend developers.

Backend DevelopmentOOPPHP
0 likes · 5 min read
Understanding PHP Traits: Concepts, Usage, Advantages, and Best Practices
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Nov 4, 2023 · Fundamentals

Understanding the Composite Reuse Principle (CRP): Concepts, Benefits, UML, and Implementation Examples

This article provides a comprehensive explanation of the Composite Reuse Principle (CRP), covering its definition, background, advantages over inheritance, UML representation, practical Java code examples, and guidelines for choosing between composition and inheritance in object‑oriented design.

Composite Reuse PrincipleComposition over InheritanceDesign Patterns
0 likes · 11 min read
Understanding the Composite Reuse Principle (CRP): Concepts, Benefits, UML, and Implementation Examples
Qunar Tech Salon
Qunar Tech Salon
Sep 14, 2023 · Frontend Development

Micro‑Module Framework for Frontend Code Reuse and Efficient Deployment

This article describes the design, implementation, and benefits of a low‑intrusion micro‑module framework that enables cross‑stack code reuse, dynamic loading, fast deployment, and robust monitoring for large‑scale front‑end applications, while addressing challenges such as React version compatibility and incremental packaging.

Module FederationReactcode-reuse
0 likes · 18 min read
Micro‑Module Framework for Frontend Code Reuse and Efficient Deployment
php Courses
php Courses
Aug 4, 2023 · Backend Development

Using PHP Traits for Effective Code Reuse

This article explains how PHP traits enable code reuse by allowing reusable method blocks to be incorporated into classes, covering trait definition, simple examples, method priority rules, conflict resolution with multiple traits, and trait composition for flexible functionality sharing.

OOPPHPTraits
0 likes · 5 min read
Using PHP Traits for Effective Code Reuse
Test Development Learning Exchange
Test Development Learning Exchange
Jun 7, 2023 · Backend Development

Using Python Decorators for API Automation Testing

This article explains how Python decorators can abstract common functionalities such as logging, authentication, and performance monitoring in API automation testing, providing code examples, recommended use‑cases, and a complete demonstration that integrates logging and MySQL data storage to improve test efficiency and maintainability.

AutomationDecoratorPython
0 likes · 7 min read
Using Python Decorators for API Automation Testing
Alipay Experience Technology
Alipay Experience Technology
May 17, 2023 · Backend Development

Boost Code Reusability with Componentized Workflow Design in Java

This article explains how to improve code readability, reusability, and extensibility by adopting a componentized workflow architecture, detailing three‑layer structures, node abstraction, parameter mapping, and practical Java/Spring XML examples for scalable backend systems.

BackendComponent ArchitectureDesign Patterns
0 likes · 13 min read
Boost Code Reusability with Componentized Workflow Design in Java
Zhuanzhuan Tech
Zhuanzhuan Tech
May 10, 2023 · Backend Development

Component-Based Development: Architecture, Implementation, and Benefits in Feed Flow

This article presents a comprehensive overview of component-based development at ZhaiZhai, detailing the background, current challenges, the component model, classification, design, deployment process, performance gains, supporting ecosystem, and concluding insights, all supported by references and practical examples.

BFFBackend ArchitectureComponent-based Development
0 likes · 29 min read
Component-Based Development: Architecture, Implementation, and Benefits in Feed Flow
HomeTech
HomeTech
Apr 26, 2023 · Game Development

How a Layered Unity Framework Boosts Code Reuse and Development Speed

This article analyzes the growing need for a unified Unity framework at AutoHome, evaluates existing open‑source Unity architectures, proposes a four‑layer design (logic, middle, base, data), demonstrates a native‑message example, and quantifies quality, efficiency, performance, and reuse gains.

Game DevelopmentLayered DesignOpen Source Frameworks
0 likes · 12 min read
How a Layered Unity Framework Boosts Code Reuse and Development Speed
DaTaobao Tech
DaTaobao Tech
Feb 1, 2023 · Fundamentals

Template Method Design Pattern: Concepts, Implementation, and Usage

The Template Method pattern defines an algorithm’s fixed skeleton in an abstract class while delegating variable steps to subclasses via abstract or hook methods, enabling reusable, maintainable code through a final template method, concrete implementations, and practical examples such as online shopping and JDK’s AbstractList, with benefits of encapsulation and extensibility but potential complexity from inheritance.

JavaSoftware EngineeringTemplate Method
0 likes · 10 min read
Template Method Design Pattern: Concepts, Implementation, and Usage
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Dec 16, 2022 · Mobile Development

Monorepo Migration for React Native Projects: Practices, Tools, and Pitfalls

To eliminate duplicated checkout logic and cumbersome npm publishing, the team migrated multiple React Native apps into a Yarn‑workspace monorepo, configuring Metro watch folders, hoisting dependencies, and CI linting, while using git‑subtree for integration, achieving easier code reuse, debugging, and dependency management despite RN‑specific build complexities.

MetroMonorepoReact Native
0 likes · 15 min read
Monorepo Migration for React Native Projects: Practices, Tools, and Pitfalls
Python Programming Learning Circle
Python Programming Learning Circle
Aug 24, 2022 · Fundamentals

Is Copying Code from the Internet Reasonable for Programmers?

The article examines why programmers frequently copy and paste code, argues that responsible reuse of open‑source snippets can boost productivity while respecting intellectual property, and emphasizes that the key is understanding what to copy, how to integrate it, and ensuring it solves real project problems.

code-reuseproductivityprogramming ethics
0 likes · 5 min read
Is Copying Code from the Internet Reasonable for Programmers?
Programmer DD
Programmer DD
May 4, 2022 · Fundamentals

What Engineers Really Spend Their Time On: Insights from Retool’s 2022 Survey

Retool’s 2022 survey of 600 engineers reveals that open‑source code is now essential, developers copy hundreds of lines weekly, and major frustrations include testing, slow SQL, and lengthy code‑review delays, leaving engineers with only about ten hours of deep work each week.

Software Engineeringcode-reusedeveloper productivity
0 likes · 5 min read
What Engineers Really Spend Their Time On: Insights from Retool’s 2022 Survey
Continuous Delivery 2.0
Continuous Delivery 2.0
Apr 9, 2022 · Fundamentals

Using Higher-Order Functions to Simplify Collection Loops

The article explains how higher‑order functions such as every, map, and filter can replace repetitive loops over arrays or lists, reducing code duplication, improving readability, and lowering the chance of bugs while warning against over‑using functional style when it harms clarity.

Higher-Order FunctionsJavaScriptLoops
0 likes · 3 min read
Using Higher-Order Functions to Simplify Collection Loops
Meituan Technology Team
Meituan Technology Team
Dec 2, 2021 · Frontend Development

React2X: Multi-Container Cross-Platform Development Framework

React2X, launched by Meituan Waimai’s technology team in 2019, is a container‑agnostic, multi‑terminal framework that unifies development across Webview, Mini Programs, MRN, Flutter, Mach and PC browsers, achieving over 90% code reuse and saving thousands of person‑days while simplifying architecture and enhancing cross‑platform efficiency.

MeituanReact2XWaimai
0 likes · 22 min read
React2X: Multi-Container Cross-Platform Development Framework
Top Architect
Top Architect
Aug 22, 2021 · Databases

Why Using Stored Procedures for Simple Existence Checks Can Be Problematic

The article examines a real‑world scenario where a developer tried to reuse existing stored procedures to merely check the presence of Job, Certification, and Disclosure records, discusses the pitfalls of such an approach, and explains why storing this logic in T‑SQL is often fragile and hard to maintain.

SQLStored Procedurescode-reuse
0 likes · 6 min read
Why Using Stored Procedures for Simple Existence Checks Can Be Problematic
Architecture Digest
Architecture Digest
Jun 12, 2021 · Databases

Why Reusing Stored Procedures Can Be Problematic: A Practical Example with Job, Certification, and Disclosure Checks

This article examines the pitfalls of reusing existing SQL stored procedures to determine the presence of Job, Certification, and Disclosure data for a user, illustrating maintenance challenges with temporary tables, output parameters, and code‑reuse limitations through concrete code examples.

BackendSQLStored Procedures
0 likes · 5 min read
Why Reusing Stored Procedures Can Be Problematic: A Practical Example with Job, Certification, and Disclosure Checks
Meituan Technology Team
Meituan Technology Team
Jun 10, 2021 · Mobile Development

Cross‑Platform Reuse Framework in Meituan Homestay: Design, Implementation, and Practice

Meituan Homestay built a custom cross‑platform reuse framework converting React Native code to mini‑programs, achieving up to 90% code reuse, reducing bundle size, improving performance, and establishing strict processes for quality, thus cutting development effort and enhancing productivity across iOS, Android, and mini‑programs.

Frontend ArchitecturePerformance OptimizationReact Native
0 likes · 35 min read
Cross‑Platform Reuse Framework in Meituan Homestay: Design, Implementation, and Practice
Liangxu Linux
Liangxu Linux
Apr 21, 2021 · Fundamentals

Why Reusable Code Eludes Us: FP vs OO Through a FizzBuzz Experiment

The article examines why truly reusable code is hard to achieve by contrasting functional programming in F# with object‑oriented programming in C# through a FizzBuzz implementation, highlighting differences in fragmentation, coupling, and flexibility that affect component reuse.

C#F#code-reuse
0 likes · 11 min read
Why Reusable Code Eludes Us: FP vs OO Through a FizzBuzz Experiment
php Courses
php Courses
Mar 8, 2021 · Backend Development

Understanding PHP Traits: Definition, Syntax, and Usage

This article explains PHP traits—a code‑reuse mechanism for single‑inheritance languages—covering their definition, basic syntax, how to use them with the use keyword, resolving property and method conflicts, visibility adjustments, and abstract method support, all illustrated with clear examples.

PHPTraitscode-reuse
0 likes · 7 min read
Understanding PHP Traits: Definition, Syntax, and Usage
Programmer DD
Programmer DD
Dec 31, 2020 · Fundamentals

Why Copy‑Paste Code From StackOverflow Can Sabotage Your Project

A developer recounts how blindly copying code snippets from sites like CSDN and StackOverflow led to bugs, explains the hidden risks of reusing code without understanding, and offers practical advice on testing and comprehending third‑party code to avoid security and functionality issues.

CSDNSecurity VulnerabilitiesStackOverflow
0 likes · 7 min read
Why Copy‑Paste Code From StackOverflow Can Sabotage Your Project
vivo Internet Technology
vivo Internet Technology
Nov 11, 2020 · Frontend Development

vivo Mall Multi-End Unified Frontend Architecture Practice

The article details vivo Mall’s shift to a multi‑end unified frontend architecture using uni‑app, highlighting how a single technical stack reduces development and maintenance costs, accelerates H5 feature migration to mini‑programs, and introduces innovations such as code conversion tools, conditional compilation, advanced Vuex namespace handling, and component‑page decoupling via @vivo/smartx to meet current and future endpoint demands.

Frontend ArchitectureMini ProgramVuex
0 likes · 12 min read
vivo Mall Multi-End Unified Frontend Architecture Practice
Top Architect
Top Architect
Oct 13, 2020 · Databases

Why Reusing Stored Procedures Is Tricky: Counting Results and Maintaining Code

The article examines the difficulties of reusing SQL Server stored procedures to obtain simple boolean checks, illustrates a concrete example of counting jobs with temporary tables, discusses maintenance pitfalls, and concludes that business logic is often better implemented outside stored procedures.

Database designSQLStored Procedures
0 likes · 6 min read
Why Reusing Stored Procedures Is Tricky: Counting Results and Maintaining Code
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Aug 31, 2020 · Backend Development

Using Java Annotations for Log Masking and Bank API Request Simplification

This article explains how to employ custom Java annotations together with reflection to mask sensitive fields in logs, define flexible desensitization rules, and dramatically reduce repetitive code when building fixed‑length, signed bank API requests, improving maintainability and extensibility of backend services.

Backend DevelopmentBank APIJava
0 likes · 21 min read
Using Java Annotations for Log Masking and Bank API Request Simplification
Laravel Tech Community
Laravel Tech Community
Aug 15, 2020 · Backend Development

Understanding PHP Traits and Their Use in Laravel

This article explains the concept of PHP Traits, how they overcome single inheritance limitations, provides clear code examples of defining and using Traits in plain PHP, and demonstrates practical integration of Traits within Laravel applications for reusable functionality.

BackendOOPTraits
0 likes · 4 min read
Understanding PHP Traits and Their Use in Laravel
Java Backend Technology
Java Backend Technology
May 28, 2020 · Databases

When Stored Procedures Turn Into a Maintenance Nightmare

An engineer recounts a real‑world challenge of reusing existing SQL stored procedures to check a user's job, certification, and disclosure status, explores why inserting results into temporary tables can cause maintenance headaches, and concludes that moving business logic out of the database often yields cleaner, more maintainable code.

Database designSQLStored Procedures
0 likes · 6 min read
When Stored Procedures Turn Into a Maintenance Nightmare
Programmer DD
Programmer DD
May 26, 2020 · Databases

Why Reusing Stored Procedures Can Be a Pitfall: Lessons from Real Projects

The article examines the drawbacks of reusing stored procedures for business logic, illustrates maintenance challenges with example code, and argues that moving simple existence checks to the database while keeping complex logic in application code yields better readability, extensibility, and performance.

Database designSQLStored Procedures
0 likes · 6 min read
Why Reusing Stored Procedures Can Be a Pitfall: Lessons from Real Projects
Top Architect
Top Architect
May 14, 2020 · Databases

Why Using Stored Procedures for Simple Boolean Checks Can Be Problematic

The article discusses a real‑world scenario where a developer tried to reuse existing stored procedures to determine the presence of Job, Certification, and Disclosure records, explores various T‑SQL techniques such as temporary tables and output parameters, and concludes that stored procedures are often unsuitable for simple boolean logic due to maintenance and reuse challenges.

CSQLStored Procedures
0 likes · 6 min read
Why Using Stored Procedures for Simple Boolean Checks Can Be Problematic
Python Programming Learning Circle
Python Programming Learning Circle
May 11, 2020 · Fundamentals

Understanding Python Decorators: A Practical Guide

This article explains the concept of Python decorators, demonstrates how they can replace repetitive input‑type checks in multiple string‑manipulation functions, and shows both the explicit decorator implementation and the concise @ syntax with clear code examples.

Pythoncode-reusedecorators
0 likes · 7 min read
Understanding Python Decorators: A Practical Guide
Ctrip Technology
Ctrip Technology
Apr 30, 2020 · Frontend Development

Multi-Platform Frontend Architecture and Code Reuse Practices at Ctrip Play Team

This article describes how Ctrip's Play team tackled fragmented front‑end stacks, unified product requirements across PC, H5, Hybrid and React Native, and implemented a component‑driven, multi‑repo architecture that enables single‑source code to be built, tested, and released for multiple platforms simultaneously.

Component ArchitectureReactReact Native
0 likes · 11 min read
Multi-Platform Frontend Architecture and Code Reuse Practices at Ctrip Play Team
FunTester
FunTester
Feb 23, 2020 · Operations

Common Pitfalls for Automation Test Beginners and How to Avoid Them

The article outlines essential automation testing practices for beginners, covering test design maintenance, false‑positive avoidance, code reusability, realistic automation expectations, big‑picture planning, exploratory testing, UI change handling, and provides curated technical resources.

Seleniumautomation testingcode-reuse
0 likes · 7 min read
Common Pitfalls for Automation Test Beginners and How to Avoid Them
FunTester
FunTester
Dec 21, 2019 · Backend Development

A Reusable Java Verification Utility for Automated Testing

This article presents a reusable Java verification class that centralizes common validation logic for automated testing, handling JSON responses, code checks, numeric and boolean assertions, array detection, and regex matching, while also fixing hidden bugs and extending array validation capabilities.

JSONJavaautomation testing
0 likes · 7 min read
A Reusable Java Verification Utility for Automated Testing
Seewo Tech Circle
Seewo Tech Circle
Jun 25, 2019 · Mobile Development

From Monolithic Android App to Modular Architecture: Lessons and Strategies

This article recounts the evolution of the Class Optimization Master Android project—from a dual‑end, no‑design prototype to an MVP‑based implementation and finally a modularized architecture—highlighting pain points, solutions, and practical steps for improving code boundaries, build times, and reusable modules.

AndroidMVParchitecture
0 likes · 12 min read
From Monolithic Android App to Modular Architecture: Lessons and Strategies
MaGe Linux Operations
MaGe Linux Operations
Feb 28, 2019 · Fundamentals

5 Compelling Reasons to Master Python Decorators Today

This article explains why learning Python decorators is essential, covering their impact on code readability, logging, validation, framework integration, reuse, and career advancement, while providing clear examples and practical guidance for developers of all levels.

FlaskPythonRetry
0 likes · 9 min read
5 Compelling Reasons to Master Python Decorators Today
Meituan Technology Team
Meituan Technology Team
Sep 20, 2018 · Mobile Development

Platformized Code Reuse in Meituan Waimai Android: Challenges and Solutions

Meituan Waimai Android unified the divergent codebases of the standalone Waimai app and the Waimai channel in the Meituan app by introducing a layered architecture—base services, components, business modules, and host—combined with Gradle flavor and a fine‑grained “pins” project, achieving 88 % code reuse, over 70 % productivity improvement, and paving the way for broader platform reuse.

AndroidMobile Developmentcode-reuse
0 likes · 17 min read
Platformized Code Reuse in Meituan Waimai Android: Challenges and Solutions
Meituan Technology Team
Meituan Technology Team
Jun 28, 2018 · Mobile Development

Multi-End Code Reuse and Componentization in Meituan Waimai iOS

Meituan Waimai iOS achieved an 84 % code‑reuse rate across its standalone app, Meituan channel, and Dianping channel by progressively componentizing business logic into layered CocoaPods, flattening dependencies, using binary pods for fast builds, and employing a robust toolchain and coordination among PM, RD, and QA.

CocoaPodsComponentizationcode-reuse
0 likes · 22 min read
Multi-End Code Reuse and Componentization in Meituan Waimai iOS
Tencent Cloud Developer
Tencent Cloud Developer
Jun 26, 2018 · Backend Development

Why FinTech Companies Should Migrate from Monolithic to Microservices Architecture

FinTech firms should replace monolithic systems with microservices because the modular style delivers greater agility, maintainability, scalability, availability, and code reuse—crucial for rapid market demands and regulatory change—while acknowledging migration costs, monitoring complexity, and the need for phased refactoring of legacy assets.

FinTechMicroservicesSoftware Architecture
0 likes · 13 min read
Why FinTech Companies Should Migrate from Monolithic to Microservices Architecture
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Apr 29, 2018 · Fundamentals

Unlocking Code Reuse: Design Patterns, Frameworks, Architecture & Platforms Explained

This article explains how design patterns, frameworks, software architecture, and platforms each contribute to different levels of code reuse—from class-level patterns to system-wide architectures—while also detailing key design principles, framework basics, and Java platform classifications for developers seeking deeper engineering insight.

Design PatternsSoftware Architecturecode-reuse
0 likes · 13 min read
Unlocking Code Reuse: Design Patterns, Frameworks, Architecture & Platforms Explained
MaGe Linux Operations
MaGe Linux Operations
Apr 24, 2018 · Fundamentals

5 Compelling Reasons to Master Python Decorators

This article explains why learning to write Python decorators is essential, covering benefits such as improved logging, validation, framework integration, code reuse, retry logic, and career advancement, while providing clear examples and practical code snippets.

Flaskcode-reusedecorators
0 likes · 8 min read
5 Compelling Reasons to Master Python Decorators
Meituan Technology Team
Meituan Technology Team
Mar 15, 2018 · Mobile Development

Platformization and Code Reuse Practices in Meituan Waimai Android Client

Facing duplicated codebases as Meituan Waimai expanded from a single app to multiple channels, the team iteratively tried split libraries, componentization, and MVP layers before settling on a three‑layer platform architecture—platform, business, and host—isolated via Gradle projects, product flavors, and tooling to achieve sustainable, cross‑product code reuse.

AndroidEngineeringGradle
0 likes · 25 min read
Platformization and Code Reuse Practices in Meituan Waimai Android Client
Programmer DD
Programmer DD
Dec 28, 2017 · Backend Development

Master IntelliJ IDEA’s Extract Method & Interface Refactoring for Cleaner Java Code

This guide shows how to use IntelliJ IDEA’s Extract Method and Extract Interface features to refactor repetitive Java code, create reusable helper methods like forEachExceptFirst, generate annotated utilities, and cleanly separate contracts from implementations, improving readability and maintainability.

IntelliJ IDEAcode-reuseextract-interface
0 likes · 8 min read
Master IntelliJ IDEA’s Extract Method & Interface Refactoring for Cleaner Java Code
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Jun 6, 2017 · Frontend Development

Boost Front‑End Efficiency with HTML Inheritance Patterns

This article explores how applying inheritance concepts to HTML structure can reduce duplicated code, simplify maintenance, and improve front‑end development efficiency by extracting common elements into a base template and using build‑time tools to generate page‑specific pages.

Web Developmentcode-reusefrontend
0 likes · 6 min read
Boost Front‑End Efficiency with HTML Inheritance Patterns
Meituan Technology Team
Meituan Technology Team
Apr 21, 2017 · Mobile Development

Meituan Dianping Technical Seminar on iOS Development and Swift Monad

Meituan Dianping’s iOS development seminar presented expert insights on performance monitoring with Hertz, explored Swift monads through source‑code analysis, tackled dynamic‑library implementation hurdles, and shared cross‑platform code‑reuse strategies, offering practical solutions for functional programming and large‑scale mobile app optimization.

Monad ConceptSwift ProgrammingTechnical Seminar
0 likes · 3 min read
Meituan Dianping Technical Seminar on iOS Development and Swift Monad
Baidu Waimai Technology Team
Baidu Waimai Technology Team
Mar 16, 2017 · Frontend Development

Evolution of Componentization in the Operations Backend Platform: From FIS to React and the Third‑Generation Solution

This article outlines the rapid growth of Baidu Takeaway's operations backend, analyzes the limitations of the FIS‑based modular approach, describes the transition to React‑Redux componentization, and presents a third‑generation, model‑driven component sharing platform designed to reduce repetitive development and improve developer happiness.

ComponentizationReactUI
0 likes · 12 min read
Evolution of Componentization in the Operations Backend Platform: From FIS to React and the Third‑Generation Solution
WeChatFE
WeChatFE
Jul 29, 2016 · Fundamentals

Master JavaScript Currying: Boost Code Quality with Functional Design

This article explains what currying is, its advantages, and provides a generic JavaScript currying function, demonstrating how to transform multi‑parameter functions into single‑parameter chains to improve code reuse, enable lazy evaluation, and enhance overall code quality in functional programming.

JavaScriptLazy Evaluationcode-reuse
0 likes · 10 min read
Master JavaScript Currying: Boost Code Quality with Functional Design
21CTO
21CTO
May 8, 2016 · Backend Development

Mastering PHP Traits: Reuse Code Efficiently with Real-World Examples

This article explains PHP Traits—introduced in PHP 5.4—as a fine‑grained code‑reuse mechanism, illustrates their definition, shows practical examples of extracting reusable methods into traits, compares trait usage with inheritance, and offers tips for effective trait design.

Backend DevelopmentObject-OrientedPHP
0 likes · 7 min read
Mastering PHP Traits: Reuse Code Efficiently with Real-World Examples
21CTO
21CTO
Oct 18, 2015 · Fundamentals

Why Re‑typing Stack Overflow Code Boosts Your Skills

Copy‑pasting code from Stack Overflow may save time, but retyping each snippet forces deeper understanding, encourages critical evaluation of solutions, and leads to cleaner, more maintainable code, making you a better developer rather than a mere “Stack Overflow‑style” coder.

code-reusecoding practicedeveloper habits
0 likes · 5 min read
Why Re‑typing Stack Overflow Code Boosts Your Skills
Qunar Tech Salon
Qunar Tech Salon
Jan 28, 2015 · R&D Management

Lessons from Linux Development: Open‑Source Culture, Reuse, and Attitude

The article reflects on fifteen years of Linux experience, highlighting how open‑source culture, incremental ideas, developer‑driven needs, code reuse, and a collaborative attitude have shaped Linux’s success and offer broader lessons for software development and project management.

Linuxcode-reusecommunity management
0 likes · 9 min read
Lessons from Linux Development: Open‑Source Culture, Reuse, and Attitude