Tagged articles
345 articles
Page 2 of 4
Test Development Learning Exchange
Test Development Learning Exchange
Dec 7, 2024 · Fundamentals

Common Python Programming Problems and Solutions

This article presents a collection of 25 frequently encountered Python programming tasks, ranging from printing "Hello, World!" to checking file existence, each accompanied by concise explanations and ready-to-use code examples that illustrate fundamental concepts and techniques.

AlgorithmsCode ExamplesPython
0 likes · 14 min read
Common Python Programming Problems and Solutions
php Courses
php Courses
Nov 21, 2024 · Backend Development

PHP in_array() Function: Syntax, Parameters, and Practical Examples

This tutorial explains the PHP in_array() function, detailing its syntax, parameter meanings—including optional strict type checking—and provides three practical code examples demonstrating basic existence checks, strict type comparisons, and searching associative arrays to retrieve corresponding keys.

Code ExamplesPHPin_array
0 likes · 5 min read
PHP in_array() Function: Syntax, Parameters, and Practical Examples
php Courses
php Courses
Nov 13, 2024 · Backend Development

Using PHP strtr() Function for String Replacement

This article explains the PHP strtr() function, detailing its syntax and demonstrating various replacement scenarios—including simple character swaps, multiple replacements, sequence substitutions, and partial removals—through clear code examples and shows how it can be applied in practical string manipulation tasks.

BackendCode ExamplesPHP
0 likes · 4 min read
Using PHP strtr() Function for String Replacement
Test Development Learning Exchange
Test Development Learning Exchange
Nov 9, 2024 · Fundamentals

15 Common Python Variable Assignment Techniques

This article demonstrates fifteen practical ways to assign values to variables in Python, ranging from simple direct assignment and augmented operators to unpacking, dictionary unpacking, slicing, conditional expressions, and various comprehension forms, each accompanied by code examples and their outputs.

Code ExamplesPythonVariable Assignment
0 likes · 9 min read
15 Common Python Variable Assignment Techniques
Test Development Learning Exchange
Test Development Learning Exchange
Nov 8, 2024 · Fundamentals

Common Python Built‑in Functions with Examples

This article introduces a collection of frequently used Python built‑in functions, explains their purpose, provides concise code examples for each, and shows the corresponding output to help readers write more efficient and readable Python code.

Code ExamplesPythonbuilt-in functions
0 likes · 14 min read
Common Python Built‑in Functions with Examples
macrozheng
macrozheng
Nov 2, 2024 · Backend Development

Is Hutool Worth Using? A Deep Dive into Java’s Popular Utility Library

This article examines the popular Chinese Java utility library Hutool, discussing its features, recent updates, pros and cons, and provides practical code examples for integration, covering dependency setup, type conversion, email, ID generation, HTTP requests, caching, encryption, threading, and more.

Code ExamplesUtility Librarybackend-development
0 likes · 18 min read
Is Hutool Worth Using? A Deep Dive into Java’s Popular Utility Library
MaGe Linux Operations
MaGe Linux Operations
Oct 25, 2024 · Fundamentals

Unlock Python’s Hidden Gems: Master Essential Built‑in Functions and Modules

Explore a comprehensive guide to Python’s most useful built‑in functions and standard‑library modules—including all, any, argparse, Counter, defaultdict, dataclasses, datetime, functools.lru_cache, itertools.chain, json, pickle, pprint, re, timeit, and uuid—complete with clear explanations, practical examples, and real‑world use cases to boost your coding efficiency.

Code ExamplesStandard Library
0 likes · 44 min read
Unlock Python’s Hidden Gems: Master Essential Built‑in Functions and Modules
Test Development Learning Exchange
Test Development Learning Exchange
Oct 24, 2024 · Fundamentals

Python Turtle Graphics: Installation, Basic Shapes, and Advanced Visual Patterns

This guide explains that the turtle module is included with Python, then provides step‑by‑step code examples for drawing basic shapes like squares, stars, spirals, concentric circles, polygons, fractal trees, as well as advanced patterns such as colorful spirals, Koch snowflakes, Mandelbrot sets, the Chinese flag, and a simple map of China, all illustrated with complete runnable code snippets.

