Fernando De La Madriddeadcode.hashnode.dev·Dec 5, 2023Generic Types in TypeScriptThe second third of this holiday 🦌 TypeScript challenge is here. In our previous post, we touched a bit on generics and explored the fundamentals of keyof and typeof. In this challenge we will dive typer into Generic types and how they allow us to h...DiscussTypeScript FundamentalsTypeScript
Danyl Novhorodovdanyl.hashnode.dev·Nov 14, 2023C# Generics: Covariance, Contravariance and Robustness PrincipleIntroduction In C#, generics are used to create classes, methods, and interfaces where the type of data they operate on is not specified in advance. This allows for type safety without the overhead of multiple implementations. Here is some elementary...Discuss·57 readsC#
Ariel Orozcoarielorozco.com·Oct 24, 2023Go Generics: Writing Flexible CodeGo has been a language that prides itself on simplicity and efficiency. However, it has long been criticized for its lack of support for generics. The good news is that with the release of Go 1.18 in early 2022, generics are now officially part of th...Discuss·95 readsGeneral Programming
Dumebi Ikeoffiah042.hashnode.dev·Oct 23, 2023Generics in KotlinIntroduction In the world of programming, generics provide a powerful way to write code that is not only flexible but also type-safe. We will explore the concept of generics in Kotlin, cover the basics, dive into practical use cases, and discuss best...DiscussAdvance Kotlin TopicsKotlin
Premprematid.hashnode.dev·Oct 22, 2023Go Generics: A Game Changer for the Go Programming Language?Introduction The Go programming language, often referred to as Golang, has gained immense popularity for its simplicity, efficiency, and strong support for concurrent programming. However, there has been a long-standing demand for generics in Go, and...Discussgolang
Awelle Osukauncomplex.io·Sep 26, 2023Generic Programming - Why you should know about it as a software engineerWhat you will learn This article is going to give a brief overview of what generic programming is. The aim is to impress upon your mind the need to be aware of this concept and make practical use of it as you write code What is Generic Programming? I...Discuss·42 readsgenerics
Roman Kyrkaloromankyrkalo.hashnode.dev·Sep 18, 2023Generic class in C#What are C# generics? Generics in C# are a powerful feature that enables you to create flexible and reusable code. They allow you to customize methods, classes, structures, or interfaces to work with various data types by using placeholders known as ...DiscussC#
mohamed fares ben ayedbenayedseeksai.hashnode.dev·Sep 5, 2023Golang generics : what we need to know?Golang is a strongly typed programming language, meaning that each variable in Golang is associated with a specific data type. This characteristic is not unique to Golang but is shared with several other programming languages like C, C++, Java, and C...Discussgolang
Hemanth Kumar Nandigamanhk.hashnode.dev·Sep 3, 2023Generics In Java #java #4 #Generics #3Referred Resources: yt playlist from madan Generics and static methods: class OralMedicine{} class Capsule extends OralMedicine{} class Tablet extends OralMedicine{} class Injection{} class Bottle<T>{ private T item; public Bottle(T item...DiscussJava
Hemanth Kumar Nandigamanhk.hashnode.dev·Sep 3, 2023Generics In Java #java #4 #Generics #2 #PECSDEFINING GENERIC CLASSES: Reference YT video: generics2 Generics allow us to specify the type of elements that a class can hold. Here's an example: class OralMedicine{} class Capsule extends OralMedicine{} class Tablet extends OralMedicine{} class In...DiscussJava