DEV Community

# generics

­čĹő Sign in for the ability sort posts by top and latest.
Least Frequently Used (LFU) Cache with Constant Time Complexity

Least Frequently Used (LFU) Cache with Constant Time Complexity

Reactions 5 Comments
4 min read
5 years working on a daily basis with Typescript and I had no idea generics were capable of doing that ­čĄ»!

5 years working on a daily basis with Typescript and I had no idea generics were capable of doing that ­čĄ»!

Reactions 16 Comments 1
7 min read
HackerRank #26 | Generics | ­čçž­čçĚ

HackerRank #26 | Generics | ­čçž­čçĚ

Reactions 5 Comments
3 min read
A utility type for widening types

A utility type for widening types

Reactions 7 Comments
3 min read
Read and Sort Data Generically - Generics in Java

Read and Sort Data Generically - Generics in Java

Reactions 3 Comments
4 min read
Generics in Java Ôťî­čĆ┐­čśü

Generics in Java Ôťî­čĆ┐­čśü

Reactions 9 Comments
7 min read
Extension methods for generic types

Extension methods for generic types

Reactions 3 Comments
2 min read
Advanced TypeScript: A Generic Function to Merge Object Arrays

Advanced TypeScript: A Generic Function to Merge Object Arrays

Reactions 3 Comments
4 min read
[pt-br] ObjectMapper: Convertendo para tipos genericos.

[pt-br] ObjectMapper: Convertendo para tipos genericos.

Reactions 4 Comments
1 min read
Advanced TypeScript: A Generic Function to Update and Manipulate Object Arrays

Advanced TypeScript: A Generic Function to Update and Manipulate Object Arrays

Reactions 7 Comments 5
5 min read
Swift: Deconstruct SPF: Strings and SubStrings

Swift: Deconstruct SPF: Strings and SubStrings

Reactions 4 Comments
4 min read
Making lodash function get type safe

Making lodash function get type safe

Reactions 19 Comments 2
7 min read
Go generics beyond the playground

Go generics beyond the playground

Reactions 12 Comments 2
15 min read
generics

generics

Reactions 6 Comments
4 min read
Generic Programming

Generic Programming

Reactions 9 Comments 2
4 min read
Go 2 generics in 5 minutes

Go 2 generics in 5 minutes

Reactions 10 Comments
5 min read
How to UPPER_CASE to camelCase in raw Typescript generics

How to UPPER_CASE to camelCase in raw Typescript generics

Reactions 10 Comments 6
5 min read
Covariance and contravariance by example.

Covariance and contravariance by example.

Reactions 8 Comments
6 min read
Extending React Standard Types to Allow for Children as a Function

Extending React Standard Types to Allow for Children as a Function

Reactions 10 Comments
7 min read
Pipelines in TypeScript with Generics

Pipelines in TypeScript with Generics

Reactions 11 Comments
4 min read
Typescript inferring - stop writing tests & avoid runtime-errors. pt1

Typescript inferring - stop writing tests & avoid runtime-errors. pt1

Reactions 27 Comments
8 min read
Type inferred react-redux under 20 lines

Type inferred react-redux under 20 lines

Reactions 18 Comments
10 min read
Typescript generics - stop writing tests & avoid runtime-errors. pt2

Typescript generics - stop writing tests & avoid runtime-errors. pt2

Reactions 20 Comments
9 min read
How to deep merge in Typescript

How to deep merge in Typescript

Reactions 83 Comments 8
7 min read
How to add types for Object.fromEntries

How to add types for Object.fromEntries

Reactions 23 Comments 2
5 min read
Generics for user interfaces

Generics for user interfaces

Reactions 5 Comments
4 min read
Understanding Typescript Generics

Understanding Typescript Generics

Reactions 14 Comments
4 min read
Generics in Kotlin

Generics in Kotlin

Reactions 2 Comments
4 min read
A Concise Guide to the Latest Go Generics Draft Design

A Concise Guide to the Latest Go Generics Draft Design

Reactions 34 Comments 2
4 min read
A peculiar journey to a generic React component using TypeScript

