Tagged articles
57 articles
Page 1 of 1
Code Wrench
Code Wrench
Dec 10, 2025 · Fundamentals

Master Go Interview Essentials: Concurrency, Interfaces, GC, and More

This comprehensive guide covers the core Go concepts most frequently asked in interviews—including goroutine scheduling, channel communication, interface internals, garbage‑collection mechanics, toolchain utilities, error handling patterns, and struct memory layout—providing clear explanations, code examples, and practical tips to help candidates transition from writing Go code to truly understanding the language.

Error HandlingGoInterface
0 likes · 12 min read
Master Go Interview Essentials: Concurrency, Interfaces, GC, and More
Zhuanzhuan Tech
Zhuanzhuan Tech
Sep 14, 2025 · Fundamentals

What’s Inside a Laptop Hard Drive? A Deep Dive into HDD, SSD, and Hybrid Storage

This article explains the different types of laptop storage devices—including movable and fixed hard drives, mechanical HDDs, solid‑state SSDs, and hybrid SSHDs—detailing their classifications, internal structures, performance characteristics, interface standards, and the underlying principles of how they store and retrieve data.

HDDInterfaceSSD
0 likes · 33 min read
What’s Inside a Laptop Hard Drive? A Deep Dive into HDD, SSD, and Hybrid Storage
php Courses
php Courses
Aug 19, 2025 · Fundamentals

Mastering Abstract Classes and Interfaces in C++: A Practical Guide

This article explains how C++ uses abstract classes and pure virtual functions to define interfaces, compares abstract classes with simulated interfaces, provides concrete code examples, and outlines common real‑world scenarios such as game objects, GUI widgets, and plugin systems.

Abstract ClassCInterface
0 likes · 5 min read
Mastering Abstract Classes and Interfaces in C++: A Practical Guide
Architect
Architect
Jul 21, 2025 · Backend Development

Do You Really Need Interfaces for Service and DAO Layers in Spring?

While many developers add interfaces to every Service and DAO class, this article argues that with Spring’s dependency injection you can often omit them, examines common reasons for using interfaces, and proposes practical project structures and workflows for both single and multiple implementation scenarios.

Backend DevelopmentInterfaceService Layer
0 likes · 9 min read
Do You Really Need Interfaces for Service and DAO Layers in Spring?
Java Captain
Java Captain
May 11, 2025 · Fundamentals

Understanding Abstract Classes and Interfaces: Design Principles and Practical Uses

Abstract classes and interfaces are core object‑oriented concepts that enable reusable, extensible, and maintainable code; this article explains their definitions, design considerations, and real‑world applications, illustrated with Java examples of a Control hierarchy and a Shape interface implementation.

Abstract ClassInheritanceInterface
0 likes · 5 min read
Understanding Abstract Classes and Interfaces: Design Principles and Practical Uses
Raymond Ops
Raymond Ops
Mar 19, 2025 · Fundamentals

Unlocking Go’s Empty Interface: How Any Type Becomes a Value

This article explains Go’s empty interface, showing how it can hold values of any type, how to declare and use it in functions and data structures, and why copying between concrete slices and empty‑interface slices requires element‑wise assignment due to its two‑word memory layout.

GoInterfaceSlice
0 likes · 5 min read
Unlocking Go’s Empty Interface: How Any Type Becomes a Value
Java Backend Technology
Java Backend Technology
Mar 4, 2025 · Backend Development

When Are Service‑Layer Interfaces Really Needed?

This article examines the three classic reasons for defining interfaces on Service and DAO layers, explains why they often fall short when using Spring's dependency injection, and offers practical structuring and workflow tips for projects that may or may not require multiple implementations.

BackendInterfaceService Layer
0 likes · 8 min read
When Are Service‑Layer Interfaces Really Needed?
FunTester
FunTester
Sep 3, 2024 · Fundamentals

Understanding Nil Pointers and Interfaces in Go

This article explains how Go treats nil pointers within interfaces, why an interface containing a nil pointer is still non-nil, demonstrates the behavior with code examples, compares it to Java, and discusses practical implications for writing robust Go programs.

