Tagged articles
34 articles
Page 1 of 1
IT Services Circle
IT Services Circle
Jul 20, 2025 · Fundamentals

Why __init__.py Is the Secret Backbone of Your Python Packages

This article explains the purpose and evolution of the __init__.py file, shows how it marks a directory as a Python package, demonstrates core functions like package initialization, API control, lazy importing, version management, and provides best‑practice guidelines with real‑world examples.

InitializationLazy ImportPackage
0 likes · 9 min read
Why __init__.py Is the Secret Backbone of Your Python Packages
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 28, 2025 · Backend Development

Master Spring Boot 3 Initialization: 7 Practical Techniques Explained

This article introduces seven Spring Boot 3 initialization mechanisms—including @PostConstruct, InitializingBean, @Bean initMethod, ApplicationRunner, ContextRefreshedEvent, SmartInitializingSingleton, and SmartLifecycle—detailing their usage, code examples, execution order, and suitable scenarios for effective application startup.

InitializationSpring Bootjava
0 likes · 8 min read
Master Spring Boot 3 Initialization: 7 Practical Techniques Explained
Ops Development & AI Practice
Ops Development & AI Practice
Apr 5, 2024 · Fundamentals

Master Go's Initialization: Variable, init, and main Execution Order

Understanding Go's initialization sequence—package-level variable setup, init function calls, and main execution—helps developers avoid circular dependencies, ensure correct startup order, and optimize launch time, especially when integrating third‑party libraries that run their own init logic before your code.

GoInitializationPackage Variables
0 likes · 7 min read
Master Go's Initialization: Variable, init, and main Execution Order
Open Source Linux
Open Source Linux
Jan 5, 2024 · Fundamentals

How Does the Linux Kernel Boot? A Deep Dive into Decompression and Initialization

This article explains the Linux kernel boot sequence, covering the decompression of a compressed kernel, the early startup code in head.S, the preparation steps performed by U-Boot, and the detailed initialization phases—including architecture setup, memory management, process creation, and the start_kernel routine.

AssemblyInitializationLinux
0 likes · 9 min read
How Does the Linux Kernel Boot? A Deep Dive into Decompression and Initialization
Baidu Geek Talk
Baidu Geek Talk
Dec 27, 2023 · Mobile Development

Mastering Swift in Baidu App: Common Pitfalls and Practical Solutions

This guide explores Swift's advantages for iOS development, outlines suitable migration scenarios, and provides detailed solutions for common issues such as string handling, error management, access control, JSON parsing, initialization rules, Objective‑C interop, modulemap configuration, and Library Evolution constraints.

Error HandlingInitializationLibrary Evolution
0 likes · 16 min read
Mastering Swift in Baidu App: Common Pitfalls and Practical Solutions
Liangxu Linux
Liangxu Linux
Oct 15, 2023 · Fundamentals

Mastering C Structs: Definitions, Alignment, and Practical Usage

This guide explains C structs—from basic definitions and declaration styles to memory alignment, byte sizing, bit‑field handling, nested structures, and using structs as function parameters—providing clear code examples and practical tips for efficient embedded and systems programming.

Initializationbit-fieldsc++
0 likes · 29 min read
Mastering C Structs: Definitions, Alignment, and Practical Usage
Yiche Technology
Yiche Technology
Jul 18, 2022 · Fundamentals

Deep Dive into Go's Map Implementation: Hash Tables, Hash Functions, and Runtime Mechanics

This article provides a comprehensive analysis of Go's map implementation, covering its hash‑table foundation, key type constraints, hash function characteristics, collision resolution strategies, runtime initialization, internal structures like hmap and bmap, and the various operations for creation, access, update, deletion, and resizing.

Data StructuresGoInitialization
0 likes · 21 min read
Deep Dive into Go's Map Implementation: Hash Tables, Hash Functions, and Runtime Mechanics
Java Backend Technology
Java Backend Technology
Oct 28, 2021 · Fundamentals

5 Common C Bugs Every Programmer Should Avoid

This article highlights five typical C programming mistakes—uninitialized variables, array out‑of‑bounds access, string overflows, double freeing memory, and invalid file pointers—explains why they occur, shows sample code and outputs, and offers practical tips to prevent each bug.

C ProgrammingInitializationarray bounds
0 likes · 14 min read
5 Common C Bugs Every Programmer Should Avoid
Liangxu Linux
Liangxu Linux
Oct 26, 2021 · Fundamentals

5 Sneaky C Bugs Every Programmer Should Avoid