Code ExamplesGraphicsturtle
0 likes · 11 min read
Python Turtle Graphics: Installation, Basic Shapes, and Advanced Visual Patterns
php Courses
php Courses
Oct 24, 2024 · Backend Development

Using PHP str_replace for String Replacement and Deletion

This article explains the PHP str_replace function, its syntax, and demonstrates through three examples how to replace single characters, replace multiple words with an array, and delete characters from strings, providing code snippets and expected output for each case.

Code ExamplesPHPString Manipulation
0 likes · 4 min read
Using PHP str_replace for String Replacement and Deletion
macrozheng
macrozheng
Oct 11, 2024 · Fundamentals

Unlock Java’s Latest Power: Practical Guide to New Features from Java 9‑17

This article provides a concise, hands‑on overview of Java’s most useful language enhancements from Java 9 through Java 17—including private interface methods, Optional API upgrades, Stream API additions, var type inference, the new HTTP client, switch expressions, text blocks, records, instanceof pattern matching, and sealed classes—complete with clear code examples for each feature.

Code ExamplesNew Featuresjava
0 likes · 15 min read
Unlock Java’s Latest Power: Practical Guide to New Features from Java 9‑17
Python Crawling & Data Mining
Python Crawling & Data Mining
Oct 8, 2024 · Fundamentals

5 Python Techniques to Compute the Alternating Sum 1‑2+3‑4+…+99

This article presents five distinct Python solutions for calculating the alternating sum 1‑2+3‑4+…+99, illustrating approaches from basic loops with separate counters to concise one‑liners using itertools and generator expressions, and explains why each method satisfies the problem’s requirement of accumulating results in a single variable.

ArithmeticCode ExamplesLoops
0 likes · 5 min read
5 Python Techniques to Compute the Alternating Sum 1‑2+3‑4+…+99
Test Development Learning Exchange
Test Development Learning Exchange
Sep 25, 2024 · Fundamentals

Duck Typing and Polymorphism in Python

This article explains duck typing and polymorphism in Python, two fundamental object-oriented programming concepts, with practical code examples demonstrating how objects can be treated based on their behavior rather than their type.

Code ExamplesPythonduck-typing
0 likes · 8 min read
Duck Typing and Polymorphism in Python
php Courses
php Courses
Sep 11, 2024 · Backend Development

Using PHP file_put_contents() to Write Data to Files

This article explains the PHP file_put_contents() function, detailing its syntax, parameters, return values, and providing multiple code examples for writing strings, appending data, handling arrays, and using callbacks, while also offering tips for combining it with other file functions.

Code Examplesbackend-developmentfile-handling
0 likes · 5 min read
Using PHP file_put_contents() to Write Data to Files
php Courses
php Courses
Sep 11, 2024 · Backend Development

Using is_callable() in PHP to Check Callable Functions and Methods

This article explains PHP's is_callable() function, its parameters, and demonstrates its use with code examples for checking the callability of both functions and class methods, highlighting how it improves code robustness and maintainability.

Code Examplesbackend-developmentcallable functions
0 likes · 4 min read
Using is_callable() in PHP to Check Callable Functions and Methods
Test Development Learning Exchange
Test Development Learning Exchange
Aug 31, 2024 · Fundamentals

Understanding Python’s map() Function: Syntax, Basic and Advanced Usage with Examples

This article explains Python's built‑in map() function, covering its syntax, basic usage with lambda and regular functions, and advanced scenarios such as handling multiple iterables, dictionaries, strings, conditional filtering, zip, nested lists, and compares it with list comprehensions, providing clear code examples throughout.

Code ExamplesMAPPython
0 likes · 6 min read
Understanding Python’s map() Function: Syntax, Basic and Advanced Usage with Examples
Test Development Learning Exchange
Test Development Learning Exchange
Aug 27, 2024 · Fundamentals

An Introduction to Python's functools Module and Its Common Utilities

This article introduces Python's functools module, explaining key utilities such as partial functions, lru_cache, update_wrapper, wraps, cmp_to_key, singledispatch, FunctionTool, cache, and partialmethod, and provides practical code examples demonstrating how to create preset request functions, cache results, update signatures, and implement polymorphic behavior.