Interfacefundamentalsnil pointer
0 likes · 13 min read
Understanding Nil Pointers and Interfaces in Go
Liangxu Linux
Liangxu Linux
Aug 4, 2024 · Backend Development

Mastering Go’s Empty Interface: Store Any Type and Copy Data Safely

This guide explains Go's empty interface, how any value can be stored in it, demonstrates declaring variables and functions with interface{}, shows practical slice examples, discusses memory layout, and provides the correct way to copy data into an empty‑interface slice.

GolangInterfaceSlice
0 likes · 5 min read
Mastering Go’s Empty Interface: Store Any Type and Copy Data Safely
Architect
Architect
Jun 28, 2024 · Backend Development

Do Service and DAO Layers Really Need Interfaces? A Practical Spring Analysis

This article examines whether defining interfaces for Service and DAO layers is necessary in Spring projects, debunks common arguments for interfaces, proposes a top‑down coding workflow, and outlines strategies for handling multiple implementations without adding unnecessary abstraction.

Backend DevelopmentInterfaceService Layer
0 likes · 9 min read
Do Service and DAO Layers Really Need Interfaces? A Practical Spring Analysis
Go Programming World
Go Programming World
Jun 4, 2024 · Backend Development

Understanding and Using Empty Structs (struct{}) in Go

This article explains the zero‑size nature of Go's empty struct, demonstrates how its memory address behaves, shows its impact on struct alignment, and presents multiple practical patterns such as set implementation, large arrays, signal channels, no‑op methods, interface stubs, and the noCopy identifier.

ChannelInterfaceMemory
0 likes · 17 min read
Understanding and Using Empty Structs (struct{}) in Go
php Courses
php Courses
May 9, 2024 · Backend Development

Using Enums in PHP: Interfaces, Traits, Attributes, and Best Practices

This article explains PHP enums, showing how they improve code readability and safety, and demonstrates their integration with interfaces, traits, attributes, validation rules, casting, and matching mechanisms, providing practical examples and best‑practice recommendations for backend developers.

InterfacePHPattribute
0 likes · 7 min read
Using Enums in PHP: Interfaces, Traits, Attributes, and Best Practices
MaGe Linux Operations
MaGe Linux Operations
Apr 29, 2024 · Fundamentals

Unlocking Go’s Empty Interface: Store Any Type in One Variable

An empty interface in Go, defined as interface{}, can hold values of any type because it has no methods, enabling flexible data structures like slices, maps, and structs, and is commonly used in functions such as fmt.Println, though copying between typed and empty interface slices requires careful handling.

GoInterfaceempty interface
0 likes · 5 min read
Unlocking Go’s Empty Interface: Store Any Type in One Variable
Code Ape Tech Column
Code Ape Tech Column
Apr 27, 2024 · Backend Development

Do Service and DAO Layers Need Interfaces? When to Use Them in Spring Projects

This article examines whether every Service and DAO class in a Spring‑based backend should implement an interface, discusses the three traditional reasons for using interfaces, explains why they often do not hold up, and proposes practical structuring alternatives for single‑ and multi‑implementation scenarios.

InterfaceJavaService Layer
0 likes · 8 min read
Do Service and DAO Layers Need Interfaces? When to Use Them in Spring Projects
Architect's Tech Stack
Architect's Tech Stack
Apr 16, 2024 · Backend Development

Should the Service Layer Use Interfaces? A Critical Discussion

This article examines whether a Service layer in Java Spring projects truly requires interfaces, debunking common arguments, exploring development workflows without interfaces, discussing project structuring for single and multiple implementations, and concluding when interfaces are beneficial or unnecessary.

InterfaceJavaService Layer
0 likes · 7 min read
Should the Service Layer Use Interfaces? A Critical Discussion
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Apr 12, 2024 · Frontend Development

Improving TypeScript Type Reuse and Component Props in a UI Library

