Tagged articles
71 articles
Page 1 of 1
o-ai.tech
o-ai.tech
Mar 20, 2026 · Fundamentals

Essential Guide to Writing CLAUDE.md for Claude Code

This article explains what CLAUDE.md is, why it matters, how to quickly create and trim it, the four mandatory sections, file locations, structuring tricks, and maintenance practices so you can keep project conventions and commands consistently across Claude sessions.

CLAUDE.mdClaudeConfiguration
0 likes · 4 min read
Essential Guide to Writing CLAUDE.md for Claude Code
JavaScript
JavaScript
Oct 9, 2025 · Frontend Development

Why You Should Rethink Using ‘else’ in JavaScript: Embrace Guard Clauses

Modern JavaScript style guides increasingly recommend avoiding deep if…else chains by using guard clauses and early returns, a practice that flattens code, reduces cognitive load, separates concerns, improves maintainability, and encourages expressive data structures, while still allowing simple cases where if…else remains appropriate.

Early ReturnJavaScriptcode style
0 likes · 7 min read
Why You Should Rethink Using ‘else’ in JavaScript: Embrace Guard Clauses
Code Mala Tang
Code Mala Tang
Aug 23, 2025 · Fundamentals

Decoding Python’s Underscore Conventions: From Throwaway Variables to Dunder Methods

This article explains the meaning behind Python’s various underscore patterns—single underscores for throwaway variables, leading underscores for internal use, double leading underscores for name‑mangling, dunder methods for special behavior, and trailing underscores to avoid keyword conflicts—helping developers write clearer, more idiomatic code.

Naming ConventionPythoncode style
0 likes · 6 min read
Decoding Python’s Underscore Conventions: From Throwaway Variables to Dunder Methods
Liangxu Linux
Liangxu Linux
Aug 18, 2025 · Fundamentals

32 Essential C Programming Practices for Clean, Maintainable Code

This guide outlines 32 practical C programming habits—from proper indentation and commenting to safe memory handling and error management—designed to improve code readability, maintainability, and reliability, helping developers write professional, high‑quality software.

C Programmingbest practicescode style
0 likes · 40 min read
32 Essential C Programming Practices for Clean, Maintainable Code
Architecture Digest
Architecture Digest
Jul 11, 2025 · Fundamentals

Master CheckStyle in IntelliJ: A Step‑by‑Step Guide to Clean Java Code

This article walks you through installing and configuring the CheckStyle plugin in IntelliJ IDEA, importing coding standards such as Alibaba's, running checks on Java classes, and troubleshooting common errors like missing annotations, formatting issues, and import order problems, all illustrated with screenshots.

Alibaba styleIntelliJ IDEAcheckstyle
0 likes · 5 min read
Master CheckStyle in IntelliJ: A Step‑by‑Step Guide to Clean Java Code
Code Mala Tang
Code Mala Tang
Jul 5, 2025 · Fundamentals

Master Python Code Style: Practical PEP8 Guidelines and Tools

This guide explains Python's evolving code‑style conventions, emphasizing readability, consistent indentation, line length, spacing, import ordering, and provides an overview of popular linting and formatting tools such as Pylint, Flake8, Isort, Autopep8, Yapf, and Black.

Pythonbest practicescode style
0 likes · 14 min read
Master Python Code Style: Practical PEP8 Guidelines and Tools
JD Tech Talk
JD Tech Talk
May 20, 2025 · Fundamentals

Java Code Style Guidelines: Standards, Tool Integration, and Best Practices

This article explains why consistent Java code style matters, reviews major industry standards such as Google and Alibaba, guides the selection and customization of a style guide, and demonstrates how to configure IntelliJ IDEA, Checkstyle, and Maven to enforce the rules throughout development.

IntelliJ IDEAcheckstylecode style
0 likes · 12 min read
Java Code Style Guidelines: Standards, Tool Integration, and Best Practices
DaTaobao Tech
DaTaobao Tech
May 14, 2025 · Backend Development

How a 2‑Year Journey Unified Java Backend Code Structure for Better Readability and Maintenance

This article shares a two‑and‑a‑half year effort to standardize code style and architecture across a large Java backend, detailing the origins, evolving patterns, a unified layered model, concrete implementation examples, measurable benefits, and future directions for continuous improvement.