Code ExamplesPythonfunctools
0 likes · 7 min read
An Introduction to Python's functools Module and Its Common Utilities
php Courses
php Courses
Jul 30, 2024 · Backend Development

How to Use PHP's in_array() Function to Check for Elements in an Array

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 to help developers efficiently check element existence in arrays.

ArrayBackendCode Examples
0 likes · 5 min read
How to Use PHP's in_array() Function to Check for Elements in an Array
Test Development Learning Exchange
Test Development Learning Exchange
Jul 29, 2024 · Fundamentals

Leveraging Python dataclasses and typing for clean, type‑safe data models

This article explains how Python's dataclasses module, combined with the typing library, can automatically generate boilerplate methods, provide rich type annotations, support optional and union types, enable dictionary serialization, perform runtime checks, and be extended with field metadata for robust, maintainable code.

Code ExamplesPythondataclasses
0 likes · 6 min read
Leveraging Python dataclasses and typing for clean, type‑safe data models
Test Development Learning Exchange
Test Development Learning Exchange
Jul 28, 2024 · Backend Development

Boost API Automation Testing with Parameterized Python Decorators

This guide demonstrates how parameterized Python decorators can streamline repetitive tasks in API automation testing—handling login tokens, retries, environment selection, data‑driven tests, logging, performance monitoring, permission checks, mock responses, cleanup, and test tagging—reducing code duplication and improving maintainability.

API testingBackendCode Examples
0 likes · 8 min read
Boost API Automation Testing with Parameterized Python Decorators
MaGe Linux Operations
MaGe Linux Operations
Jul 11, 2024 · Fundamentals

Master Python list.sort vs sorted: Tips, Syntax, and Real-World Examples

This guide explains the differences between Python's list.sort method and the sorted function, covering their syntax, parameters, performance nuances, and practical examples such as ascending/descending order, custom key functions, and creating sorted copies without altering the original list.

Code ExamplesData StructuresPython
0 likes · 7 min read
Master Python list.sort vs sorted: Tips, Syntax, and Real-World Examples
MaGe Linux Operations
MaGe Linux Operations
Jun 29, 2024 · Fundamentals

Unlock Go’s Empty Interface: Store Any Type Anywhere

An empty interface in Go, defined without methods, can hold values of any type, enabling flexible data structures like slices, maps, and structs, and is commonly used in functions such as fmt.Println; this article explains its definition, usage, memory layout, and copying nuances with code examples.

Code Examplesempty interfacegeneric programming
0 likes · 6 min read
Unlock Go’s Empty Interface: Store Any Type Anywhere
Test Development Learning Exchange
Test Development Learning Exchange
Jun 28, 2024 · Fundamentals

Common Python Built-in Functions and Their Usage

This article introduces a collection of essential Python built-in functions—such as print, len, type, range, sum, sorted, abs, round, input, any/all, zip, enumerate, filter, map, reversed, and setdefault—explaining their typical use cases and providing concise code examples for each.

Code ExamplesPythonbuilt-in functions
0 likes · 5 min read
Common Python Built-in Functions and Their Usage
php Courses
php Courses
Jun 27, 2024 · Backend Development

Using PHP’s is_numeric() Function to Determine Numeric Values

This article explains PHP’s is_numeric() function, detailing its purpose, usage, return values, and edge cases, and provides multiple code examples—including variable checks and form input validation—to help developers reliably determine whether a variable or user input is numeric.

BackendCode ExamplesPHP
0 likes · 3 min read
Using PHP’s is_numeric() Function to Determine Numeric Values
Python Programming Learning Circle
Python Programming Learning Circle
Jun 24, 2024 · Fundamentals

Python List Comprehensions and Linear Algebra: From Simple Loops to Matrix Operations

This article demonstrates how Python’s expressive syntax—especially list comprehensions, dictionary and tuple comprehensions, and conditional expressions—can be used to implement fundamental linear‑algebra operations such as vector scaling, dot products, matrix transposition, projection, distance calculation, and even a one‑line linear solver, all illustrated with clear code examples.

Code ExamplesPythoneducational
0 likes · 15 min read
Python List Comprehensions and Linear Algebra: From Simple Loops to Matrix Operations
Liangxu Linux
Liangxu Linux
Jun 17, 2024 · Frontend Development