This article examines common TypeScript type‑reuse issues in a component library, compares type aliases and interfaces, demonstrates using utility types like Omit and Pick, introduces unified base props, shows tuple usage for hooks, and explains function overloads to improve code maintainability and type safety.

InterfaceTypeScriptUtility Types
0 likes · 10 min read
Improving TypeScript Type Reuse and Component Props in a UI Library
Ops Development & AI Practice
Ops Development & AI Practice
Apr 6, 2024 · Backend Development

How to Simulate Monkey Patching in Go Using Interfaces and Reflection

The article explains why Go does not support traditional monkey patching, then demonstrates two practical approaches—using interfaces with wrapper types and employing reflection—to extend a SimpleLogger with log levels without modifying its source, while discussing trade‑offs such as readability and performance.

Design PatternsGoInterface
0 likes · 6 min read
How to Simulate Monkey Patching in Go Using Interfaces and Reflection
Architects' Tech Alliance
Architects' Tech Alliance
Dec 13, 2023 · Fundamentals

Evolution of PCIe Standards and Test Requirements

This article traces the evolution of the PCI Express (PCIe) standard from its 1.0 inception to the latest 6.0 specification, highlighting key differences in data rates, encoding schemes, equalization techniques, and test requirements that enable higher bandwidth and reliability for modern data‑center and AI workloads.

InterfacePCIeencoding
0 likes · 11 min read
Evolution of PCIe Standards and Test Requirements
php Courses
php Courses
Oct 21, 2023 · Backend Development

Using the Stringable Interface in PHP 8 for Simplified String Operations

This article introduces PHP 8’s new Stringable interface, explains its purpose, shows how to implement it with example code, and demonstrates its seamless integration with common string functions such as str_replace, strlen, and substr for more concise string handling.

BackendInterfacePHP
0 likes · 5 min read
Using the Stringable Interface in PHP 8 for Simplified String Operations
Sohu Tech Products
Sohu Tech Products
Sep 14, 2022 · Frontend Development

Front‑Back End Collaboration Guidelines and Best Practices

This article presents a comprehensive set of front‑back end collaboration standards, covering why a coordination protocol is needed, detailed workflow steps, interface design rules, common pitfalls with concrete code examples, and the measurable benefits of adopting a unified development contract.

APICollaborationInterface
0 likes · 16 min read
Front‑Back End Collaboration Guidelines and Best Practices
FunTester
FunTester
Aug 31, 2022 · Fundamentals

Understanding Java Interfaces: Protocols, Default and Static Methods

This article explains the role of Java interfaces as communication protocols between modules, demonstrates their use with a computer‑assembly analogy, and covers Java 8 features such as default and static methods, method‑conflict resolution, and best practices for interface design.

InterfaceOOPdefault-method
0 likes · 15 min read
Understanding Java Interfaces: Protocols, Default and Static Methods
Architects' Tech Alliance
Architects' Tech Alliance
Aug 17, 2022 · Fundamentals

Overview of PCIe Evolution: From 3.0 to 7.0 and Future Roadmap

This article provides a comprehensive overview of the PCIe interface evolution, detailing the specifications, version milestones, bandwidth improvements, encoding and signaling changes from PCIe 3.0 through PCIe 7.0, and their impact on data‑center, AI/ML, and consumer hardware.

DataCenterHardwareInterface
0 likes · 9 min read
Overview of PCIe Evolution: From 3.0 to 7.0 and Future Roadmap
Top Architect
Top Architect
Jan 4, 2022 · Frontend Development

Guidelines for Front‑End/Back‑End Separation and API Specification (Version 1.0.0)

This article explains why and how to separate front‑end and back‑end responsibilities, introduces the SPA‑based architecture, outlines development processes, and provides a detailed API specification (including request/response formats, pagination, and special field rules) to improve collaboration and reduce integration effort.

APIBackendInterface
0 likes · 13 min read
Guidelines for Front‑End/Back‑End Separation and API Specification (Version 1.0.0)
DevOps Cloud Academy
DevOps Cloud Academy
May 7, 2021 · Operations

