Tagged articles
27 articles
Page 1 of 1
Code Wrench
Code Wrench
Feb 18, 2026 · Backend Development

Master Go’s Object‑Oriented Patterns: Structs, Methods, and Interfaces Explained

This article walks through Go’s approach to object‑oriented design using a pet‑clinic example, covering struct definitions, pointer vs. value receivers, interface contracts, and a practical payment‑gateway demo, while illustrating memory behavior and the language’s duck‑typing philosophy.

BackendInterfacesmethods
0 likes · 6 min read
Master Go’s Object‑Oriented Patterns: Structs, Methods, and Interfaces Explained
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Dec 27, 2025 · Backend Development

Mastering Java Inner Classes: Organize, Encapsulate, and Simplify Your Code

The article explains how Java inner classes can be used to encapsulate related functionality, access private members of the outer class, implement interfaces for callbacks, and hide implementation details, providing clear code examples such as Car/Engine, Counter/Incrementer, Button listeners, and a Calculator with an Operation inner class.

CallbacksEncapsulationInner Classes
0 likes · 4 min read
Mastering Java Inner Classes: Organize, Encapsulate, and Simplify Your Code
php Courses
php Courses
May 30, 2025 · Backend Development

Design Principles, Best Practices, and Hidden Pitfalls of PHP Interfaces in 2025

This article examines the core design principles, modern best practices, and common hidden pitfalls of PHP interfaces in the 2025 ecosystem, providing concrete code examples and guidance on contract‑first design, single responsibility, interface segregation, dependency injection, versioning, testing, and advanced patterns such as adapters and plugin systems.

Backend DevelopmentInterfacesPHP
0 likes · 9 min read
Design Principles, Best Practices, and Hidden Pitfalls of PHP Interfaces in 2025
php Courses
php Courses
Apr 30, 2025 · Backend Development

Understanding Polymorphism in PHP: Types, Code Examples, and Practical Applications

This article explains PHP's polymorphism—covering method overriding, simulated method overloading, interface polymorphism, traits, abstract classes, magic methods, and performance considerations—while providing clear code examples and discussing real‑world uses such as plugin systems, testing mocks, middleware, and strategy patterns.

Design PatternsInterfacesMethod Overriding
0 likes · 9 min read
Understanding Polymorphism in PHP: Types, Code Examples, and Practical Applications
Raymond Ops
Raymond Ops
Jan 17, 2025 · Fundamentals

Unlocking Go’s Type System: From Basic Types to Reflection

This article explains Go’s static type system, introduces custom types and interface types, demonstrates how empty interfaces work, and shows how the reflect package can inspect and modify values at runtime, including struct fields, using concrete code examples.

InterfacesReflectionprogramming
0 likes · 13 min read
Unlocking Go’s Type System: From Basic Types to Reflection
Top Architect
Top Architect
Dec 22, 2024 · Backend Development

Do Service Layers Need Interfaces? A Critical Discussion on Spring‑Based Projects

The article examines whether a Service layer in a Spring‑based backend should be defined by interfaces, debunks common arguments for using interfaces, proposes a top‑down coding workflow, explores project structures for single and multiple implementations, and concludes that interfaces are only worthwhile when multiple implementations are required, while also containing promotional material for unrelated services.

Backend ArchitectureInterfacesService Layer
0 likes · 11 min read
Do Service Layers Need Interfaces? A Critical Discussion on Spring‑Based Projects
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 24, 2024 · Backend Development

Using Function Types and Interfaces to Build Flexible HTTP Handlers in Go

This article explains how Go's net/http package leverages function types combined with interfaces—particularly the Handler and HandlerFunc types—to create concise, flexible HTTP servers, reducing boilerplate, improving code reuse and testability, and demonstrates practical examples and underlying implementations.

Backend DevelopmentGoHandler
0 likes · 9 min read
Using Function Types and Interfaces to Build Flexible HTTP Handlers in Go
21CTO
21CTO
May 19, 2024 · Fundamentals

Mastering Software Abstraction: How to Design Clear, Maintainable Systems

This article explores the power of abstraction in software design, explaining its hierarchical levels, the role of interfaces, and practical questions to ask when modeling real‑world problems, guiding developers to create more maintainable, scalable, and communicative systems.

InterfacesSOLIDabstraction
0 likes · 7 min read
Mastering Software Abstraction: How to Design Clear, Maintainable Systems
MaGe Linux Operations
MaGe Linux Operations
Apr 27, 2024 · Fundamentals

Mastering Go Types and Interfaces: A Deep Dive into Reflection

This article explains Go's static type system, introduces custom types and interface definitions, demonstrates how interfaces store concrete values, and shows how the reflect package can inspect and modify values, covering empty interfaces, type assertions, and mutable reflect values with practical code examples.

InterfacesReflectionempty interface
0 likes · 14 min read
Mastering Go Types and Interfaces: A Deep Dive into Reflection
php Courses
php Courses
Apr 15, 2024 · Fundamentals

Understanding Abstraction in Object-Oriented PHP Programming

This article explains the core concept of abstraction in software engineering, illustrating how using interfaces and abstract methods in PHP can simplify code, improve maintainability, and reduce developer focus on low‑level details, demonstrated through concrete Shape examples for rectangles, circles, and triangles.