JavaScript Control Flow Essentials: Loops, Conditionals, and Hidden Password Tricks

This article showcases practical JavaScript snippets—including a 40‑iteration for‑loop, various if‑statement patterns, hidden password field tricks, complex else chains, while‑loop limits, and odd/even detection—illustrated with screenshots and commentary to help developers understand control flow and coding style nuances.

Code ExamplesControl FlowJavaScript
0 likes · 4 min read
JavaScript Control Flow Essentials: Loops, Conditionals, and Hidden Password Tricks
php Courses
php Courses
Jun 17, 2024 · Backend Development

Using PHP's array_reverse() Function to Reverse Arrays

This article explains the PHP array_reverse() function, its syntax, optional preserve_keys parameter, and provides multiple code examples demonstrating how to reverse indexed and associative arrays and combine the function with sort() for more complex array manipulations.

ArraysBackendCode Examples
0 likes · 3 min read
Using PHP's array_reverse() Function to Reverse Arrays
php Courses
php Courses
Jun 3, 2024 · Backend Development

Using fopen() in PHP: Syntax, Parameters, and Practical Examples

This article explains PHP's fopen() function, detailing its syntax, parameters, and four practical code examples for reading, writing, appending, and accessing URLs, while emphasizing proper mode selection and the importance of closing file handles to release resources.

BackendCode ExamplesPHP
0 likes · 3 min read
Using fopen() in PHP: Syntax, Parameters, and Practical Examples
21CTO
21CTO
May 21, 2024 · Backend Development

REST vs GraphQL: When to Choose the Right API Architecture

This article compares REST and GraphQL API styles, explaining their principles, advantages, disadvantages, typical use cases, and providing code samples so developers can decide which architecture best fits their project requirements.

Code ExamplesGraphQLWeb services
0 likes · 12 min read
REST vs GraphQL: When to Choose the Right API Architecture
MaGe Linux Operations
MaGe Linux Operations
May 2, 2024 · Fundamentals

Unlock Python’s Power: Master Multiprocessing for Faster, Scalable Code

This comprehensive guide explains Python’s multiprocessing module, covering process creation, inter‑process communication, pools, synchronization primitives, error handling, and real‑world examples such as web crawlers, data analysis, and game servers, helping developers harness multiple CPU cores to boost performance and avoid GIL limitations.

Code ExamplesParallelismPython
0 likes · 32 min read
Unlock Python’s Power: Master Multiprocessing for Faster, Scalable Code
Java Tech Enthusiast
Java Tech Enthusiast
May 1, 2024 · Fundamentals

Pitfalls of Arrays.asList in Java

Java's Arrays.asList method has three major pitfalls: it cannot directly convert primitive arrays like int[] because of autoboxing limits, it returns a fixed-size list that throws UnsupportedOperationException on modification, and the list shares its backing array so changes to the original array are reflected in the list; using Arrays.stream for boxing or wrapping the result in a new ArrayList avoids these issues.

Arrays.asListCode ExamplesCollections
0 likes · 4 min read
Pitfalls of Arrays.asList in Java
Top Architect
Top Architect
Apr 26, 2024 · Backend Development

Comprehensive Guide to Java 8 Stream API with Practical Examples

This article provides an in-depth tutorial on Java 8 Stream API, covering stream creation, intermediate and terminal operations, filtering, mapping, reduction, collection, sorting, grouping, and practical code examples, helping developers master functional programming with streams in Java.

Code ExamplesStream APIfunctional programming
0 likes · 24 min read
Comprehensive Guide to Java 8 Stream API with Practical Examples
php Courses
php Courses
Apr 24, 2024 · Backend Development

Key New Features in PHP 8: Named Parameters, Union Types, Match Expressions, and More

This article introduces the most important PHP 8 language features—including named arguments, union types, match expressions, the nullsafe operator, attributes, constructor property promotion, weak maps, static return types, throw expressions, the Stringable interface, get_debug_type, string helper functions, fdiv, and error‑suppression—providing explanations and code examples for each.

BackendCode Examplesfeatures
0 likes · 6 min read
Key New Features in PHP 8: Named Parameters, Union Types, Match Expressions, and More
Python Programming Learning Circle
Python Programming Learning Circle
Apr 2, 2024 · Artificial Intelligence

