Tag

interface

0 views collected around this technical thread.

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 ClassJavaOOP
0 likes · 5 min read
Understanding Abstract Classes and Interfaces: Design Principles and Practical Uses
Java Captain
Java Captain
Apr 22, 2025 · Backend Development

Using Custom Annotations, Abstract Classes, and Interfaces in Spring Backend Development

This article demonstrates how to create and apply custom Spring annotations for AOP logging, implements the corresponding aspect, and discusses the strategic use of abstract classes and interfaces to separate business logic from data access in both MongoDB and MySQL contexts.

AOPAbstract ClassCustom Annotation
0 likes · 8 min read
Using Custom Annotations, Abstract Classes, and Interfaces in Spring Backend Development
Python Programming Learning Circle
Python Programming Learning Circle
Mar 3, 2025 · Fundamentals

Using Abstract Base Classes (ABC) to Implement Interfaces in Python

This article explains how Python's Abstract Base Classes provide interface‑like contracts for OOP, demonstrates their use with a payment‑gateway example, shows how to build a plugin system, and highlights the benefits of early error detection, clear conventions, and extensibility.

OOPPlugin SystemPython
0 likes · 9 min read
Using Abstract Base Classes (ABC) to Implement Interfaces in Python
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 10, 2024 · Frontend Development

Why We Avoid Using interface and type for Business Data Structures in TypeScript

The article explains why declaring business data structures with TypeScript's interface or type is discouraged, illustrates practical problems such as property name changes and type mismatches, and advocates using classes to gain decorator support, combined behavior and data, and better extensibility.

TypeScriptclassdecorators
0 likes · 8 min read
Why We Avoid Using interface and type for Business Data Structures in TypeScript
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.

Gobackendfundamentals
0 likes · 13 min read
Understanding Nil Pointers and Interfaces in Go
Top Architect
Top Architect
Jul 13, 2024 · Backend Development

Do Service Layers Need Interfaces? Arguments, Project Structure, and Practical Recommendations

This article examines whether a Service layer in a Spring‑based backend should use interfaces, critiques the common justifications, proposes a top‑down coding workflow, explores AOP proxy options, and presents modular project structures for single or multiple implementations.

Service LayerSpringbackend architecture
0 likes · 10 min read
Do Service Layers Need Interfaces? Arguments, Project Structure, and Practical Recommendations
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.

Gochannelempty-struct
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.

AttributeBest PracticesEnum
0 likes · 7 min read
Using Enums in PHP: Interfaces, Traits, Attributes, and Best Practices
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.

JavaService LayerSpring
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.

JavaService LayerSpring
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.

Best PracticesComponent LibraryTypeScript
0 likes · 10 min read
Improving TypeScript Type Reuse and Component Props in a UI Library
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.

HardwarePCIedata center
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.

PHPPHP8String Operations
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.

APIBest PracticesCollaboration
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.

JavaOOPdefault-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.

BandwidthDataCenterHardware
0 likes · 9 min read
Overview of PCIe Evolution: From 3.0 to 7.0 and Future Roadmap
IT Architects Alliance
IT Architects Alliance
Feb 17, 2022 · Backend Development

Understanding Abstraction and Decoupling in Java Interface‑Based Development

The article discusses how abstraction and decoupling through Java interfaces—such as service layers, RPC APIs, and middleware adapters—can improve code maintainability, enable flexible implementation swaps, and clarify responsibilities, while also warning against over‑engineering in most business scenarios.

DecouplingJavaService Layer
0 likes · 8 min read
Understanding Abstraction and Decoupling in Java Interface‑Based Development
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.

APISPASpecification
0 likes · 13 min read
Guidelines for Front‑End/Back‑End Separation and API Specification (Version 1.0.0)
Top Architect
Top Architect
Dec 8, 2021 · Backend Development

Do You Need Interfaces in the Service Layer? A Top Architect’s Perspective

The article examines whether the Service layer in a Spring‑based Java project truly requires interfaces, debunks common justifications, proposes practical development workflows, and outlines project structures for both single and multiple implementations, concluding with recommendations on when to use interfaces.

JavaService LayerSpring
0 likes · 8 min read
Do You Need Interfaces in the Service Layer? A Top Architect’s Perspective
Architecture Digest
Architecture Digest
Aug 2, 2021 · Frontend Development

Guidelines for Front‑End/Back‑End Separation and API Specification (V1.0.0)

This article explains why front‑end and back‑end should be separated, describes the evolution from MVC to SPA, outlines responsibilities, development workflow, and provides a detailed version‑1.0.0 API contract including request/response formats, pagination, special data types, and mock‑server usage.

AJAXAPISPA
0 likes · 12 min read
Guidelines for Front‑End/Back‑End Separation and API Specification (V1.0.0)