Tag

coding

0 views collected around this technical thread.

Python Programming Learning Circle
Python Programming Learning Circle
Jun 11, 2025 · Fundamentals

Master Python’s @ Operator: Matrix Multiplication Made Simple

This article explains Python's @ operator for matrix multiplication, shows basic usage with NumPy, contrasts it with element‑wise *, demonstrates matrix‑vector multiplication, highlights common dimension‑mismatch errors, and provides a concise summary for efficient linear‑algebra calculations.

NumPyOperatorPython
0 likes · 4 min read
Master Python’s @ Operator: Matrix Multiplication Made Simple
php中文网 Courses
php中文网 Courses
Apr 28, 2025 · Backend Development

How to Use PHP's in_array() Function for Array Searches

This article explains PHP's in_array() function, detailing its syntax, parameters, return values, and demonstrates basic usage, strict mode comparison, and searching within multidimensional arrays through clear code examples and explanations for developers.

BackendPHPTutorial
0 likes · 5 min read
How to Use PHP's in_array() Function for Array Searches
php中文网 Courses
php中文网 Courses
Apr 27, 2025 · Backend Development

Understanding PHP strlen(): Syntax, Examples, and Usage

This article explains PHP's strlen() function, detailing its syntax, demonstrating how to calculate string lengths with and without spaces, and highlighting important considerations such as encoding support and special characters in various applications.

Backendcodingstring length
0 likes · 4 min read
Understanding PHP strlen(): Syntax, Examples, and Usage
Test Development Learning Exchange
Test Development Learning Exchange
Feb 26, 2025 · Fundamentals

Understanding Python Tuples: Definition, Features, and Practical Examples

This article introduces Python tuples, explaining their immutable ordered nature, core characteristics, and provides eleven practical code examples ranging from basic definition and indexing to unpacking, concatenation, using tuples as dictionary keys, and converting them to lists, illustrating common use cases and best practices.

Data StructureExampleImmutable
0 likes · 8 min read
Understanding Python Tuples: Definition, Features, and Practical Examples
Test Development Learning Exchange
Test Development Learning Exchange
Feb 14, 2025 · Fundamentals

Python List Comprehensions: Syntax, Examples, and Advanced Uses

This article introduces Python list comprehensions, explaining their concise syntax, basic and advanced usage patterns such as filtering, nested loops, dictionary and set comprehensions, and demonstrates numerous practical examples with code snippets for tasks like generating squares, filtering even numbers, combining lists, and processing files.

Data ProcessingTutorialcoding
0 likes · 9 min read
Python List Comprehensions: Syntax, Examples, and Advanced Uses
php中文网 Courses
php中文网 Courses
Feb 13, 2025 · Backend Development

Using PHP strlen() to Calculate String Length

This article explains PHP's strlen() function, its syntax, demonstrates how to calculate string lengths with and without surrounding spaces using code examples, and discusses important considerations such as encoding support and handling of special or multibyte characters.

BackendPHPcoding
0 likes · 4 min read
Using PHP strlen() to Calculate String Length
php中文网 Courses
php中文网 Courses
Jan 9, 2025 · Backend Development

10 Essential PHP Functions to Boost Development Efficiency

This article introduces ten essential PHP built‑in functions—including array_map, array_filter, array_reduce, json_encode/decode, and string utilities—explaining their purpose and providing clear code examples to help developers write more concise and efficient backend code.

BackendFunctionsPHP
0 likes · 5 min read
10 Essential PHP Functions to Boost Development Efficiency
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 27, 2024 · Frontend Development

Understanding JavaScript split() Method and Common Pitfalls

This article recounts a production incident caused by misusing JavaScript's split() on an empty string, then explains the method's syntax, basic usage, and common pitfalls such as empty strings, extra separators, and Unicode handling, offering practical solutions for each case.

FrontendJavaScriptbug
0 likes · 7 min read
Understanding JavaScript split() Method and Common Pitfalls
php中文网 Courses
php中文网 Courses
Nov 4, 2024 · Backend Development

Using PHP strlen() to Get String Length

This article explains how the PHP strlen() function works to determine the length of a string, provides a sample code snippet that assigns a string to a variable, calculates its length, and discusses important considerations such as byte versus character counting and encoding issues.

PHPbackend developmentcoding
0 likes · 3 min read
Using PHP strlen() to Get String Length
php中文网 Courses
php中文网 Courses
Oct 28, 2024 · Backend Development

How to Use PHP shuffle() to Randomly Rearrange Array Elements

This article explains the PHP shuffle() function, detailing its syntax, behavior of modifying the original indexed array, return value, and provides multiple code examples—including handling of non-indexed arrays—to demonstrate how to randomly reorder array elements in PHP.

BackendPHParray
0 likes · 4 min read
How to Use PHP shuffle() to Randomly Rearrange Array Elements
Selected Java Interview Questions
Selected Java Interview Questions
Oct 13, 2024 · Frontend Development

Essential VS Code Extensions for Enhanced Development Productivity