Overview of Common Python Libraries for Artificial Intelligence and Data Science with Code Examples

This article provides a comprehensive introduction to popular Python libraries for artificial intelligence, computer vision, data analysis, and machine learning—such as NumPy, OpenCV, scikit‑image, Pillow, TensorFlow, PyTorch, and many others—accompanied by concise code snippets and performance comparisons to help beginners select suitable tools.

AI librariesCode ExamplesData Science
0 likes · 33 min read
Overview of Common Python Libraries for Artificial Intelligence and Data Science with Code Examples
php Courses
php Courses
Mar 25, 2024 · Backend Development

Using PHP fgets() to Read Files Line by Line

This article explains how to use PHP's fgets() function to read files line by line, covering its syntax, parameters, and providing three practical code examples for basic reading, limiting byte length, and processing each line, including handling of file opening and closing.

Code ExamplesPHPfgets
0 likes · 6 min read
Using PHP fgets() to Read Files Line by Line
php Courses
php Courses
Mar 21, 2024 · Backend Development

Using PHP glob() Function to Retrieve File Paths

This article explains the PHP glob() function, its syntax, parameters, and various usage examples—including wildcard, brace expansion, and recursive matching—to help developers efficiently retrieve file paths based on pattern matching.

Code ExamplesPHPfile-matching
0 likes · 4 min read
Using PHP glob() Function to Retrieve File Paths
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 12, 2024 · Backend Development

Master Spring’s Essential Utility Classes: From Resources to AOP

This article provides a comprehensive guide to Spring 5.3.30 utility classes, covering resource handling, object and array utilities, number conversion, stream operations, system property resolution, collection helpers, AOP proxy tools, BeanFactory shortcuts, annotation processing, bean manipulation, validation, XML/HTML parsing, web utilities, and URI handling, all illustrated with clear code examples.

Code ExamplesUtility Classesbackend-development
0 likes · 9 min read
Master Spring’s Essential Utility Classes: From Resources to AOP
Su San Talks Tech
Su San Talks Tech
Mar 11, 2024 · Backend Development

Boost Java Development Efficiency with Hutool: Essential Utilities Explained

This article introduces the Hutool Java utility library, detailing its design principles and core features such as Convert, DateUtil, StrUtil, ReflectUtil, IdUtil, RandomUtil, BeanUtil, and JSONUtil, with code examples showing how each utility simplifies common development tasks and improves productivity.

Code ExamplesUtility Librarybackend-development
0 likes · 14 min read
Boost Java Development Efficiency with Hutool: Essential Utilities Explained
MaGe Linux Operations
MaGe Linux Operations
Mar 9, 2024 · Backend Development

Mastering Go Socket Programming: From TCP/UDP to HTTP Clients

This article explains Go’s socket programming model, covering the classic five‑step workflow, the versatile net.Dial function, and practical code examples for ICMP, TCP, and HTTP client operations, helping developers build networked applications efficiently.

Code ExamplesGoHTTP
0 likes · 10 min read
Mastering Go Socket Programming: From TCP/UDP to HTTP Clients
php Courses
php Courses
Feb 23, 2024 · Backend Development

Using PHP fgetc() to Read Characters from Files and User Input

This article explains PHP's fgetc() function for reading single characters from files or standard input, demonstrates opening files with fopen(), shows example code using while loops and switch statements, and provides practical usage tips for effective file and user input handling.

Code ExamplesPHPcharacter input
0 likes · 5 min read
Using PHP fgetc() to Read Characters from Files and User Input
php Courses
php Courses
Jan 19, 2024 · Backend Development

Using PHP file_put_contents() to Write Data to Files

This article explains the PHP file_put_contents() function, its syntax, parameters, return values, and provides multiple code examples for writing strings, appending data, and handling arrays or callbacks to efficiently write content to files without manual opening and closing.

Code ExamplesPHPbackend-development
0 likes · 4 min read
Using PHP file_put_contents() to Write Data to Files
php Courses
php Courses
Jan 17, 2024 · Backend Development

Understanding PHP 8 Readonly Properties: Definition, Benefits, and Usage