Backend ArchitectureDomain-Driven DesignService Layer
0 likes · 16 min read
How a 2‑Year Journey Unified Java Backend Code Structure for Better Readability and Maintenance
Raymond Ops
Raymond Ops
Feb 4, 2025 · Fundamentals

Master Go Naming: Consistent, Concise, and Precise Conventions

Effective naming in Go requires consistency, brevity, and precision, with guidelines covering variable and function names, camel‑case conventions, short local variables, descriptive parameters, return values, method receivers, package naming, interface naming, and error types, illustrated by numerous code examples from the standard library.

Backendbest-practicescode style
0 likes · 7 min read
Master Go Naming: Consistent, Concise, and Precise Conventions
Code Mala Tang
Code Mala Tang
Dec 27, 2024 · Fundamentals

10 Practical Python Code Style Tricks for Production-Ready Readability

This article presents a collection of production‑level Python coding techniques—including descriptive naming, multi‑line comprehensions, parenthesized string concatenation, method chaining, defensive None checks, and decorators—to improve readability, maintainability, and overall code quality.

code styleproduction codereadability
0 likes · 12 min read
10 Practical Python Code Style Tricks for Production-Ready Readability
JD Tech
JD Tech
Dec 18, 2024 · Backend Development

Java Code Style Guide: Standards, Tools, and Best Practices

This article explains why consistent Java code style matters, reviews major industry style guides, shows how to choose and customize a style guide, and provides step‑by‑step instructions for configuring IntelliJ IDEA, Checkstyle, and Maven to enforce the standards in daily development.

IDEbest practicescheckstyle
0 likes · 13 min read
Java Code Style Guide: Standards, Tools, and Best Practices
JD Retail Technology
JD Retail Technology
Nov 29, 2024 · Fundamentals

Java Code Style Guidelines: Importance, Standards, and Tool Integration

This article explains why Java code style standards are essential for team collaboration, reviews major guidelines such as Google Java Style and Alibaba's p3c, and provides step‑by‑step instructions for configuring IntelliJ IDEA, Checkstyle, and Maven to enforce consistent, readable, and maintainable Java code.

IntelliJ IDEAbest practicescheckstyle
0 likes · 13 min read
Java Code Style Guidelines: Importance, Standards, and Tool Integration
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 9, 2024 · Frontend Development

Vue.js and Element‑plus Code Style and Naming Conventions

This article presents comprehensive Vue.js and Element‑plus coding standards, covering enum naming, directory and file naming conventions, component file structure, attribute and directive usage, boolean, function, class, constant, and enum naming rules, emphasizing consistency to improve readability and maintainability.

Component ArchitectureJavaScriptVue.js
0 likes · 15 min read
Vue.js and Element‑plus Code Style and Naming Conventions
Python Programming Learning Circle
Python Programming Learning Circle
Jul 8, 2024 · Fundamentals

Python Variable Usage, Naming Conventions, and Common Operations

This article teaches Python developers how to write cleaner, more elegant code by mastering variable unpacking, underscore placeholders, type annotations, PEP 8 naming rules, numeric literals, floating‑point precision handling with Decimal, boolean arithmetic tricks, and a wide range of string manipulation techniques, all illustrated with practical code examples.

DecimalPythonString Manipulation
0 likes · 10 min read
Python Variable Usage, Naming Conventions, and Common Operations
Top Architect
Top Architect
Jul 3, 2024 · Fundamentals

Step‑by‑Step Guide to Installing and Configuring the CheckStyle Plugin in IntelliJ IDEA

This article provides a step‑by‑step tutorial for installing and configuring the CheckStyle plugin in IntelliJ IDEA, explains how to address common CheckStyle warnings such as missing annotations, spacing, naming, formatting, logical errors and import‑order issues, includes screenshots, and also contains promotional material for ChatGPT services and a community group.

IntelliJ IDEAcheckstylecode style
0 likes · 9 min read
Step‑by‑Step Guide to Installing and Configuring the CheckStyle Plugin in IntelliJ IDEA
macrozheng
macrozheng
Jun 19, 2024 · Backend Development

Master CheckStyle in IntelliJ IDEA: Step-by-Step Guide to Clean Java Code