This article introduces a curated set of VS Code extensions—including GlassIt-VSC, Power Mode, Code Runner, Git Graph, Code Spell Checker, LeetCode, Project Manager, TODO Highlight, and Notes—that together improve visual appeal, code execution, version control, spelling accuracy, algorithm practice, project switching, task tracking, and markdown note‑taking for developers.

VS Codecodingdevelopment tools
0 likes · 7 min read
Essential VS Code Extensions for Enhanced Development Productivity
Python Programming Learning Circle
Python Programming Learning Circle
Oct 9, 2024 · Fundamentals

Drawing a Birthday Cake with Python Turtle Graphics

This article demonstrates how to use Python's turtle library to programmatically draw a birthday cake, explaining the motivation, step-by-step code implementation, and visual results, while also discussing code structure improvements and the mathematical concepts behind curve drawing.

PythonTutorialcoding
0 likes · 12 min read
Drawing a Birthday Cake with Python Turtle Graphics
php中文网 Courses
php中文网 Courses
Aug 29, 2024 · Backend Development

Understanding PHP strlen(): Syntax, Examples, and Usage

This article explains PHP's strlen() function, detailing its syntax, demonstrating how to calculate string lengths—including handling spaces and trimming—and highlighting important considerations such as character encoding and special characters, with clear code examples and output explanations.

BackendPHPcoding
0 likes · 3 min read
Understanding PHP strlen(): Syntax, Examples, and Usage
php中文网 Courses
php中文网 Courses
Aug 28, 2024 · Backend Development

How to Use PHP shuffle() to Randomly Rearrange Array Elements

This article explains PHP's shuffle() function, its syntax, behavior on indexed and associative arrays, and provides code examples demonstrating how to randomize array elements and handle the function's boolean return value in practice.

BackendPHParray
0 likes · 5 min read
How to Use PHP shuffle() to Randomly Rearrange Array Elements
php中文网 Courses
php中文网 Courses
Aug 26, 2024 · Backend Development

Avoid Hard‑Coded Array Indexes in PHP: Safer Alternatives

This article explains why using hard‑coded array indexes like $arr[0] in PHP can cause crashes, maintenance headaches, and unreadable code, and introduces safer built‑in functions such as current(), reset(), array_shift() and Laravel's Arr::first() with their pros and cons.

BackendBest PracticesLaravel
0 likes · 8 min read
Avoid Hard‑Coded Array Indexes in PHP: Safer Alternatives
Test Development Learning Exchange
Test Development Learning Exchange
Aug 8, 2024 · Fundamentals

Python datetime tutorial: current time, timestamps, date arithmetic, formatting, parsing, range generation, and calendar display

This tutorial demonstrates how to use Python's datetime and calendar modules to obtain the current date and time, convert dates to timestamps, perform date arithmetic, format and parse dates, generate date ranges, compare dates, and display monthly calendars, with clear code examples for each operation.

Date HandlingDateTimePython
0 likes · 6 min read
Python datetime tutorial: current time, timestamps, date arithmetic, formatting, parsing, range generation, and calendar display
php中文网 Courses
php中文网 Courses
Jul 19, 2024 · Backend Development

How to Use PHP strlen() to Get String Length

This article explains how the PHP strlen() function works to determine the length of a string, provides a clear example with code, discusses the difference between byte and character counts, and highlights important considerations regarding character encoding when using strlen in backend development.

BackendPHPcoding
0 likes · 4 min read
How to Use PHP strlen() to Get String Length
Python Programming Learning Circle
Python Programming Learning Circle
Jul 15, 2024 · Frontend Development

Recommended VSCode Extensions for Enhancing Appearance, Functionality, and Coding Efficiency

This article presents a curated list of over 60 VSCode extensions, organized into categories such as appearance optimization, functional extensions, coding efficiency boosts, and code formatting, providing practical descriptions, usage tips, and visual examples to help developers improve their editing experience.

FrontendVSCodecoding
0 likes · 16 min read
Recommended VSCode Extensions for Enhancing Appearance, Functionality, and Coding Efficiency
php中文网 Courses
php中文网 Courses
Jul 2, 2024 · Backend Development

Using PHP trim() to Remove Whitespace and Specific Characters from Strings

This article explains PHP's trim() function, its syntax, parameters, default behavior, and demonstrates how to remove whitespace or specific characters from strings using practical code examples; it also covers optional character mask usage and highlights important considerations when trimming strings in PHP development.

BackendPHPTRIM
0 likes · 3 min read
Using PHP trim() to Remove Whitespace and Specific Characters from Strings
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jun 22, 2024 · Artificial Intelligence

Claude 3.5 Sonnet: Performance Review and Real‑World Tests

Claude 3.5 Sonnet, Anthropic’s latest large language model, is evaluated across a range of Chinese‑language tasks, visual reasoning, coding, and game creation, showing faster, cheaper, and often superior results compared to GPT‑4o, while also revealing occasional failures in simple games and math problems.

AI modelAnthropicClaude 3.5
0 likes · 8 min read
Claude 3.5 Sonnet: Performance Review and Real‑World Tests