Understanding DevOps as an Interface, Not a Job Role

The article explains that DevOps should be viewed as an interdisciplinary interface rather than a specific job title, contrasts it with traditional roles like software developer or system administrator, and illustrates the concept with a Java‑style code example, while also including a brief promotional note about a DevOps training course.

Code ExampleDevOpsEngineering Roles
0 likes · 3 min read
Understanding DevOps as an Interface, Not a Job Role
ZhiKe AI
ZhiKe AI
Mar 15, 2021 · Backend Development

Building a Standalone In-Memory Cache with Expiration Support

This article explains how to create a simple single‑node in‑memory cache that supports per‑entry expiration by defining a generic cache interface and implementing it with Caffeine, using ConcurrentHashMap to store multiple caches keyed by expiration time.

CacheCaffeineExpiration
0 likes · 5 min read
Building a Standalone In-Memory Cache with Expiration Support
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jan 29, 2021 · Mobile Development

GKI Transformation Principles and Implementation Methods

The article explains Google’s GKI transformation requirements—preserving a stable Kernel Module Interface, using only exported and whitelisted symbols, employing vendor hook mechanisms for custom SoC/OEM code, detecting interface mismatches, and offering alternatives such as padding macros and existing kernel event registration to avoid breaking KMI.

AndroidAndroid11GKI
0 likes · 11 min read
GKI Transformation Principles and Implementation Methods
Java Captain
Java Captain
Jan 9, 2021 · Backend Development

Do Service and DAO Layers Need Interfaces? When to Use Them in Spring Projects

This article examines whether Service and DAO layers in Java Spring projects should always have interfaces, discusses the arguments for and against using interfaces, and proposes practical structuring and dependency‑injection techniques to decide when interfaces are truly necessary.

InterfaceJavaService Layer
0 likes · 8 min read
Do Service and DAO Layers Need Interfaces? When to Use Them in Spring Projects
Architecture Digest
Architecture Digest
Dec 21, 2020 · Backend Development

Do You Need an Interface for the Service Layer? A Critical Examination

This article examines whether a Service layer in a Spring‑based backend project truly requires an interface, debunks common justifications, proposes practical development workflows, and outlines the advantages and drawbacks of using or omitting interfaces in various architectural scenarios.

Backend ArchitectureInterfaceService Layer
0 likes · 8 min read
Do You Need an Interface for the Service Layer? A Critical Examination
Top Architect
Top Architect
Nov 3, 2020 · Backend Development

Do Service and DAO Layers Need Interfaces? When to Use Them in Spring Projects

This article examines whether every Service and DAO class in a Spring‑based backend should implement an interface, evaluates the common arguments for using interfaces, explains why they often do not hold up, and proposes practical structuring and development approaches for projects that may or may not need multiple implementations.

InterfaceJavaService Layer
0 likes · 9 min read
Do Service and DAO Layers Need Interfaces? When to Use Them in Spring Projects
Alibaba Cloud Developer
Alibaba Cloud Developer
Sep 2, 2020 · Fundamentals

Mastering C++ Interfaces: Zero‑Overhead Techniques and Practical Patterns

This article explores various ways to implement interfaces in C++, comparing virtual functions, the Pimpl idiom, hidden subclasses, callback mechanisms, function pointers, std::function, member function pointers, and non‑intrusive traits, highlighting their trade‑offs in performance, binary compatibility, and design flexibility.

CInterfacecallback
0 likes · 13 min read
Mastering C++ Interfaces: Zero‑Overhead Techniques and Practical Patterns
Programmer DD
Programmer DD
Sep 2, 2020 · Fundamentals

When to Use Java Interfaces Instead of Abstract Classes? A Complete Guide

This article explores three common doubts about Java interfaces, demonstrates how interface references can point to implementing objects, compares abstract classes and interfaces for achieving polymorphism, and provides detailed animal‑hierarchy examples with code, generics, and best‑practice recommendations.

