Tagged articles
154 articles
Page 1 of 2
Data Party THU
Data Party THU
May 6, 2026 · Backend Development

How a Python Generic Repository Cuts 80% of Duplicate CRUD Code

The article demonstrates building a type‑safe, reusable generic repository with Python generics and SQLAlchemy, showing how to replace repetitive CRUD implementations across multiple FastAPI entities, reduce code size from hundreds of lines to a few dozen, and avoid common pitfalls such as missing rollbacks.

FastAPIGenericsPython
0 likes · 14 min read
How a Python Generic Repository Cuts 80% of Duplicate CRUD Code
Tech Musings
Tech Musings
Apr 10, 2026 · Fundamentals

Why Go’s New Hasher[T] Interface Redefines Safe Generic Hashing

Go’s 2025 addition of the generic Hasher[T] interface to hash/maphash standardizes safe hashing by embedding a random seed throughout recursive calls, resolves previous design flaws, and provides clear guidelines for custom hashers, comparable types, and practical applications such as Bloom filters, all while ensuring performance and correctness.

BloomFilterGenericsHashing
0 likes · 18 min read
Why Go’s New Hasher[T] Interface Redefines Safe Generic Hashing
21CTO
21CTO
Mar 7, 2026 · Fundamentals

Why Go Finally Embraced Generic Methods—and What It Means for Developers

The Go team has approved generic methods, overturning a long‑standing stance, while keeping full backward compatibility, sparking developer excitement, revealing lingering limitations with generic interfaces, and highlighting survey‑driven demand for additional language features such as enums and error handling.

Genericsgeneric methodsprogramming language design
0 likes · 5 min read
Why Go Finally Embraced Generic Methods—and What It Means for Developers
Code Wrench
Code Wrench
Feb 21, 2026 · Backend Development

What’s New in Go 1.26? Deep Dive into Green Tea GC, Generics, and Toolchain Upgrades

Go 1.26, released in February 2026, introduces the default-enabled Green Tea GC with 10‑40% lower overhead, new language capabilities like expression‑based new and self‑referencing generic constraints, a modernized go fix command, enhanced standard library security, performance benchmarks, and practical upgrade and compatibility guidelines for production environments.

GenericsGoGo 1.26
0 likes · 9 min read
What’s New in Go 1.26? Deep Dive into Green Tea GC, Generics, and Toolchain Upgrades
Code Wrench
Code Wrench
Feb 21, 2026 · Fundamentals

What’s New in Go 1.26? Deep Dive into Arena Memory, Generics, and Native HTTP/3

The article provides a comprehensive analysis of Go 1.26’s major enhancements—including stable Arena memory management, expanded generics in the standard library, native HTTP/3 support, integrated security checks, performance benchmarks, and practical upgrade recommendations for production environments.

ArenaGenericsGo
0 likes · 9 min read
What’s New in Go 1.26? Deep Dive into Arena Memory, Generics, and Native HTTP/3
IT Services Circle
IT Services Circle
Feb 20, 2026 · Backend Development

Go 1.26 Highlights: New new(expr) Syntax, Generic Self‑Reference, Compiler Optimizations & Experimental Features

The article provides a concise walkthrough of Go 1.26’s most impactful changes—including a streamlined new(expr) syntax for pointers, self‑referencing generics, deeper compiler escape analysis, explicit inline directives, experimental SIMD and secret‑handling packages, and a goroutine‑leak profiling tool—illustrated with ready‑to‑run code snippets and practical tips for immediate adoption.

Compiler OptimizationGenericsGo
0 likes · 8 min read
Go 1.26 Highlights: New new(expr) Syntax, Generic Self‑Reference, Compiler Optimizations & Experimental Features
java1234
java1234
Feb 18, 2026 · Fundamentals

A Complete Illustrated Guide to Java Generics: Benefits, Usage, and Common Pitfalls

This article explains why raw collections are unsafe, how Java generics enforce compile‑time type safety, reduce casting, improve code readability, and boost performance, and it walks through generic interfaces, collections, custom generic classes, inheritance rules, diamond syntax, and common restrictions with concrete code examples and diagrams.

CollectionsGenericsJava
0 likes · 10 min read
A Complete Illustrated Guide to Java Generics: Benefits, Usage, and Common Pitfalls
SpringMeng
SpringMeng
Feb 16, 2026 · Fundamentals

A Complete Illustrated Guide to Java Generics

This article explains why Java generics were introduced, demonstrates how they improve type safety and reduce casting through concrete examples with generic classes, interfaces, collections, custom generic methods, and highlights common pitfalls such as generic arrays and static methods.

CollectionsCustom Generic MethodsGenerics
0 likes · 9 min read
A Complete Illustrated Guide to Java Generics
macrozheng
macrozheng
Feb 2, 2026 · Fundamentals

Master Java Generics: Boost Type Safety and Reduce Casting