This article lists five common C programming mistakes—uninitialized variables, array out‑of‑bounds access, string overflow, double free, and invalid file pointers—explains why they occur, shows concrete code examples with typical output, and offers practical ways to prevent each bug.

C ProgrammingInitializationMemory Management
0 likes · 13 min read
5 Sneaky C Bugs Every Programmer Should Avoid
php Courses
php Courses
Jul 13, 2021 · Backend Development

Understanding the runWithRequest Method and Application Initialization in ThinkPHP

This article explains the ThinkPHP runWithRequest method, its call to the initialize routine, and details the initialization steps including environment loading, configuration parsing, language pack loading, debug mode setup, middleware loading, and service registration and bootstrapping, with full code examples.

FrameworkInitializationThinkPHP
0 likes · 10 min read
Understanding the runWithRequest Method and Application Initialization in ThinkPHP
Programmer DD
Programmer DD
May 11, 2021 · Fundamentals

Mastering Java Constructors and Design Patterns: From Implicit to Singleton

This article provides a comprehensive guide to Java object creation, covering implicit, no‑argument, and argument constructors, initialization blocks, static initialization, default value guarantees, visibility rules, garbage collection, finalizers, and common construction patterns such as singleton, helper, factory, and dependency injection.

ConstructorsInitializationSingleton
0 likes · 17 min read
Mastering Java Constructors and Design Patterns: From Implicit to Singleton
php Courses
php Courses
Nov 9, 2020 · Backend Development

Understanding ThinkPHP Framework Execution Flow: Initialization and Debugging Techniques

This article walks through the ThinkPHP framework's initialization process, explains the underlying design patterns, shows how to trace method calls with debug_backtrace, and discusses configuration loading, container updates, debugging mode, and code redundancy, providing practical code examples for developers.

BackendFrameworkInitialization
0 likes · 14 min read
Understanding ThinkPHP Framework Execution Flow: Initialization and Debugging Techniques
Python Crawling & Data Mining
Python Crawling & Data Mining
Oct 26, 2020 · Fundamentals

Master Go Arrays: Definitions, Initialization, and Traversal Explained

This article introduces Go arrays, covering their definition as contiguous fixed-length collections of identical types, demonstrates various declaration syntaxes, shows how to initialize arrays with explicit values or automatic length inference, explains traversal techniques using for loops and range, and explores multidimensional arrays with practical code examples.

ArraysGoInitialization
0 likes · 7 min read
Master Go Arrays: Definitions, Initialization, and Traversal Explained
Top Architect
Top Architect
Jun 22, 2020 · Fundamentals

Understanding the Seven Stages of Java Class Loading and Initialization

This article explains the seven stages of Java class loading—Loading, Verification, Preparation, Resolution, Initialization, Using, and Unloading—detailing each step, the underlying mechanisms, code examples, and practical considerations such as class initialization triggers and the distinction between symbolic and direct references.

InitializationJVMbytecode
0 likes · 14 min read
Understanding the Seven Stages of Java Class Loading and Initialization
Senior Brother's Insights
Senior Brother's Insights
Nov 12, 2019 · Fundamentals

What Really Happens When Java Loads a Class and Creates an Object?

When Java executes a new expression, the JVM first ensures the class is loaded using the parent‑delegation model, then follows a five‑step loading and linking process before allocating heap memory, initializing fields, running static and instance code, and finally returning a reference to the new object.

InitializationJVMObject Creation
0 likes · 8 min read
What Really Happens When Java Loads a Class and Creates an Object?
Senior Brother's Insights
Senior Brother's Insights
Oct 27, 2019 · Fundamentals

Why Accessing a Superclass Static Field Skips Subclass Initialization – JVM Class Loading Explained

This article examines common Java interview questions about static field access, demonstrates how the JVM loads and initializes classes, explains why a subclass may not be initialized when referencing a superclass static variable, and details each phase of the JVM class‑loading lifecycle.

Bytecode VerificationInitializationJVM
0 likes · 13 min read
Why Accessing a Superclass Static Field Skips Subclass Initialization – JVM Class Loading Explained
Java Captain
Java Captain
Dec 26, 2018 · Backend Development

Understanding MyBatis Initialization: Configuration Creation and Design Patterns

This article explains the complete MyBatis initialization process, detailing how the XML configuration file is parsed into a Configuration object, how SqlSessionFactory and SqlSession are built, and highlights the Builder design pattern used throughout the setup, with code examples for manual configuration loading.