This guide walks you through installing and configuring the CheckStyle plugin in IntelliJ IDEA, explains how to import custom rule sets, and details common style violations such as missing annotations, spacing, naming, formatting, logical errors, and import order, offering practical fixes to keep Java code clean and consistent.

IntelliJ IDEAcheckstylecode style
0 likes · 4 min read
Master CheckStyle in IntelliJ IDEA: Step-by-Step Guide to Clean Java Code
MaGe Linux Operations
MaGe Linux Operations
May 8, 2024 · Fundamentals

Master Go Naming: Consistent, Concise, and Clear Conventions

This article explains how to choose consistent, short, and precise names in Go, covering general naming principles, the first rule about declaration‑use distance, CamelCase style, local variables, parameters, return values, receivers, exported identifiers, interface naming, error naming, package naming, import paths, and useful standard‑library examples.

Gobest practicescode style
0 likes · 6 min read
Master Go Naming: Consistent, Concise, and Clear Conventions
Architecture Digest
Architecture Digest
Jan 31, 2024 · Fundamentals

Installing and Using the CheckStyle Plugin in IntelliJ IDEA

This guide explains how to import, configure, and apply the CheckStyle plugin in IntelliJ IDEA, covering common annotation, formatting, naming, logical, and import‑order issues, and provides step‑by‑step screenshots to help Java developers enforce coding standards efficiently.

IntelliJ IDEAcheckstylecode style
0 likes · 4 min read
Installing and Using the CheckStyle Plugin in IntelliJ IDEA
JD Retail Technology
JD Retail Technology
Oct 19, 2023 · Fundamentals

Java Naming Conventions, Code Comments, and Advanced Language Features

This article explores the trade‑offs between efficiency, readability and maintainability in software development, presents common naming conventions and best‑practice guidelines for Java, discusses proper use of comments, and introduces advanced language constructs such as records, sealed classes and the upcoming Valhalla project.

Immutable ObjectsSealed ClassesValhalla
0 likes · 29 min read
Java Naming Conventions, Code Comments, and Advanced Language Features
JD Cloud Developers
JD Cloud Developers
Oct 5, 2023 · Fundamentals

Mastering Java Naming Conventions and Code Structure: From Basics to Best Practices

This comprehensive guide explores Java naming standards, comment strategies, class and method design, and practical patterns—covering everything from basic conventions to advanced features like sealed classes, value types, and immutable objects—to help developers write more readable, maintainable, and scalable code.

best practicesclass designcode style
0 likes · 29 min read
Mastering Java Naming Conventions and Code Structure: From Basics to Best Practices
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 5, 2023 · Frontend Development

Clean Code Practices and Tooling for Frontend Development

This article explains the concepts of external and internal code beauty, introduces essential frontend tooling such as ESLint, Prettier, Stylelint, husky, lint‑staged, EditorConfig, and CSSComb, and shares practical habits on documentation, naming, and commenting to help developers produce elegant, maintainable code.

ESLintGitPrettier
0 likes · 13 min read
Clean Code Practices and Tooling for Frontend Development
Java Architect Essentials
Java Architect Essentials
Jun 18, 2023 · Fundamentals

How to Install and Use the CheckStyle Plugin in IntelliJ IDEA

This article explains how to import, configure, and run the CheckStyle plugin in IntelliJ IDEA, describes common annotation and formatting issues it detects, and provides practical tips for fixing import order, character spacing, and other style violations in Java projects.

Development StandardsIntelliJ IDEAcheckstyle
0 likes · 4 min read
How to Install and Use the CheckStyle Plugin in IntelliJ IDEA
DataFunSummit
DataFunSummit
Mar 20, 2023 · Fundamentals

Practical Naming Guidelines for Code: Principles, Rules, and Vocabulary

This article provides practical, experience‑based naming guidelines for software development, covering precision, readability, abbreviation policies, language‑specific conventions, design‑pattern naming, and a comprehensive code‑term glossary to help developers choose clear and maintainable identifiers.

api-designbest practicescode style
0 likes · 40 min read
Practical Naming Guidelines for Code: Principles, Rules, and Vocabulary
ByteFE
ByteFE
Feb 13, 2023 · Frontend Development