Abstract ClassDesign PatternsGenerics
0 likes · 19 min read
When to Use Java Interfaces Instead of Abstract Classes? A Complete Guide
Programmer DD
Programmer DD
Aug 19, 2020 · Fundamentals

Why Does Java’s Comparable Interface Matter? A Deep Dive with Code Examples

This article explains the purpose of Java's Comparable interface, demonstrates how built‑in classes like String use it for natural ordering, shows the failure when custom objects lack it, and provides a step‑by‑step guide to implementing Comparable with practical code samples.

CollectionsComparableInterface
0 likes · 9 min read
Why Does Java’s Comparable Interface Matter? A Deep Dive with Code Examples
360 Tech Engineering
360 Tech Engineering
Mar 6, 2020 · Fundamentals

Understanding Method Sets, Interfaces, and Embedding in Go

This article explains Go's method sets, the relationship between method receivers and method sets, how interfaces work, and the role of embedding, providing code examples that illustrate value vs pointer receivers, interface implementation rules, and embedding differences for struct types.

EmbeddingInterfacemethod set
0 likes · 10 min read
Understanding Method Sets, Interfaces, and Embedding in Go
FunTester
FunTester
Jan 31, 2020 · Fundamentals

Understanding Java 8 Interface Default Methods and Their Compilation Constraints

This article explains Java 8 interface default methods, demonstrates why the provided code fails to compile due to accessing a non‑existent instance field, and clarifies how adding fields to an interface affects compilation, concluding that option A is the correct answer.

CompilationDefault MethodsInterface
0 likes · 5 min read
Understanding Java 8 Interface Default Methods and Their Compilation Constraints
Xueersi Online School Tech Team
Xueersi Online School Tech Team
Dec 20, 2019 · Fundamentals

Understanding Duck Typing and Interface Implementation in Go

This article analyzes Go's duck typing and interface mechanisms, explaining how interfaces are defined, implemented, and converted at runtime, including details of underlying structures like iface and eface, method sets, pointer vs value receivers, and type assertions, supplemented with code examples and assembly insights.

GoInterfaceRuntime
0 likes · 22 min read
Understanding Duck Typing and Interface Implementation in Go
Didi Tech
Didi Tech
May 17, 2019 · Fundamentals

Understanding Go Reflection: Types, Values, and Practical Applications

Go’s reflection, accessed via the reflect package’s TypeOf and ValueOf functions, lets programs inspect and modify runtime types and values—including fields, tags, and slices—while obeying settable rules, enabling generic utilities such as JSON serialization, deep equality checks, and dynamic ORM-like behavior.

@ValueDeepEqualGo
0 likes · 27 min read
Understanding Go Reflection: Types, Values, and Practical Applications
Java Captain
Java Captain
Jan 8, 2018 · Fundamentals

Understanding Abstract Classes and Interfaces in Java

This article explains the concepts, syntax, and design differences between Java abstract classes and interfaces, illustrating how each is used for abstraction, inheritance, and behavior contracts with code examples.

Abstract ClassInterfaceOOP
0 likes · 9 min read
Understanding Abstract Classes and Interfaces in Java
网易UEDC
网易UEDC
Sep 27, 2017 · Fundamentals

Beyond Screens: Rethinking Interfaces for Future Interaction Design

This article explores how interaction designers can expand the concept of interfaces beyond traditional screens, examining the evolution from CUI to NUI and showcasing diverse examples such as elevator panels, smart bikes, conversational robots, shape‑changing metal, and tactile displays for the blind.

Human-Computer InteractionInteraction DesignInterface
0 likes · 9 min read
Beyond Screens: Rethinking Interfaces for Future Interaction Design
Suning Design
Suning Design
Apr 17, 2014 · Frontend Development

6 Essential UI Design Principles to Boost User Experience

This article outlines six fundamental UI design guidelines—clarity, simplicity, familiarity, responsiveness, consistency, and visual appeal—to help designers create interfaces that enhance user experience and improve the success of web projects.

InterfaceUI designUser experience
0 likes · 6 min read
6 Essential UI Design Principles to Boost User Experience