PHP 8 introduces readonly properties that can only be set during object initialization, providing immutable, constant-like behavior useful for defining constants, protecting sensitive data, and enhancing code safety, with examples showing initialization, immutability, consistency, and even getter/setter usage.

Code ExamplesPHPbackend-development
0 likes · 6 min read
Understanding PHP 8 Readonly Properties: Definition, Benefits, and Usage
php Courses
php Courses
Jan 15, 2024 · Backend Development

Using Named Parameters in PHP 8

PHP 8 introduces named parameters, allowing developers to pass arguments by name instead of position, which improves code readability, reduces errors, simplifies version migration, and enables more self‑documenting function calls, as demonstrated with several HTTP request examples and array‑handling snippets.

BackendCode ExamplesPHP
0 likes · 5 min read
Using Named Parameters in PHP 8
MaGe Linux Operations
MaGe Linux Operations
Jan 4, 2024 · Databases

Master MySQL Stored Procedures: Concepts, Syntax, and Real-World Examples

This guide explains MySQL stored procedures, covering their definition, benefits, parameter types, creation syntax, delimiter handling, multiple practical examples, calling conventions, debugging tips, and hands‑on exercises, enabling developers to efficiently write, test, and manage reusable SQL routines.

Code ExamplesStored ProcedureTutorial
0 likes · 17 min read
Master MySQL Stored Procedures: Concepts, Syntax, and Real-World Examples
macrozheng
macrozheng
Jan 3, 2024 · Backend Development

Unlock Java Productivity: Master Hutool’s Powerful Utility Library

This article introduces the Hutool Java utility library, outlines its modules, shows how to add it to a Maven project, and provides practical code examples for HTTP requests, random codes, pinyin conversion, timing, number handling, data masking, email sending, and Bloom filters, demonstrating how Hutool can streamline backend development.

Code ExamplesUtility Libraryhutool
0 likes · 14 min read
Unlock Java Productivity: Master Hutool’s Powerful Utility Library
Liangxu Linux
Liangxu Linux
Dec 25, 2023 · Fundamentals

Mastering C Pointers: From Memory Basics to Advanced Usage

This comprehensive guide explains the fundamentals of pointers in C, covering memory layout, variable storage, address arithmetic, const and void pointers, pointer arrays, function pointers, and common pitfalls, with clear diagrams and runnable code examples to deepen your understanding of low‑level programming.

Code ExamplesData Typesc++
0 likes · 30 min read
Mastering C Pointers: From Memory Basics to Advanced Usage
php Courses
php Courses
Dec 20, 2023 · Backend Development

File Caching and Memory Management in PHP Development

This article explains how to implement file caching and effective memory management in PHP, providing step‑by‑step instructions and code examples for creating cache directories, generating cache filenames, checking and clearing caches, and releasing variables and objects to prevent memory leaks.

BackendCode ExamplesMemory Management
0 likes · 5 min read
File Caching and Memory Management in PHP Development
Su San Talks Tech
Su San Talks Tech
Dec 15, 2023 · Backend Development

Boost Java Development with Hutool: Essential Modules and Practical Examples

This article introduces the Hutool Java utility library, outlines its core modules, shows how to integrate it via Maven, and provides practical code examples for HTTP requests, random code generation, pinyin conversion, timing, number handling, data masking, email sending, and Bloom filter usage.

Code ExamplesHTTPUtility Library
0 likes · 12 min read
Boost Java Development with Hutool: Essential Modules and Practical Examples
php Courses
php Courses
Dec 9, 2023 · Backend Development

Using PHP str_replace() Function: Syntax, Examples, and Applications

This article explains the PHP str_replace() function, its syntax, parameter details, and provides multiple code examples demonstrating simple string replacement, array-based replacements, URL modification, and HTML tag transformation.

Code ExamplesPHPbackend-development
0 likes · 4 min read
Using PHP str_replace() Function: Syntax, Examples, and Applications
php Courses
php Courses
Dec 5, 2023 · Backend Development

Using PHP file_put_contents() to Write Data to Files

This article explains the PHP file_put_contents() function, covering its syntax, parameters, return values, and multiple usage examples such as writing strings, appending data, handling arrays, and using callbacks, while also offering tips for efficient file operations in backend development.