This article explains the motivation behind Java generics, their benefits such as compile‑time type checking and reduced casting, and provides concrete examples including generic classes, interfaces, collections, inheritance, custom generic methods, and common pitfalls, illustrated with code snippets and diagrams.

CollectionsGenericsJava
0 likes · 9 min read
Master Java Generics: Boost Type Safety and Reduce Casting
Architect's Tech Stack
Architect's Tech Stack
Nov 5, 2025 · Backend Development

Master Java Generics: Why T, E, K, V, and ? Matter and How to Use Them

This article explains the purpose of Java generics, the differences between type parameters like T, E, K, V and wildcards ?, demonstrates non‑generic versus generic implementations with concrete code examples, and introduces the PECS principle for choosing appropriate wildcards in production code.

GenericsPECSType Parameters
0 likes · 11 min read
Master Java Generics: Why T, E, K, V, and ? Matter and How to Use Them
macrozheng
macrozheng
Oct 31, 2025 · Fundamentals

Master Java Generics: Decoding T, E, K, V, and ? Symbols

This comprehensive guide explains the purpose and proper use of Java generic symbols T, E, K, V, and ?, covering their history, practical code examples, scope nuances, wildcard rules, advanced constraints, and best‑practice recommendations for writing safer, more flexible code.

BestPracticesGenericsJava
0 likes · 20 min read
Master Java Generics: Decoding T, E, K, V, and ? Symbols
Java Tech Enthusiast
Java Tech Enthusiast
Oct 30, 2025 · Backend Development

Master Java Generics: When to Use T, E, K, V, and Wildcards

This article explains why Java generics improve type safety, demonstrates how to replace raw Object containers with generic classes, clarifies the conventional meanings of type parameters T, E, K, V and the wildcard ?, and introduces the PECS principle for choosing appropriate wildcards in API design.

Backend DevelopmentGenericsJava
0 likes · 13 min read
Master Java Generics: When to Use T, E, K, V, and Wildcards
IT Services Circle
IT Services Circle
Oct 24, 2025 · Fundamentals

Master Java Generics: Decoding the T, E, K, V, and ? Symbols

This article demystifies Java generic symbols—T, E, K, V, and ?, explains why they exist, shows how to use them safely with clear code examples, and provides advanced tips and best‑practice guidelines for writing type‑safe, readable generic code.

?=ETGenerics
0 likes · 19 min read
Master Java Generics: Decoding the T, E, K, V, and ? Symbols
Su San Talks Tech
Su San Talks Tech
Oct 23, 2025 · Fundamentals

Master Java Generics: Decoding T, E, K, V, and ? Symbols

This article explains the purpose and usage of Java generic symbols T, E, K, V, and ?, covering their history, type‑safety benefits, practical code examples, advanced constraints, and best‑practice guidelines for writing clear and flexible generic code.

CollectionsGenericsJava
0 likes · 20 min read
Master Java Generics: Decoding T, E, K, V, and ? Symbols
Go Development Architecture Practice
Go Development Architecture Practice
Oct 23, 2025 · Fundamentals

How Go 1.26’s new Built‑in ‘new’ Accepts Any Expression – Simplify Code and Boost Performance

The article explains the background and need for helper functions that return pointers to values in Go, introduces the upcoming Go 1.26 extension that lets the built‑in new function accept arbitrary expressions, shows practical code examples, demonstrates memory‑leak avoidance and performance gains, and concludes with a brief outlook on the feature’s release.

GenericsGoMemory
0 likes · 8 min read
How Go 1.26’s new Built‑in ‘new’ Accepts Any Expression – Simplify Code and Boost Performance
Code Mala Tang
Code Mala Tang
Oct 6, 2025 · Frontend Development

How Rust’s Type Safety Can Transform Your TypeScript Code

A seasoned frontend developer shares why learning Rust, with its strict match statements and powerful type inference, inspired a deeper understanding of TypeScript’s type system, offering practical tips on clarity, concrete types, discriminated unions, and advanced utility types to write safer, more maintainable code.

GenericsRustType Safety
0 likes · 21 min read
How Rust’s Type Safety Can Transform Your TypeScript Code
21CTO
21CTO
Sep 29, 2025 · Backend Development

What’s New in Go 1.25? Core Generics, Performance Boosts, and GC Revolution

The article reviews Go 1.25’s major updates—including the removal of core types for generics, Cgroup‑aware GOMAXPROCS, the experimental greentea GC, a revamped JSON package, and toolchain enhancements—while offering migration tips and highlighting future language trends.

Garbage CollectionGenericsGo
0 likes · 8 min read
What’s New in Go 1.25? Core Generics, Performance Boosts, and GC Revolution
Go Programming World
Go Programming World
Jul 17, 2025 · Fundamentals

Mastering Go 1.23 Iterators: From Basics to Advanced Usage