Builder PatternConfigurationInitialization
0 likes · 13 min read
Understanding MyBatis Initialization: Configuration Creation and Design Patterns
Xianyu Technology
Xianyu Technology
Nov 22, 2018 · Mobile Development

Flutter Initialization Process and Performance Optimization

The article explains that Flutter’s first‑page launch is slower because initialization proceeds through four stages—FlutterMain, FlutterNativeView, FlutterView, and Flutter Bundle—and shows that pre‑initializing the heavy native view, view, and bundle components can cut the initial latency to match later launches.

AndroidInitializationmobile-development
0 likes · 6 min read
Flutter Initialization Process and Performance Optimization
360 Tech Engineering
360 Tech Engineering
Oct 18, 2018 · Mobile Development

Analysis of RePlugin Process Management and Plugin Loading Mechanism

This article provides a detailed source‑code analysis of RePlugin's process management, covering process startup, attachBaseContext handling, IPC initialization, PMF setup, plugin installation, synchronization across processes, and the internal mechanisms for loading and updating plugins.

AndroidIPCInitialization
0 likes · 17 min read
Analysis of RePlugin Process Management and Plugin Loading Mechanism
Java Captain
Java Captain
Jun 10, 2018 · Fundamentals

Detailed Explanation of Java Object Creation and Initialization Process

This article provides an in‑depth overview of how Java objects are created and initialized, covering class loading, the various ways to instantiate objects (new, reflection, clone, deserialization), the step‑by‑step memory allocation and field initialization sequence, and the order of static and instance initialization across inheritance hierarchies.

InitializationJVMObject Creation
0 likes · 16 min read
Detailed Explanation of Java Object Creation and Initialization Process
Programmer DD
Programmer DD
May 21, 2018 · Backend Development

From web.xml to Spring Boot: How Java Servlets and Filters Evolved

This article walks through the evolution of Java web development, comparing the classic web.xml configuration with Servlet 3.0 annotations, Spring’s ServletContainerInitializer, and Spring Boot’s embedded‑container registration mechanisms, while exposing the underlying source code and initialization flow.

Embedded TomcatInitializationServlet
0 likes · 18 min read
From web.xml to Spring Boot: How Java Servlets and Filters Evolved
Java Captain
Java Captain
Apr 12, 2018 · Fundamentals

Java Constructors, Initialization, and Method Overloading Explained

This article explains how Java objects are initialized using explicit values, default values, and constructors, describes the characteristics and purpose of constructors, demonstrates their syntax with code examples, and introduces method overloading with practical illustrations.

ConstructorInitializationMethod Overloading
0 likes · 7 min read
Java Constructors, Initialization, and Method Overloading Explained
Java Captain
Java Captain
Jan 29, 2018 · Fundamentals

Understanding the Lifecycle of Java Classes in the JVM

This article explains the complete lifecycle of a Java class within the JVM, covering memory areas such as the method, heap, and stack regions, and detailing the five stages—loading, linking, initialization, usage, and unloading—along with code examples illustrating active and passive references.

InitializationJVMMemory Management
0 likes · 16 min read
Understanding the Lifecycle of Java Classes in the JVM
Java Captain
Java Captain
Nov 4, 2017 · Fundamentals

Understanding Java Class Loading, Verification, Preparation, and Initialization

This article explains the Java Virtual Machine's class loading lifecycle—including loading, verification, preparation, resolution, and initialization—illustrated with multiple code examples that show when static blocks and fields are executed and why certain classes may not be initialized.

InitializationJVMclass loading
0 likes · 13 min read
Understanding Java Class Loading, Verification, Preparation, and Initialization
Tencent Cloud Developer
Tencent Cloud Developer
Feb 5, 2017 · Frontend Development

Analysis of Vue.js 2.0 Initialization and Rendering Logic

Vue.js 2.0 initializes a component via the _init method, merges options, and mounts it with $mount, which creates a render function—whether from a custom function, template, or element—producing a Virtual DOM VNode that the patch algorithm diffs against the previous VNode to efficiently update the real DOM.

InitializationRenderingVirtual DOM
0 likes · 8 min read
Analysis of Vue.js 2.0 Initialization and Rendering Logic
Qunar Tech Salon
Qunar Tech Salon
Mar 6, 2016 · Fundamentals

Understanding Java Constructor Execution Order

This article examines the Java constructor execution sequence, detailing how class initialization proceeds from zeroed memory allocation through static and instance variable initialization, parent constructor invocation, and finally the subclass constructor, illustrated with sample code and explanatory comments.

ConstructorInitialization
0 likes · 4 min read
Understanding Java Constructor Execution Order