Code ExamplesPHPbackend-development
0 likes · 5 min read
Using PHP file_put_contents() to Write Data to Files
php Courses
php Courses
Nov 28, 2023 · Backend Development

New Features and Improvements in PHP 8.3

PHP 8.3 introduces a suite of enhancements—including readonly class cloning, the json_validate() function, expanded Randomizer methods, typed class constants, anonymous readonly classes, dynamic constant access, refined date/time exceptions, improved unserialize() error handling, trait static properties, stack‑overflow detection, invariant constant visibility, and numerous other updates—aimed at making web development more efficient, secure, and expressive.

Code ExamplesNew FeaturesPHP
0 likes · 27 min read
New Features and Improvements in PHP 8.3
Test Development Learning Exchange
Test Development Learning Exchange
Nov 28, 2023 · Fundamentals

10 Practical Python Decorator Patterns to Supercharge Your Code

This article introduces ten useful Python decorator patterns—such as timing, logging, authentication, caching, input validation, retry, permission checks, type checking, singleton, and call counting—explaining their purpose, providing clear code examples, and showing how to apply them to enhance functions and classes.

Code Examplesbest practicesdecorators
0 likes · 7 min read
10 Practical Python Decorator Patterns to Supercharge Your Code
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Nov 17, 2023 · Fundamentals

Explore Java’s Evolution: Key New Features from JDK 10 to JDK 21

This article reviews the most important new features introduced in Java JDK 10 through JDK 21—including local‑variable type inference, the standardized HTTP client, experimental garbage collectors, pattern‑matching enhancements, records, sealed classes, and virtual threads—providing code examples and migration guidance for developers.

Code ExamplesJDKJava 21
0 likes · 16 min read
Explore Java’s Evolution: Key New Features from JDK 10 to JDK 21
Java Interview Crash Guide
Java Interview Crash Guide
Nov 13, 2023 · Backend Development

Boost Java Projects with Hutool: Essential Utility Library Overview

This article introduces Hutool, a comprehensive Java utility library that consolidates common functions such as file handling, encryption, date manipulation, and more, explains its key modules, shows how to add it via Maven, and provides practical code examples for utilities like DateUtil, StrUtil, NumberUtil, and SecureUtil.

Code ExamplesUtility Librarybackend-development
0 likes · 9 min read
Boost Java Projects with Hutool: Essential Utility Library Overview
php Courses
php Courses
Nov 10, 2023 · Backend Development

Using PHP file_get_contents() to Read Files and URLs

This article explains the PHP file_get_contents() function, its syntax, parameters, return values, and provides practical examples for reading local files and remote URLs, as well as further processing techniques such as content replacement and writing to new files.

Code Examplesfile-handlingfile_get_contents
0 likes · 6 min read
Using PHP file_get_contents() to Read Files and URLs
Test Development Learning Exchange
Test Development Learning Exchange
Nov 7, 2023 · Fundamentals

Understanding Python Unpacking: Benefits and Practical Examples

Python unpacking lets you extract multiple values from iterables in a single, readable statement, reducing code complexity and enabling concise operations such as simultaneous variable assignment, swapping, dictionary merging, and function argument handling, illustrated with numerous practical code examples.

Code ExamplesPythonfundamentals
0 likes · 5 min read
Understanding Python Unpacking: Benefits and Practical Examples
Python Programming Learning Circle
Python Programming Learning Circle
Nov 2, 2023 · Fundamentals

Python Built‑in Functions, Data Types, and Common Operations Overview

This article provides a comprehensive overview of Python's built‑in functions, including numeric, sequence, mapping, and conversion utilities, demonstrates data type usage such as bool, int, float, complex, and shows practical code examples for operations like sorting, filtering, iteration, file handling, and dynamic execution.

Code ExamplesData Typesbuilt-in functions
0 likes · 15 min read
Python Built‑in Functions, Data Types, and Common Operations Overview
Test Development Learning Exchange
Test Development Learning Exchange
Oct 26, 2023 · Fundamentals

Understanding Global and Local Variables in Python

This article explains the concepts and practical usage scenarios of global and local variables in Python, illustrating their roles in data sharing, configuration, temporary storage, scope isolation, and exception handling with clear code examples for interface automation and general programming.