This article explores the newly introduced iterator feature in Go 1.23, explaining what iterators are, why they were added, how to implement them manually, how to use the new iter package, and how the slices and maps packages provide iterator‑friendly utilities for Go developers.

GenericsGoIterators
0 likes · 34 min read
Mastering Go 1.23 Iterators: From Basics to Advanced Usage
Code Wrench
Code Wrench
Jul 12, 2025 · Backend Development

How to Simulate Inheritance in Go with Generics, Composition, and Interfaces

This article demonstrates how to achieve class‑inheritance‑like behavior in Go by combining generics, struct embedding, and interfaces, walking through a BaseJob generic base class, a ProductJob implementation, runtime polymorphism, and a unified task manager for scalable scheduling.

Genericscompositiontask scheduling
0 likes · 6 min read
How to Simulate Inheritance in Go with Generics, Composition, and Interfaces
Selected Java Interview Questions
Selected Java Interview Questions
May 12, 2025 · Fundamentals

Understanding Upper and Lower Bounds in Java Generics

This article explains Java generics' upper (extends) and lower (super) bounds, illustrating their usage with comprehensive code examples for generic classes, methods, and collections, and compares reading versus writing scenarios, helping developers write more flexible and type‑safe Java code.

GenericsType SafetyUpper Bound
0 likes · 12 min read
Understanding Upper and Lower Bounds in Java Generics
JD Cloud Developers
JD Cloud Developers
Apr 25, 2025 · Fundamentals

How Does Go Differ from Java? A Deep Dive into Language Features

This article compares Go and Java across core language features—code organization, visibility, variable and constant declarations, functions, interfaces, data types, reference types, error handling, and control structures—providing Java developers with practical insights for adopting Go in cloud‑native development.

Error HandlingGenericsGo
0 likes · 22 min read
How Does Go Differ from Java? A Deep Dive into Language Features
php Courses
php Courses
Apr 23, 2025 · Backend Development

Key New Features in PHP 9.0 and Their Impact on Modern Web Development

PHP 9.0 introduces a dramatically optimized JIT compiler, native generics and advanced type system, a stabilized fiber‑based async model, numerous developer‑experience enhancements, and strong backward‑compatibility tools, together delivering 15‑25% speed gains, lower memory usage, and better scalability for modern web applications.

AsyncBackendGenerics
0 likes · 7 min read
Key New Features in PHP 9.0 and Their Impact on Modern Web Development
Code Mala Tang
Code Mala Tang
Mar 21, 2025 · Fundamentals

How Python 3.12 Simplifies Generics with New PEP‑695 Syntax

Python 3.12 introduces PEP‑695, a new generic syntax that streamlines type annotations by allowing direct use of type parameters without extra imports, enabling clearer, more concise code for functions and classes, and aligning Python’s typing capabilities with modern programming languages.

GenericsPEP-695Python
0 likes · 6 min read
How Python 3.12 Simplifies Generics with New PEP‑695 Syntax
php Courses
php Courses
Feb 17, 2025 · Frontend Development

Comprehensive TypeScript Course Outline: Basics to Advanced Topics

This course provides a concise yet thorough introduction to TypeScript, covering installation, VSCode setup, data types, enums, unions, type inference, classes, inheritance, generics, modules, and more, guiding learners step‑by‑step through foundational and advanced concepts for effective TypeScript development.

CourseGenericsTypeScript
0 likes · 2 min read
Comprehensive TypeScript Course Outline: Basics to Advanced Topics
Raymond Ops
Raymond Ops
Jan 29, 2025 · Backend Development

Why Go Generics Hurt Performance: A Deep Dive into gcshape and Type Parameters

After a year of using Go's generics in production and open‑source projects, this article reveals the hidden performance penalties, pointer handling quirks, and best‑practice recommendations caused by the gcshape implementation and type‑parameter semantics.

GenericsType Parametersbest-practices
0 likes · 17 min read
Why Go Generics Hurt Performance: A Deep Dive into gcshape and Type Parameters
IT Services Circle
IT Services Circle
Jan 1, 2025 · Backend Development

Go 1.24 Introduces Generic Type Alias Support

The article explains how Go 1.24 finally enables type aliases to have their own generic type parameters, provides background on the previous limitation, demonstrates usage with concrete code examples, and notes the experimental flag required in Go 1.23.

Backend DevelopmentGenericsGo
0 likes · 5 min read
Go 1.24 Introduces Generic Type Alias Support
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 16, 2024 · Frontend Development

Resolving TypeScript Generic Component Props Type Mismatch and Discriminated Union Issues

This article discusses a TypeScript typing problem where a generic component array fails to produce type errors for mismatched props, explains why the compiler reports missing properties from unrelated unions, and presents several refined type definitions that correctly enforce prop validation for Input and Select components.

Component PropsDiscriminated UnionGenerics
0 likes · 9 min read
Resolving TypeScript Generic Component Props Type Mismatch and Discriminated Union Issues
DaTaobao Tech
DaTaobao Tech
Nov 6, 2024 · Fundamentals