Understanding ESLint: Principles, Configuration, AST, and Custom Rule Development

This article explains the fundamentals of ESLint, including its purpose, configuration files, AST-based analysis, the SourceCode abstraction, rule template creation, key functions, and the overall linting and fixing workflow, enabling developers to build custom linting plugins for consistent code style.

ASTCustom RulesESLint
0 likes · 14 min read
Understanding ESLint: Principles, Configuration, AST, and Custom Rule Development
ELab Team
ELab Team
Dec 14, 2022 · Frontend Development

Mastering ESLint: How AST Powers Code Linting and Custom Rules

This article explores the fundamentals of ESLint, explaining how it leverages abstract syntax trees (AST) to enforce code style, detect errors, and enable custom rule creation, while providing practical configuration examples, code snippets, and insights into the underlying processing pipeline.

ASTCustom RulesESLint
0 likes · 16 min read
Mastering ESLint: How AST Powers Code Linting and Custom Rules
DeWu Technology
DeWu Technology
Jun 6, 2022 · Frontend Development

Project Documentation Best Practices for Front-end Development

Effective front‑end project documentation should clearly define the project name, development environment, directory layout, SDK references, known pitfalls, deployment procedures, monitoring alerts, and business context, providing a consistent, searchable guide that speeds onboarding, reduces setup errors, and improves long‑term maintainability.

Development EnvironmentDirectory StructureREADME.md
0 likes · 9 min read
Project Documentation Best Practices for Front-end Development
Java Backend Technology
Java Backend Technology
Apr 26, 2022 · Backend Development

Mastering Java 8 Streams: Clean Code Tips and Common Pitfalls

This article explores how to write clean, maintainable Java 8 Stream and Lambda code by emphasizing proper line breaks, function decomposition, judicious use of Optional, choosing between returning Streams or Lists, avoiding parallel streams pitfalls, and leveraging best practices to improve readability and performance.

LambdaStreamsbest practices
0 likes · 13 min read
Mastering Java 8 Streams: Clean Code Tips and Common Pitfalls
Java Interview Crash Guide
Java Interview Crash Guide
Oct 27, 2021 · Backend Development

Master Java Naming Conventions: From Packages to Enums

This comprehensive guide explains Java naming standards for packages, classes, interfaces, abstract classes, exceptions, methods, variables, constants, enums, generics, and test code, providing clear rules, examples, and best‑practice code snippets to help developers write clean, maintainable code.

backend-developmentbest practicescode style
0 likes · 16 min read
Master Java Naming Conventions: From Packages to Enums
macrozheng
macrozheng
Sep 30, 2021 · Backend Development

Master Clean Java 8 Stream Code: Practical Tips for Readable Lambdas

This article explains how to write concise, readable Java 8 Stream and Lambda code by using proper line breaks, function extraction, Optional, choosing between Stream and List returns, and avoiding parallel streams, illustrated with real code examples and refactoring guidelines.

LambdaParallel StreamsStreams
0 likes · 14 min read
Master Clean Java 8 Stream Code: Practical Tips for Readable Lambdas
Xianyu Technology
Xianyu Technology
Sep 18, 2021 · Mobile Development

Flutter Linter Practices and Code Style Guidelines at Xianyu

Xianyu’s Flutter team defines a custom lint configuration in analysis_options.yaml, selecting stable rules from effective_dart, pedantic, flutter_lints and lints to enforce concise syntax, safe null handling, explicit typing, consistent style, and proactive quality checks, supported by CI enforcement and team‑wide consensus.

DARTFluttercode style
0 likes · 10 min read
Flutter Linter Practices and Code Style Guidelines at Xianyu
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
Liangxu Linux
Liangxu Linux
Oct 20, 2020 · Fundamentals

Essential Shell Script Style Guide: Best Practices and Tips

This guide consolidates practical conventions for writing clean, maintainable shell scripts, covering shebang usage, commenting, parameter validation, variable handling, indentation, naming, encoding, efficiency tricks, and static analysis with ShellCheck.

BashShell scriptingShellCheck
0 likes · 19 min read
Essential Shell Script Style Guide: Best Practices and Tips
Java Captain
Java Captain
Sep 10, 2020 · Fundamentals

