DEV Community

# generics

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
A utility type for widening types

A utility type for widening types

7
Comments
3 min read
Generics in Java ✌🏿😁

Generics in Java ✌🏿😁

9
Comments 1
7 min read
Read and Sort Data Generically - Generics in Java

Read and Sort Data Generically - Generics in Java

6
Comments
4 min read
Extension methods for generic types

Extension methods for generic types

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

Advanced TypeScript: A Generic Function to Merge Object Arrays

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

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

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

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

Swift: Deconstruct SPF: Strings and SubStrings

4
Comments
4 min read
Making lodash function get type safe

Making lodash function get type safe

22
Comments 2
7 min read
Go generics beyond the playground

Go generics beyond the playground

12
Comments 2
15 min read
TypeScript Generics

TypeScript Generics

6
Comments
4 min read
Generic Programming

Generic Programming

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

Go 2 generics in 5 minutes

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

24
Comments 6
5 min read
Covariance and contravariance by example.

Covariance and contravariance by example.

7
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

10
Comments
7 min read
Pipelines in TypeScript with Generics

Pipelines in TypeScript with Generics

13
Comments
4 min read
How to deep merge in Typescript

How to deep merge in Typescript

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

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

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

Type inferred react-redux under 20 lines

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

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

21
Comments
9 min read
How to add types for Object.fromEntries

How to add types for Object.fromEntries

48
Comments 8
5 min read
Generics for user interfaces

Generics for user interfaces

5
Comments
4 min read
Understanding Typescript Generics

Understanding Typescript Generics

14
Comments
4 min read
Generics in Kotlin

Generics in Kotlin

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

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

27
Comments 1
13 min read
Effective Java! Eliminate Unchecked Warnings

Effective Java! Eliminate Unchecked Warnings

6
Comments
2 min read
Effective Java! Don't Use Raw Types

Effective Java! Don't Use Raw Types

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

Converting bits to integers in Rust using generics

7
Comments 2
4 min read
Generics de TypeScript

Generics de TypeScript

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

TypeScript Generics - Recover your type checks and IntelliSense

18
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

14
Comments
1 min read
Covariance and contravariance in generic types

Covariance and contravariance in generic types

14
Comments
5 min read
Modern PHPDoc Annotations

Modern PHPDoc Annotations

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

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

12
Comments 7
3 min read
My first attempt at Generics...

My first attempt at Generics...

9
Comments
3 min read
Java generics and the problems it solved.

Java generics and the problems it solved.

19
Comments 1
5 min read
Dynamic Side navigations in Angular

Dynamic Side navigations in Angular

15
Comments 1
5 min read
Templates

Templates

6
Comments
3 min read
Templates

Templates

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

Delegate methods in C#. A practical example

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

Using React useState hook with TypeScript

9
Comments
5 min read
Understanding TypeScript Generics

Understanding TypeScript Generics

12
Comments
3 min read
Typescript Generics: A Basic Use Case

Typescript Generics: A Basic Use Case

13
Comments
5 min read
Typing Higher Order Components in React

Typing Higher Order Components in React

9
Comments
3 min read
Generic extension methods ambiguity in C#

Generic extension methods ambiguity in C#

10
Comments
2 min read
Exploring Rust

Exploring Rust

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

A Beginner's Guide to Generics in Typescript

19
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

11
Comments 1
3 min read
Generics in C# (Part 1 - Generics in Collections)

Generics in C# (Part 1 - Generics in Collections)

6
Comments
2 min read
Kotlin Reified Generics: Explained

Kotlin Reified Generics: Explained

38
Comments 4
2 min read
Go 2 Draft: Generics

Go 2 Draft: Generics

22
Comments 11
7 min read
Variance in Kotlin Generics

Variance in Kotlin Generics

15
Comments
8 min read
Pains of Java generics solved in Kotlin

Pains of Java generics solved in Kotlin

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

C# Generics and Delegates: A Simple but Real Example

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

Explain Generics Like I'm Five

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

C# Create new T()

44
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

10
Comments
4 min read
Чего всё ещё не хватает в PHP: generics

Чего всё ещё не хватает в PHP: generics

4
Comments
1 min read
loading...