Understanding Java Generics: Origins, Features, and the PECS Principle

Java generics, introduced in Java 5 to replace unsafe Object usage, provide compile‑time type safety, clearer code, and eliminate unchecked casts by allowing type‑parameterized classes, methods, and collections, while type erasure and bridge methods preserve backward compatibility, and the PECS rule (producer extends consumer super) guides safe use of wildcards through covariance and contravariance.

GenericsJavaPECS
0 likes · 11 min read
Understanding Java Generics: Origins, Features, and the PECS Principle
21CTO
21CTO
Sep 1, 2024 · Backend Development

What’s New in Go 1.23? Key Features and Improvements Explained

Go 1.23 introduces a range‑over‑func iterator, generic type alias preview, optional telemetry, several go command enhancements, numerous standard library updates, and compiler and linker optimizations, providing developers with a more powerful and flexible programming environment.

GenericsGoIterators
0 likes · 6 min read
What’s New in Go 1.23? Key Features and Improvements Explained
Architecture Digest
Architecture Digest
Aug 30, 2024 · Fundamentals

MoonBit: A Next‑Generation Cloud‑Native Programming Language with Modern Generics, Precise Error Handling, and Efficient Iterators

MoonBit is a Chinese‑developed, Rust‑like programming language that offers zero‑cost generics, compile‑time precise error handling, and high‑performance iterators, delivering dramatically faster compilation and smaller WebAssembly binaries for cloud and edge computing workloads.

Cloud NativeError HandlingGenerics
0 likes · 7 min read
MoonBit: A Next‑Generation Cloud‑Native Programming Language with Modern Generics, Precise Error Handling, and Efficient Iterators
Code Mala Tang
Code Mala Tang
Jul 10, 2024 · Frontend Development

Master TypeScript: Practical Tips, Advanced Types, and Real-World Projects

This comprehensive guide walks you through initializing a TypeScript project, explains core and advanced type features, shows how to integrate third‑party libraries, and provides real‑world examples for React and Node.js, while offering best‑practice tips to boost code quality and performance.

GenericsNode.jsReact
0 likes · 11 min read
Master TypeScript: Practical Tips, Advanced Types, and Real-World Projects
DaTaobao Tech
DaTaobao Tech
May 8, 2024 · Fundamentals

Comprehensive Overview of Java Fundamentals

This article surveys Java fundamentals, explaining OOP principles, differences from C++, polymorphism, static/final keywords, abstract classes versus interfaces, generics with type erasure, reflection, exception handling, core data structures, HashMap internals, serialization, key design patterns, and essential language constructs for developers.

Exception HandlingGenericsHashMap
0 likes · 16 min read
Comprehensive Overview of Java Fundamentals
Alibaba Cloud Developer
Alibaba Cloud Developer
Apr 28, 2024 · Fundamentals

Master Java Fundamentals: OOP, Collections, Concurrency, and Design Patterns

This comprehensive guide covers Java's core concepts—including object‑oriented principles, differences from C++, polymorphism, static/final modifiers, abstract classes versus interfaces, generics, reflection, exception hierarchy, key data structures like ArrayList, LinkedList, HashMap, ConcurrentHashMap, serialization, String handling, and essential design patterns such as Singleton, Factory, and Abstract Factory—providing interview‑ready knowledge for developers.

Design PatternsGenericsOOP
0 likes · 19 min read
Master Java Fundamentals: OOP, Collections, Concurrency, and Design Patterns
Ops Development & AI Practice
Ops Development & AI Practice
Apr 22, 2024 · Fundamentals

Mastering Go Generics: Real-World Examples and Practical Insights

This article introduces Go's groundbreaking generics feature introduced in version 1.18, explains its syntax and type constraints, demonstrates practical implementations such as generic functions, data structures, and methods with full code examples, and evaluates the benefits, challenges, and future prospects of using generics in Go.

Data StructuresGenericsGo
0 likes · 7 min read
Mastering Go Generics: Real-World Examples and Practical Insights
FunTester
FunTester
Mar 20, 2024 · Fundamentals

Java vs Go Generics: Syntax, Constraints, and Practical Differences

This article compares Java and Go generics, explaining their syntax, type constraints, union types, variance, and practical code examples, while highlighting key differences such as explicit constraints in Go, Java’s type hierarchy, and the impact on type switches and type safety.

ComparisonGenericsGo
0 likes · 10 min read
Java vs Go Generics: Syntax, Constraints, and Practical Differences
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Mar 1, 2024 · Frontend Development

Understanding TypeScript Type Inference in Zustand and Custom React Hooks

This article explores how TypeScript’s type inference works in the Zustand state‑management library, demonstrates practical examples such as automatic value inference, function return inference, generic‑based inference, and builds custom utilities like a pick method and a reusable useRequest hook, while also delving into middleware typing and advanced type‑level tricks.