IntelliJ IDEA Configuration and Shortcut Guide

This comprehensive guide details how to configure Maven, adjust code style settings, manage case‑sensitive completion, force Maven dependency updates, customize environment paths, hide files, modify keymaps, resolve CPU spikes, enable plugins, adjust memory, use presentation mode, inject language fragments, and resolve shortcut conflicts in IntelliJ IDEA, providing step‑by‑step instructions for each feature.

IDE configurationIntelliJ IDEAPlugins
0 likes · 13 min read
IntelliJ IDEA Configuration and Shortcut Guide
Open Source Linux
Open Source Linux
Jul 30, 2020 · Operations

Mastering Shell Script Style: Essential Guidelines for Clean, Efficient Bash Code

This article compiles practical shell‑script coding standards—covering shebang usage, commenting, parameter validation, variable handling, indentation, naming, encoding, logging, security, modular design, parallel execution, and static analysis with shellcheck—to help developers write readable, maintainable, and performant Bash scripts.

BashShell scriptingcode style
0 likes · 19 min read
Mastering Shell Script Style: Essential Guidelines for Clean, Efficient Bash Code
Amap Tech
Amap Tech
Apr 24, 2020 · Backend Development

Introducing the Java Development Manual (Taishan Edition): Unified Error Codes, Leap‑Year Pitfalls, SQL Alias, Code‑Style Tips, and Ternary‑Operator NPE Issues

The new Java Development Manual (Taishan Edition) adds 34 rules and revises 90 descriptions, introduces a unified five‑character error‑code scheme, warns about stream‑toMap and ternary‑operator null‑pointer traps, highlights leap‑year and SQL alias bugs, and recommends readability tweaks such as blank lines after returns.

BackendError Codescode style
0 likes · 8 min read
Introducing the Java Development Manual (Taishan Edition): Unified Error Codes, Leap‑Year Pitfalls, SQL Alias, Code‑Style Tips, and Ternary‑Operator NPE Issues
MaGe Linux Operations
MaGe Linux Operations
Mar 17, 2020 · Backend Development

Master Clean Shell Scripts: Proven Practices for Readable, Efficient Bash Code

This article compiles essential shell‑script guidelines—shebang usage, commenting, parameter validation, variable handling, indentation, naming conventions, encoding, permissions, logging, security, line continuation, quoting, modular main functions, scope control, return values, indirect references, heredocs, path resolution, brevity, parallel execution, and search tricks—to help you write maintainable and performant Bash scripts.

BashLinuxcode style
0 likes · 19 min read
Master Clean Shell Scripts: Proven Practices for Readable, Efficient Bash Code
FunTester
FunTester
Sep 6, 2019 · Backend Development

A Linear‑Style Java API Request Framework Using HttpClient

The article introduces a straight‑line (linear) code‑style Java framework for building and executing HTTP API requests, explains its design, provides the full source code, and demonstrates usage with a concise example illustrating GET/POST handling, headers, cookies, and response parsing.

Backendapi-testingcode style
0 likes · 7 min read
A Linear‑Style Java API Request Framework Using HttpClient
MaGe Linux Operations
MaGe Linux Operations
May 19, 2019 · Fundamentals

10 Elegant Python Tricks to Write Cleaner Code

This article presents ten elegant Python techniques—from multiple assignment and sequence unpacking to ternary expressions, chained comparisons, membership tests, truthiness checks, any/all functions, enumerate, and list comprehensions—showing how to make code more concise and readable.

code styleelegant codingprogramming tips
0 likes · 6 min read
10 Elegant Python Tricks to Write Cleaner Code
MaGe Linux Operations
MaGe Linux Operations
Feb 18, 2019 · Fundamentals

Boost Your Python Productivity: 5 Essential Setup Tips Every Developer Needs

Learn how to dramatically improve your Python development workflow by adopting static analysis tools, enforcing a consistent code style, optimizing tool responsiveness, choosing a comfortable editor, and wisely investing in essential software, with practical advice that transforms everyday coding into a faster, more enjoyable experience.

Developmentcode styleproductivity
0 likes · 12 min read
Boost Your Python Productivity: 5 Essential Setup Tips Every Developer Needs
21CTO
21CTO
Jan 12, 2019 · Fundamentals