Code ExamplesPythonglobal variables
0 likes · 5 min read
Understanding Global and Local Variables in Python
Liangxu Linux
Liangxu Linux
Oct 21, 2023 · Fundamentals

Master C Pointers: From Memory Basics to Advanced Usage

This article explains C pointers in depth, covering memory layout, declaration, initialization, dereferencing, pointer arithmetic, function pointers, passing by reference, dynamic memory allocation, and common use cases, with clear code examples for each concept.

Code Examplesc++pointers
0 likes · 9 min read
Master C Pointers: From Memory Basics to Advanced Usage
Architecture Digest
Architecture Digest
Oct 17, 2023 · Backend Development

Introduction to Hutool: A Comprehensive Java Utility Library

This article introduces Hutool, a versatile Java utility library that consolidates common functions such as file handling, encryption, caching, and more, provides Maven installation instructions, and demonstrates practical code examples for date, string, number, map, security, and captcha utilities.

Code ExamplesUtility Librarybackend-development
0 likes · 8 min read
Introduction to Hutool: A Comprehensive Java Utility Library
Top Architect
Top Architect
Oct 11, 2023 · Backend Development

Comprehensive Guide to Java 8 Stream API with Practical Code Examples

This article provides an in-depth tutorial on Java 8 Stream API, covering its concepts, creation methods, intermediate and terminal operations, mapping, reduction, collection, grouping, sorting, and includes numerous practical code examples to help developers master functional programming with streams.

Code ExamplesCollectionsStream API
0 likes · 26 min read
Comprehensive Guide to Java 8 Stream API with Practical Code Examples
php Courses
php Courses
Oct 8, 2023 · Backend Development

PHP file_put_contents() Function: Syntax, Parameters, and Usage Examples

This article explains the PHP file_put_contents() function, detailing its syntax, parameters (filename, data, mode, context), and provides multiple code examples demonstrating writing strings, appending data, handling arrays as JSON, and setting file permissions, along with usage tips.

Code ExamplesFile I/OPHP
0 likes · 5 min read
PHP file_put_contents() Function: Syntax, Parameters, and Usage Examples
21CTO
21CTO
Sep 24, 2023 · Artificial Intelligence

Why Mojo Promises C‑Level Speed with Python Simplicity for AI Development

This article introduces Mojo, a new AI‑focused programming language that combines Python’s ease of use with C‑grade performance, explains its claimed 35,000× speed boost, and walks through its seven key features and code examples for developers.

AI DevelopmentC performanceCode Examples
0 likes · 10 min read
Why Mojo Promises C‑Level Speed with Python Simplicity for AI Development
Liangxu Linux
Liangxu Linux
Sep 14, 2023 · Fundamentals

Master the Essential C Standard Library Functions for Professional Coding

This guide explores the most commonly used C standard library headers—stdio.h, stdlib.h, and string.h—detailing each function’s purpose, usage, and providing clear code examples such as printf, malloc, strcpy, and qsort to help programmers write cleaner, more efficient C code.

Code ExamplesSTDIOStandard Library
0 likes · 11 min read
Master the Essential C Standard Library Functions for Professional Coding
php Courses
php Courses
Sep 11, 2023 · Backend Development

Using PHP str_repeat() Function: Syntax, Parameters, and Practical Examples

This article explains the PHP str_repeat() function, covering its basic syntax, parameters, return value, and multiple practical examples such as creating separators, padding strings, generating patterns, and producing random strings, while providing complete code snippets and output demonstrations.

Code ExamplesPHPString Manipulation
0 likes · 6 min read
Using PHP str_repeat() Function: Syntax, Parameters, and Practical Examples
php Courses
php Courses
Sep 2, 2023 · Backend Development

Using PHP str_split() Function: Syntax, Parameters, and Practical Examples

This article explains PHP's str_split() function, detailing its syntax, parameters, return values, and providing multiple code examples that demonstrate splitting strings into character arrays, handling custom split lengths, empty strings, and invalid lengths, while also noting multibyte character considerations.

Code ExamplesPHPString Manipulation
0 likes · 5 min read
Using PHP str_split() Function: Syntax, Parameters, and Practical Examples