GenericsReactType Inference
0 likes · 15 min read
Understanding TypeScript Type Inference in Zustand and Custom React Hooks
FunTester
FunTester
Dec 17, 2023 · Fundamentals

Understanding Java Generics: Concepts, Benefits, and Practical Examples

This article explains Java generics, covering type parameters, generic classes and interfaces, bounded types, wildcards, and generic methods, while highlighting benefits such as type safety, code reuse, readability, and performance, and provides multiple code examples demonstrating generic usage across different data types.

GenericsJavaType Safety
0 likes · 15 min read
Understanding Java Generics: Concepts, Benefits, and Practical Examples
JD Cloud Developers
JD Cloud Developers
Dec 6, 2023 · Frontend Development

Why TypeScript Is Essential for Modern Frontend Development

This article explains why TypeScript has become a must‑have tool for front‑end engineers, covering its static type system, improved code readability and maintainability, setup steps, configuration options, special types, generics, tooling integrations and best‑practice utilities to help developers write safer, more robust JavaScript applications.

GenericsToolingTypeScript
0 likes · 30 min read
Why TypeScript Is Essential for Modern Frontend Development
Alibaba Cloud Developer
Alibaba Cloud Developer
Nov 13, 2023 · Backend Development

What’s New in Java? Key JDK Changes from String to Private Interface Methods

This article reviews the major updates introduced in recent JDK releases, covering the shift from char[] to byte[] in String, expanded pattern‑matching in switch, removal of biased locking, G1 garbage‑collector evolution, JDK/JRE consolidation, generics specialization, and the addition of private methods in interfaces.

Backend DevelopmentGarbage CollectionGenerics
0 likes · 9 min read
What’s New in Java? Key JDK Changes from String to Private Interface Methods
DeWu Technology
DeWu Technology
Sep 15, 2023 · Backend Development

An Introduction to Generics in Go

Go introduced generics in version 1.18, allowing developers to write reusable, type‑safe code by defining type parameters and constraints in square brackets, instantiating them with concrete type arguments, and using generic functions, types, and collections such as stacks and sets to improve readability, safety, and maintainability.

GenericsGoType Parameters
0 likes · 13 min read
An Introduction to Generics in Go
Java Architect Essentials
Java Architect Essentials
Aug 6, 2023 · Fundamentals

Master Java Generics: From Basics to Advanced Customizations

This article explains why Java generics were introduced, outlines their benefits for type safety and code clarity, demonstrates common generic interfaces and collections, dives into usage details such as inheritance and shorthand forms, and shows how to create custom generic classes, methods, and avoid typical pitfalls.

CollectionsCustom Generic MethodsGenerics
0 likes · 9 min read
Master Java Generics: From Basics to Advanced Customizations
Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
Apr 13, 2023 · Frontend Development

Why TypeScript Is Essential for Modern Frontend Development – A Complete Guide

This article explains the rapid rise of TypeScript in front‑end engineering, outlines its four key benefits, provides a five‑minute crash course on basic types, functions, arrays, interfaces, generics and Vue integration, and offers a step‑by‑step guide for converting existing JavaScript projects to TypeScript while inviting developers to join the TinyVue open‑source community.

GenericsJavaScript MigrationTypeScript
0 likes · 20 min read
Why TypeScript Is Essential for Modern Frontend Development – A Complete Guide
Alipay Experience Technology
Alipay Experience Technology
Mar 17, 2023 · Frontend Development

Master Advanced TypeScript: From Basic Types to Powerful Type Tricks

This comprehensive guide walks through essential and advanced TypeScript concepts—including basic type fundamentals, complex conditional types, inference with infer, utility types like never and unknown, mapped and key‑remapped types, and practical type‑level algorithms—illustrated with real‑world examples and challenging type‑programming puzzles.

Conditional TypesGenericsType Inference
0 likes · 48 min read
Master Advanced TypeScript: From Basic Types to Powerful Type Tricks
Sohu Tech Products
Sohu Tech Products
Mar 16, 2023 · Mobile Development

Dart Generics: Covariance, Contravariance, and Type Safety

This article explains Dart's generic type system, comparing its covariance, contravariance, and invariance with Java and Kotlin, demonstrates practical code examples, discusses safety concerns of mutable covariant collections, and introduces the 'covariant' keyword for safe method overriding in Flutter development.

DARTFlutterGenerics
0 likes · 24 min read
Dart Generics: Covariance, Contravariance, and Type Safety
DaTaobao Tech
DaTaobao Tech
Mar 10, 2023 · Fundamentals

Understanding Generics, Extends, and Conditional Types in TypeScript

The article explains TypeScript generics—showing basic, default, and multiple‑parameter functions, generic classes and interfaces, and async request typing—while detailing how the extends keyword enables constraints and powerful conditional types, including distributive behavior, utility types like Pick, Omit, Exclude, and Extract, and the special never type.