Boost Your Python Skills: Simple Tips for More Pythonic Code

This article presents a collection of practical Pythonic techniques—including variable swapping, efficient looping, string concatenation, proper file handling, list manipulation, destructuring assignment, and dictionary iteration—to help developers write cleaner, more memory‑efficient, and more readable Python code.

Pythonbest practicescode style
0 likes · 4 min read
Boost Your Python Skills: Simple Tips for More Pythonic Code
MaGe Linux Operations
MaGe Linux Operations
Oct 17, 2018 · Fundamentals

Unlock Pythonic Elegance: 20 Best Practices for Cleaner Code

This article presents twenty Pythonic idioms—ranging from swapped assignment and unpacking to using generators, context managers, and built‑in functions—each with a discouraged version and a recommended, more readable alternative, helping developers write cleaner, more efficient Python code.

Idiomatic Pythoncode style
0 likes · 10 min read
Unlock Pythonic Elegance: 20 Best Practices for Cleaner Code
MaGe Linux Operations
MaGe Linux Operations
Sep 25, 2018 · Fundamentals

Master Pythonic Coding: 20 Essential Tips for Clean, Efficient Code

This article presents twenty practical Pythonic techniques, contrasting discouraged patterns with recommended idioms such as tuple swapping, unpacking, using the in operator, efficient string handling, proper dictionary iteration, generator usage, context managers, and more, each illustrated with clear before‑and‑after code examples.

code stylepythonic
0 likes · 9 min read
Master Pythonic Coding: 20 Essential Tips for Clean, Efficient Code
Python Programming Learning Circle
Python Programming Learning Circle
Sep 20, 2018 · Backend Development

Why Adopt a Personal PHP Coding Standard? Boost Efficiency and Readability

This article explains the importance of establishing personal PHP coding standards, covering benefits such as increased efficiency, readability, professionalism, and team collaboration, and provides detailed guidelines on file and folder naming, class and method conventions, indentation, comment styles, directory structure, and overall code style best practices.

PHPbest practicescode style
0 likes · 12 min read
Why Adopt a Personal PHP Coding Standard? Boost Efficiency and Readability
Alibaba Cloud Native
Alibaba Cloud Native
Sep 6, 2018 · Backend Development

How PouchContainer Enforces Code Style and Unit Testing in Go

This article explains how the PouchContainer project automates code‑style enforcement and comprehensive Golang unit testing using tools like golint, gometalinter, shellcheck, markdownlint, table‑driven tests, and mock implementations, integrating them into CI pipelines to ensure reliable releases.

GolangMockingcode style
0 likes · 16 min read
How PouchContainer Enforces Code Style and Unit Testing in Go
Java Captain
Java Captain
Jul 22, 2018 · Fundamentals

Best Practices for Writing Clean and Maintainable Code

This article summarizes essential clean‑code practices—including commenting, naming, method design, exception handling, concurrency, unit testing, and overall code structure—to help engineers write elegant, readable, and maintainable software.

clean codecode stylenaming conventions
0 likes · 10 min read
Best Practices for Writing Clean and Maintainable Code
21CTO
21CTO
Apr 12, 2018 · Fundamentals

10 Common Mistakes Beginner Programmers Make—and How to Fix Them

This article outlines the ten most frequent errors new programmers encounter—from poor attitude and self‑doubt to inconsistent coding style, bad naming, over‑commenting, and misuse of IDEs—and offers practical solutions and best‑practice tips to help them become more effective developers.

beginner programmingcode stylecoding best practices
0 likes · 11 min read
10 Common Mistakes Beginner Programmers Make—and How to Fix Them
MaGe Linux Operations
MaGe Linux Operations
Mar 31, 2018 · Fundamentals

5 Proven Hacks to Supercharge Your Python Development Environment

This article outlines five common pitfalls that slow down Python developers and provides practical, tool‑based solutions—like static analysis, consistent code style, fast editors, and smart tool investments—to dramatically boost productivity and create a comfortable coding setup.

Development Environmentcode styleeditor selection
0 likes · 12 min read
5 Proven Hacks to Supercharge Your Python Development Environment
MaGe Linux Operations
MaGe Linux Operations
Feb 25, 2018 · Fundamentals