A peculiar journey to a generic React component using TypeScript

Reactions 27 Comments 1
13 min read
Effective Java! Don't Use Raw Types

Effective Java! Don't Use Raw Types

Reactions 14 Comments 1
4 min read
Converting bits to integers in Rust using generics

Converting bits to integers in Rust using generics

Reactions 7 Comments 2
4 min read
Generics de TypeScript

Generics de TypeScript

Reactions 9 Comments
4 min read
TypeScript Generics - Recover your type checks and IntelliSense

TypeScript Generics - Recover your type checks and IntelliSense

Reactions 16 Comments
6 min read
Using Typescript Generic Constraints to Restrict Function Arguments Based on Other Arguments

Using Typescript Generic Constraints to Restrict Function Arguments Based on Other Arguments

Reactions 14 Comments
1 min read
Covariance and contravariance in generic types

Covariance and contravariance in generic types

Reactions 7 Comments
5 min read
Modern PHPDoc Annotations

Modern PHPDoc Annotations

Reactions 16 Comments
18 min read
Cross thread calls made easier

Cross thread calls made easier

Reactions 2 Comments
1 min read
Is Declaration Merging and Generic Inheritance at the Same Time Impossible?

Is Declaration Merging and Generic Inheritance at the Same Time Impossible?

Reactions 18 Comments 7
3 min read
Java generics and the problems it solved.

Java generics and the problems it solved.

Reactions 19 Comments 1
5 min read
Dynamic Side navigations in Angular

Dynamic Side navigations in Angular

Reactions 14 Comments 1
5 min read
Templates

Templates

Reactions 6 Comments
3 min read
Templates

Templates

Reactions 6 Comments
3 min read
Delegate methods in C#. A practical example

Delegate methods in C#. A practical example

Reactions 8 Comments 2
4 min read
Using React useState hook with TypeScript

Using React useState hook with TypeScript

Reactions 9 Comments
5 min read
Understanding TypeScript Generics

Understanding TypeScript Generics

Reactions 9 Comments
3 min read
Typescript Generics: A Basic Use Case

Typescript Generics: A Basic Use Case

Reactions 12 Comments
5 min read
Typing Higher Order Components in React

Typing Higher Order Components in React

Reactions 9 Comments
3 min read
Exploring Rust

Exploring Rust

Reactions 8 Comments
7 min read
A Beginner's Guide to Generics in Typescript

A Beginner's Guide to Generics in Typescript

Reactions 16 Comments 1
2 min read
C++ Templates and Java Generics: Two different approaches to generic programming

C++ Templates and Java Generics: Two different approaches to generic programming

Reactions 10 Comments 1
3 min read
Kotlin Reified Generics: Explained

Kotlin Reified Generics: Explained

Reactions 37 Comments 4
2 min read
Variance in Kotlin Generics

Variance in Kotlin Generics

Reactions 14 Comments
8 min read
Go 2 Draft: Generics

Go 2 Draft: Generics

Reactions 22 Comments 11
7 min read
Pains of Java generics solved in Kotlin

Pains of Java generics solved in Kotlin

Reactions 9 Comments 3
2 min read
C# Generics and Delegates: A Simple but Real Example

C# Generics and Delegates: A Simple but Real Example

Reactions 16 Comments 2
6 min read
Explain Generics Like I'm Five

Explain Generics Like I'm Five

Reactions 35 Comments 9
1 min read
C# Create new T()

C# Create new T()

Reactions 43 Comments 1
1 min read
Abusing Type Erasure: Passing Back the Same Subclass the Object Yields

Abusing Type Erasure: Passing Back the Same Subclass the Object Yields

Reactions 10 Comments
4 min read
đžđÁđ│đż đ▓ĐüĐĹ đÁĐëĐĹ đŻđÁ Đůđ▓đ░Đéđ░đÁĐé đ▓ PHP: generics

đžđÁđ│đż đ▓ĐüĐĹ đÁĐëĐĹ đŻđÁ Đůđ▓đ░Đéđ░đÁĐé đ▓ PHP: generics

Reactions 4 Comments
1 min read
loading...