Conditional TypesGenericsTypeScript
0 likes · 14 min read
Understanding Generics, Extends, and Conditional Types in TypeScript
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Jan 13, 2023 · Frontend Development

TypeScript Dictionary Factory Function with Type Hints

The article introduces a TypeScript dictionary factory that, using generics and `as const` assertions, converts a single source definition into multiple strongly‑typed representations (KV, VK, list, maps), eliminating duplication and keeping business dictionaries synchronized while providing full IntelliSense, albeit with some TypeScript‑only limitations.

Conditional TypesGenericsMapped Types
0 likes · 13 min read
TypeScript Dictionary Factory Function with Type Hints
Tencent Cloud Developer
Tencent Cloud Developer
Dec 30, 2022 · Backend Development

Implementation and Optimization of Generic Skip List in Go (stl4go)

stl4go provides a generic Go 1.18 container library that implements an optimized skip‑list‑based ordered map, using adaptive levels, efficient random‑level generation, type‑specific paths, and cache‑friendly node structures to achieve near‑C++ performance, surpassing existing Go generic collections.

Data StructureGenericsGo
0 likes · 18 min read
Implementation and Optimization of Generic Skip List in Go (stl4go)
MaGe Linux Operations
MaGe Linux Operations
Nov 15, 2022 · Backend Development

Go 1.18 & 1.19 Highlights: Generics, Fuzzing, Workspaces Explained

The article reviews Go’s 13‑year journey, focusing on the major 2022 releases Go 1.18 and Go 1.19, and explains new features such as generics, fuzz testing, workspaces, documentation improvements, memory limits, VS Code extensions, security tools, and the team’s future roadmap.

GenericsGoGo 1.18
0 likes · 4 min read
Go 1.18 & 1.19 Highlights: Generics, Fuzzing, Workspaces Explained
IT Services Circle
IT Services Circle
Nov 11, 2022 · Fundamentals

Using Mapped Types to Transform Index Types in TypeScript

This article explains how TypeScript index types work, demonstrates using mapped types to add modifiers like readonly, shows how to split index types into separate components with custom generic types, and provides recursive examples for extracting property paths, illustrating advanced type manipulation techniques.

GenericsIndex TypesMapped Types
0 likes · 6 min read
Using Mapped Types to Transform Index Types in TypeScript
DaTaobao Tech
DaTaobao Tech
Oct 27, 2022 · Backend Development

Applying the Strategy Pattern in Java Backend Development: Best Practices and Iterations

The article demonstrates how to replace fragile if‑else shop‑ranking logic in a Java backend with the Strategy pattern, progressing from simple factories and enums to Spring‑auto‑wired and generic factories, highlighting improved extensibility, reduced coupling, Open‑Closed compliance, and the trade‑off of added abstraction complexity.

Backend DevelopmentFactory PatternGenerics
0 likes · 16 min read
Applying the Strategy Pattern in Java Backend Development: Best Practices and Iterations
21CTO
21CTO
Sep 12, 2022 · Backend Development

Go 2022 Q2 Survey: Surprising Insights on Generics, Fuzzing, and Security

Based on responses from 5,752 developers, the 2022 Q2 Go survey uncovers rapid adoption of generics, low awareness of built-in fuzz testing, major security concerns around third-party dependencies, challenges in error handling, and preferences for tooling and platforms, offering a comprehensive snapshot of the Go ecosystem.

GenericsGodeveloper tools
0 likes · 6 min read
Go 2022 Q2 Survey: Surprising Insights on Generics, Fuzzing, and Security
Tencent Cloud Developer
Tencent Cloud Developer
Sep 1, 2022 · Backend Development

Exploring Go 1.18's Major New Features: Generics, Fuzzing, and Workspaces

Exploring Go 1.18, the article walks readers through its three flagship additions—generics, fuzzing, and workspaces—detailing installation, underlying implementation concepts, practical code examples, and how each feature enhances type safety, automated testing, and multi‑module dependency management for modern backend development.

Automated TestingBackend DevelopmentGenerics
0 likes · 22 min read
Exploring Go 1.18's Major New Features: Generics, Fuzzing, and Workspaces
ByteFE
ByteFE
Aug 8, 2022 · Frontend Development

Comprehensive Guide to TypeScript: Basics, Advanced Types, and Practical Utilities

This article provides an in‑depth overview of TypeScript, covering its origins, basic and advanced type features, utility types, function overloads, generics, type inference, assertions, global types, and practical patterns such as enhanced Omit, deep Pick, and object assign type utilities for robust frontend development.

GenericsType InferenceTypeScript
0 likes · 29 min read
Comprehensive Guide to TypeScript: Basics, Advanced Types, and Practical Utilities
MaGe Linux Operations
MaGe Linux Operations
Aug 8, 2022 · Backend Development

Can Go’s New Generics Unlock Functional Programming?