10 Essential Python Tricks Every Beginner Should Know

This guide presents ten practical Python techniques—from list comprehensions and efficient looping to elegant swapping, list initialization, string formatting, multiple returns, dictionary access, using Counter, slicing, and consistent indentation—helping new programmers write cleaner, more Pythonic code.

Pythoncode styledictionary
0 likes · 9 min read
10 Essential Python Tricks Every Beginner Should Know
MaGe Linux Operations
MaGe Linux Operations
Aug 29, 2017 · Operations

Mastering Shell Script Style: Essential Guidelines for Clean, Efficient Bash Code

This article compiles comprehensive shell scripting best‑practice guidelines—including shebang usage, commenting, parameter validation, variable handling, indentation, naming conventions, encoding, permissions, logging, password safety, line continuation, efficiency tricks, quoting, function structuring, scope control, indirect references, heredocs, path resolution, parallel execution, modern syntax, and static analysis with ShellCheck—to help developers write readable, maintainable, and performant Bash scripts.

BashShell scriptingbest practices
0 likes · 18 min read
Mastering Shell Script Style: Essential Guidelines for Clean, Efficient Bash Code
21CTO
21CTO
Jun 5, 2017 · Frontend Development

How Classic Writing Rules Can Sharpen Your JavaScript Code Style

This article adapts William Strunk Jr.'s timeless seven writing principles to JavaScript development, showing how functions that do one thing, minimal code, active voice, logical grouping, avoiding spaghetti, feature‑based file organization, and true‑value naming can produce cleaner, more maintainable front‑end code.

best practicesclean codecode style
0 likes · 16 min read
How Classic Writing Rules Can Sharpen Your JavaScript Code Style
21CTO
21CTO
Apr 29, 2017 · Fundamentals

What Good Code Style Can Teach Us About Writing

The article explores how principles of clean code—clear naming, modular structure, and layered logic—can be applied to literary writing, using examples from classic Chinese novels to illustrate how thoughtful variable naming and multi‑threaded organization improve both code readability and narrative clarity.

best practicescode styleliterature
0 likes · 8 min read
What Good Code Style Can Teach Us About Writing
21CTO
21CTO
Apr 18, 2016 · Backend Development

How to Tidy Your PHP Code: Essential Formatting Rules and Best Practices

This article outlines practical PHP coding standards—including line breaks, spacing, naming conventions, PSR guidelines, and useful habits like method‑chaining layout and array formatting—to help developers write cleaner, more maintainable backend code.

PHP CS FixerPSRbest practices
0 likes · 6 min read
How to Tidy Your PHP Code: Essential Formatting Rules and Best Practices
21CTO
21CTO
Mar 1, 2016 · Fundamentals

How Unified Coding Standards Boost PHP Code Quality

This article explains why consistent PHP coding standards—covering line breaks, spacing, naming, and habits like method chaining and array formatting—are essential for readable, maintainable code, and offers practical examples and tools to enforce them across a development team.

PHPbackend-developmentbest practices
0 likes · 6 min read
How Unified Coding Standards Boost PHP Code Quality
ITPUB
ITPUB
Nov 13, 2015 · Backend Development

Eliminate Code Segregation: Writing Cleaner, More Elegant PHP

This article shows how to transform fragmented PHP snippets—such as disjointed loops, scattered timing code, and split error‑code definitions—into cohesive, readable structures using for‑loops, functional helpers, shutdown callbacks, and modern constant arrays, improving both aesthetics and maintainability.

BackendError HandlingPHP
0 likes · 5 min read
Eliminate Code Segregation: Writing Cleaner, More Elegant PHP
MaGe Linux Operations
MaGe Linux Operations
Oct 26, 2015 · Fundamentals

What Makes Code Truly Pythonic? 20 Idiomatic Examples Explained

This article explains the concept of "pythonic" code in Python, comparing concise, readable idioms with longer non‑pythonic alternatives across common tasks such as swapping variables, truth testing, string manipulation, list operations, comprehensions, dictionary handling, loop control, ternary expressions, enumerate, and zip.

code styleexamplesidiomatic
0 likes · 10 min read
What Makes Code Truly Pythonic? 20 Idiomatic Examples Explained