Tag

coding practices

0 views collected around this technical thread.

php中文网 Courses
php中文网 Courses
Mar 19, 2025 · Backend Development

PHP Performance Optimization: Faster Alternatives to Common Functions

This article presents a series of PHP function replacements—such as using isset() instead of array_key_exists(), strpos() over strstr(), pre‑increment ++$i, foreach over for, json_encode()/json_decode() instead of serialize()/unserialize(), strict === over ==, and implode() rather than string concatenation—to boost code speed without altering business logic.

FunctionsPHPPerformance
0 likes · 6 min read
PHP Performance Optimization: Faster Alternatives to Common Functions
DevOps
DevOps
Jan 23, 2025 · R&D Management

Beyond Code: Principles for Software Development, Process, Collaboration, and Management

This article shares practical principles for software developers to transcend pure coding by respecting users, optimizing processes, enhancing collaboration, providing supportive management, and designing flexible, maintainable code, ultimately improving team efficiency and product quality.

R&DSoftware Developmentcoding practices
0 likes · 22 min read
Beyond Code: Principles for Software Development, Process, Collaboration, and Management
php中文网 Courses
php中文网 Courses
Jan 7, 2025 · Backend Development

Key Considerations for Optimizing PHP Function Performance

This article outlines essential practices for improving PHP function performance, including avoiding inline variables, reducing parameter count, declaring parameter types, leveraging built‑in functions, caching results, using static variables, and steering clear of eval(), complemented by a practical optimization case study.

Function OptimizationPHPPerformance
0 likes · 4 min read
Key Considerations for Optimizing PHP Function Performance
Model Perspective
Model Perspective
Nov 11, 2024 · Fundamentals

10 Essential Rules to Master Your First Mathematical Model

Learn the ten practical rules that guide beginners from defining clear research questions to effective coding, model selection, simulation, sensitivity analysis, and iterative refinement, ensuring a solid foundation for building and fitting mathematical models across diverse scientific problems.

coding practicesmathematical modelingmodeling basics
0 likes · 10 min read
10 Essential Rules to Master Your First Mathematical Model
Java Tech Enthusiast
Java Tech Enthusiast
Oct 26, 2024 · Fundamentals

12 Coding Habits That Reduce Code Readability and Increase Maintenance Difficulty

The article outlines twelve harmful coding habits—such as excessive microservice splitting, incomplete refactoring, overly long methods, deep nesting, random variable names, inaccurate or outdated comments, duplicated code, ignoring specifications, missing logging, over‑engineered frameworks, and reinventing wheels—that degrade readability, complicate maintenance, increase bugs, and hurt team productivity.

CommentsFrameworksMicroservices
0 likes · 9 min read
12 Coding Habits That Reduce Code Readability and Increase Maintenance Difficulty
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 19, 2024 · Backend Development

Why Swallowing Exceptions in Java Is Dangerous and How to Handle Them Properly

The article warns developers against swallowing exceptions in Java, explains the risks of empty catch blocks using a sample code snippet, and emphasizes the need for proper exception handling to avoid hidden errors and potential termination.

Exception HandlingJavaSwallow Exception
0 likes · 3 min read
Why Swallowing Exceptions in Java Is Dangerous and How to Handle Them Properly
php中文网 Courses
php中文网 Courses
Feb 2, 2024 · Backend Development

Optimizing Exception Handling in PHP

This article explains how PHP developers can improve code stability and maintainability by using try‑catch blocks, creating custom exception classes, employing multiple catch clauses, adding finally blocks, and leveraging throw and set_exception_handler for comprehensive exception management.

Error ManagementException HandlingPHP
0 likes · 4 min read
Optimizing Exception Handling in PHP
NetEase LeiHuo Testing Center
NetEase LeiHuo Testing Center
Jul 28, 2023 · Backend Development

Automation Testing Practices and Tool Development for Game Development

The article shares practical experiences and techniques for game testing automation, covering fake player usage, script modularization, report generation, IDE template utilization, custom log tools, and developer habits to improve efficiency and code quality across testing workflows.

Automation Testingcoding practicesgame development
0 likes · 18 min read
Automation Testing Practices and Tool Development for Game Development
Laravel Tech Community
Laravel Tech Community
Apr 5, 2023 · Backend Development

PHP Performance Optimization: String Handling, Statements, Functions, Variables, Arrays and Architecture

This article presents a comprehensive set of PHP performance‑optimization techniques, covering efficient string operations, statement usage, function design, variable handling, array manipulation and architectural choices such as compression, static pages and caching, all illustrated with concrete code examples.

PHPPerformancebackend
0 likes · 14 min read
PHP Performance Optimization: String Handling, Statements, Functions, Variables, Arrays and Architecture
Baidu Geek Talk
Baidu Geek Talk
Mar 24, 2022 · Frontend Development

Practical Techniques to Boost Web Development Efficiency

The article presents actionable methods to speed web development, including adopting a front‑back end separation architecture, leveraging scaffolding tools for data, documentation and mock interfaces, applying disciplined front‑end coding practices, and using computer‑vision‑based techniques to accelerate automated testing.

AutomationEfficiencyWeb Development
0 likes · 8 min read
Practical Techniques to Boost Web Development Efficiency
Java Captain
Java Captain
Sep 19, 2021 · Fundamentals

How to Write Unmaintainable Code: A Satirical Guide

This tongue‑in‑cheek article enumerates a series of deliberately harmful programming practices—from confusing naming conventions and deceptive comments to excessive abstraction, misuse of inheritance, and avoidance of testing—intended to make code virtually impossible to understand, maintain, or debug.

Javacode obfuscationcoding practices
0 likes · 14 min read
How to Write Unmaintainable Code: A Satirical Guide
vivo Internet Technology
vivo Internet Technology
Nov 11, 2020 · Frontend Development

Optimizing Video Player Performance: A Technical Analysis

Optimizing video player performance requires analyzing the entire playback pipeline—from network request and format detection through parsing, decoding, synchronization, and rendering—while implementing robust error monitoring, adaptive buffering, MP4 moov/mdat handling, stream‑specific optimizations, local proxy caching with video‑id reuse, and fallback to soft decoding or GLSurfaceView for smooth, artifact‑free playback.

Technical Analysiscoding practicesnetwork monitoring
0 likes · 15 min read
Optimizing Video Player Performance: A Technical Analysis
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 PracticesSecuritySoftware Development
0 likes · 5 min read
10 Bad Coding Practices That Harm Software Development Projects