This article explores how Go 1.18’s generic type parameters enable functional programming features such as higher‑order functions, lazy evaluation, and partial application, while also highlighting the limitations and design compromises that arise from Go’s type system and language ergonomics.

GenericsGoHigher-Order Functions
0 likes · 27 min read
Can Go’s New Generics Unlock Functional Programming?
Cognitive Technology Team
Cognitive Technology Team
Aug 6, 2022 · Backend Development

Common Pitfalls of java.util.Arrays.asList in Java

This article explains three major pitfalls when using java.util.Arrays.asList: passing primitive arrays, attempting to modify the returned list, and misunderstanding that the list shares the original array, providing code examples and proper alternatives for each case.

Arrays.asListBackend DevelopmentCollections
0 likes · 6 min read
Common Pitfalls of java.util.Arrays.asList in Java
Selected Java Interview Questions
Selected Java Interview Questions
Aug 4, 2022 · Fundamentals

Understanding Java Generics: Concepts, Benefits, Common Uses, and Custom Implementations

This article explains the purpose of Java generics, their advantages for type safety and code robustness, demonstrates typical generic interfaces and collections with code examples, and discusses detailed usage rules, inheritance behavior, shorthand syntax, and how to create custom generic classes and methods.

CollectionsGenericsType Safety
0 likes · 9 min read
Understanding Java Generics: Concepts, Benefits, Common Uses, and Custom Implementations
Laravel Tech Community
Laravel Tech Community
Aug 3, 2022 · Fundamentals

Go 1.19 Release: New Features, Improvements, and Compatibility

Go 1.19 has been released, bringing toolchain, runtime, and library enhancements such as refined generics, improved documentation comments, a formally aligned memory model with new atomic types, security changes to os/exec, soft memory‑limit garbage collection, a new unix build constraint, and numerous performance optimizations, all while preserving full Go 1 compatibility.

GenericsMemory ModelProgramming Language
0 likes · 4 min read
Go 1.19 Release: New Features, Improvements, and Compatibility
Wukong Talks Architecture
Wukong Talks Architecture
Jul 31, 2022 · Backend Development

Understanding Java Reflection, Class Loading, and Dynamic Proxy Mechanisms

This article provides a comprehensive guide to Java's reflection mechanism, class loading process, ClassLoader usage, and dynamic proxy techniques, illustrating how to inspect class structures, create objects, access fields and methods, retrieve generic type information, and implement both static and dynamic proxies with practical code examples.

DynamicProxyGenericsJava
0 likes · 45 min read
Understanding Java Reflection, Class Loading, and Dynamic Proxy Mechanisms
Tencent Cloud Developer
Tencent Cloud Developer
Jun 21, 2022 · Backend Development

Unlock Go 1.18 Generics: A Complete Guide with Real‑World Code

This article provides a thorough, step‑by‑step exploration of Go 1.18 generics, explaining what generics are, their advantages and drawbacks, how Go implements them compared with other languages, and offering detailed examples of generic variables, functions, methods, interfaces, type constraints, and best‑practice patterns for developers.

Backend DevelopmentGeneric FunctionsGenerics
0 likes · 35 min read
Unlock Go 1.18 Generics: A Complete Guide with Real‑World Code
Architect's Tech Stack
Architect's Tech Stack
Jun 8, 2022 · Fundamentals

Java to Adopt Universal Generics: Overview of OpenJDK Proposals

OpenJDK plans to introduce universal generics to Java, allowing both reference and primitive types to be treated uniformly through three JEPs, a change that will take several years to implement but promises to enhance language flexibility without sacrificing primitive performance.

GenericsJEPJava
0 likes · 4 min read
Java to Adopt Universal Generics: Overview of OpenJDK Proposals
HomeTech
HomeTech
May 11, 2022 · Fundamentals

Go Language Overview, Project Practices, and New Features in Go 1.18

This article introduces the Go programming language, showcases several high‑traffic production projects built with Go at Autohome, and explains the major Go 1.18 enhancements such as generics, workspaces, and fuzzing, while providing performance comparisons, code samples, and practical optimization tips.

BackendGenericsconcurrency
0 likes · 21 min read
Go Language Overview, Project Practices, and New Features in Go 1.18
DaTaobao Tech
DaTaobao Tech
May 9, 2022 · Fundamentals

TypeScript 4.7 Beta Feature Overview

TypeScript 4.7 beta, released April 8 2022, introduces Node.js ES‑module support, module‑detection control, computed‑property flow analysis, generic instantiation expressions, infer‑extends constraints, variance annotations, private‑field typeof, custom module suffixes, import‑assertion resolution modes, and assorted editor and type‑system enhancements while tightening some compatibility checks.

BetaGenericsTypeScript
0 likes · 23 min read
TypeScript 4.7 Beta Feature Overview
Sohu Tech Products
Sohu Tech Products
Apr 13, 2022 · Mobile Development