InheritanceInterfacesPHP
0 likes · 5 min read
Understanding Abstraction in Object-Oriented PHP Programming
Senior Brother's Insights
Senior Brother's Insights
Nov 2, 2023 · Backend Development

Master Go Interfaces: 14 Best Practices for Cleaner, More Maintainable Code

This article presents fourteen practical guidelines for designing Go interfaces, covering small interfaces, avoiding type switches, using interfaces for mocking, composition, proper abstraction levels, avoiding empty interfaces, cautious type assertions, full implementation, behavior declaration, and other pitfalls to write robust backend code.

Interfacessoftware design
0 likes · 5 min read
Master Go Interfaces: 14 Best Practices for Cleaner, More Maintainable Code
JD Retail Technology
JD Retail Technology
Sep 22, 2023 · Fundamentals

Master Go Basics: From Variables to Concurrency in One Guide

This article provides a comprehensive, beginner‑friendly walkthrough of Go language fundamentals, covering variable and constant declarations, zero values, functions with multiple returns and variadic parameters, struct‑based OOP, non‑intrusive interfaces, slices, maps, goroutines, channels, and the simple error‑handling model with defer, panic, and recover.

Error HandlingGoInterfaces
0 likes · 24 min read
Master Go Basics: From Variables to Concurrency in One Guide
Selected Java Interview Questions
Selected Java Interview Questions
Apr 28, 2021 · Fundamentals

Why Using Interfaces Improves Software Maintainability

The article explains that employing interfaces in a layered software architecture simplifies future maintenance by allowing changes to be made in a single implementation class, avoiding widespread code modifications across services, DAOs, and actions, and thereby reducing recompilation time and potential errors.

InterfacesJavalayered architecture
0 likes · 5 min read
Why Using Interfaces Improves Software Maintainability
Programmer DD
Programmer DD
Feb 25, 2021 · Fundamentals

Master Java Interfaces: Default & Static Methods Explained with Real-World Examples

This article explains what a Java interface really is, how it serves as a communication protocol between modules, and demonstrates the concepts with a complete computer‑assembly example, covering interface definitions, implementations, default methods, static methods, and conflict‑resolution rules introduced in Java 8.

Default MethodsInterfacesJava
0 likes · 15 min read
Master Java Interfaces: Default & Static Methods Explained with Real-World Examples
Programmer DD
Programmer DD
Feb 23, 2021 · Fundamentals

Mastering Java Interfaces: From Basic Contracts to Default & Static Methods

This article explains what Java interfaces are, how they act as contracts between modules, and demonstrates their use with concrete examples—including hardware analogies, default and static methods, conflict resolution rules, and practical code snippets for building a modular computer simulation.

Default MethodsInterfacesJava
0 likes · 15 min read
Mastering Java Interfaces: From Basic Contracts to Default & Static Methods
Sohu Tech Products
Sohu Tech Products
Mar 25, 2020 · Frontend Development

A Comprehensive Guide to TypeScript: Indexable Types, Interfaces vs Types, Generics, Utility Types, and More

This article provides an in‑depth overview of TypeScript, covering its motivation over JavaScript, indexable types, the differences between interface and type, inheritance with extends, the keyof operator, generics, utility types such as Partial and Omit, type assertions, function overloads, and practical usage tips, all illustrated with clear code examples.

GenericsInterfacesTypeScript
0 likes · 19 min read
A Comprehensive Guide to TypeScript: Indexable Types, Interfaces vs Types, Generics, Utility Types, and More
Alibaba Cloud Native
Alibaba Cloud Native
Jan 3, 2020 · Backend Development

Why Go Skips Inheritance: Master Interfaces, Composition, Modules and Concurrency

This article explains how Go avoids traditional class inheritance by using implicit interfaces and composition, demonstrates the Template Method pattern in Go, explores orthogonal design principles, details Go Modules versioning and migration from GOPATH/vendor, and reviews Go's concurrency models including goroutine, channel and context.

GoInterfacesModules
0 likes · 53 min read
Why Go Skips Inheritance: Master Interfaces, Composition, Modules and Concurrency
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Oct 11, 2019 · Frontend Development

From Skeptic to Fan: How TypeScript Won Me Over

This comprehensive guide explains why TypeScript has surpassed JavaScript in popularity, introduces its core concepts, basic and advanced types, generics, interfaces, classes, and modules, and provides step‑by‑step instructions for integrating TypeScript into both frontend and Node.js projects.

GenericsInterfacesJavaScript
0 likes · 31 min read
From Skeptic to Fan: How TypeScript Won Me Over
Taobao Frontend Technology
Taobao Frontend Technology
Mar 10, 2017 · Frontend Development

Why TypeScript Is the Secret Weapon for Large JavaScript Projects

This article introduces TypeScript as a Microsoft‑created superset of JavaScript that adds static typing, explains its type‑system fundamentals, compares it with lint tools, showcases practical code examples—including interfaces, implementations, and function overloads—and demonstrates how static analysis can catch bugs early and improve documentation for both front‑end and Node.js projects.

InterfacesJavaScriptTypeScript
0 likes · 14 min read
Why TypeScript Is the Secret Weapon for Large JavaScript Projects