Swift Protocols and Associated Types

This article explains Swift protocols with associated types, discusses their limitations compared to plain protocols, demonstrates how to resolve related compile‑time errors through generic constraints, protocol composition, and associated‑type constraints, and provides practical code examples for customizing UITabBar items.

Associated TypesGenericsProtocol Composition
0 likes · 16 min read
Swift Protocols and Associated Types
58 Tech
58 Tech
Mar 22, 2022 · Game Development

Swift Native Mini‑Game Development in the Same‑City App: Architecture, Mixed‑Language Integration, and Performance Optimizations

This article describes how the Same‑City team migrated H5 mini‑games to a native Swift/SpriteKit solution, detailing the mixed Objective‑C/Swift environment, core game architecture, use of Swift functional and generic features, and the resulting improvements in package size, startup time, FPS, and memory consumption.

Game DevelopmentGenericsMixed Language
0 likes · 27 min read
Swift Native Mini‑Game Development in the Same‑City App: Architecture, Mixed‑Language Integration, and Performance Optimizations
IT Services Circle
IT Services Circle
Mar 16, 2022 · Backend Development

Introducing the Go Generic Utility Library samber/lo

This article introduces the open‑source Go generic utility library samber/lo, explains how to install Go 1.18 beta and the library, and demonstrates common operations such as type conversion, concurrent processing, containment checks, filtering, deduplication, grouping, chunking, and ternary-like expressions with concise code examples.

Backend DevelopmentGenericsGo
0 likes · 7 min read
Introducing the Go Generic Utility Library samber/lo
21CTO
21CTO
Mar 16, 2022 · Backend Development

What’s New in Go 1.18? Fuzz Testing, Generics, and 20% Performance Boost

Google’s Go 1.18 release introduces native fuzz testing, generics support, module workspaces, and up to 20% performance gains on ARM64 and Apple M1, enhancing security and productivity for developers while reinforcing Go’s pivotal role in cloud‑native projects like Kubernetes and Docker.

Backend DevelopmentGenericsGo
0 likes · 5 min read
What’s New in Go 1.18? Fuzz Testing, Generics, and 20% Performance Boost
ByteDance ADFE Team
ByteDance ADFE Team
Mar 16, 2022 · Fundamentals

Introduction to Rust and Learning Recommendations

This article introduces the Rust programming language, explains its design principles such as memory safety, ownership, and zero‑cost abstractions, compares it with C++ and JavaScript, and provides practical advice, code examples, and insights on when and how to start learning Rust.

GenericsMemory SafetyOwnership
0 likes · 27 min read
Introduction to Rust and Learning Recommendations
IT Services Circle
IT Services Circle
Mar 5, 2022 · Backend Development

Understanding Generic Type Erasure and Fastjson Deserialization with TypeReference in Java

This article explains how Java's generic type erasure affects Fastjson deserialization, demonstrates common mistakes, and shows the correct way to deserialize generic fields using Fastjson's TypeReference, while also revealing the inner workings of TypeReference through reflection and anonymous classes.

DeserializationGenericsTypeReference
0 likes · 9 min read
Understanding Generic Type Erasure and Fastjson Deserialization with TypeReference in Java
Java Tech Enthusiast
Java Tech Enthusiast
Jan 10, 2022 · Fundamentals

Understanding Java Generics: Classes, Methods, Type Bounds, and Erasure

The article introduces Java generics—showing how they prevent runtime ClassCastExceptions by enforcing compile-time type safety, demonstrating generic class and method definitions, type bounds (including multiple bounds), erasure effects observable via reflection, and the use of wildcards for flexible type constraints.

GenericsJavaReflection
0 likes · 8 min read
Understanding Java Generics: Classes, Methods, Type Bounds, and Erasure
TikTok Frontend Technology Team
TikTok Frontend Technology Team
Jan 6, 2022 · Frontend Development

Advanced TypeScript Type Programming: Foundations, Operators, Generics, and Real‑World Applications

This article provides a comprehensive guide to TypeScript type programming, covering basic type definitions, type operators, mapped types, conditional and infer types, generics, recursive type calculations such as Fibonacci, and practical utilities like chainable options, currying, and a compile‑time calculator.

Conditional TypesGenericsTypeScript
0 likes · 19 min read
Advanced TypeScript Type Programming: Foundations, Operators, Generics, and Real‑World Applications
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 2, 2021 · Frontend Development

Deep Dive into TypeScript Utility Types: 22 Examples and Advanced Techniques

This article provides a comprehensive guide to TypeScript’s built‑in and custom utility types, explaining their underlying principles, usage examples, and advanced programming techniques across 22 detailed examples, covering concepts such as keyof, conditional types, mapped types, and type inference for developers seeking to master TS type tooling.

Conditional TypesGenericsMapped Types
0 likes · 32 min read
Deep Dive into TypeScript Utility Types: 22 Examples and Advanced Techniques