Darshit Anjariadarshitanjaria.hashnode.dev·Nov 28, 2024TypeScript Generics Clarified: Crafting Reusable and Scalable CodeGenerics are one of the most powerful features in TypeScript, enabling developers to write reusable and flexible code while maintaining type safety. In this article, we’ll explore the fundamentals of generics, dive into advanced constraints, and look...TypeScript Deep Dive: Advanced features for Real-World applications.TypeScript
Sadra Yahyapourblog.imsadra.me·Nov 3, 2024FeaturedGeneric Typing in PythonSince Python introduced the ability to add generic types to functions, the language has become much more type-friendly and encourages you to follow this convention for more maintainable code. Obviously, this will lead to a better development experien...31 likes·938 readsPython Generics
Abhay Agnihotriabhayagnihotri.hashnode.dev·Oct 30, 2024typescript verse...Let’s Go from Basics to Advance🚀 Why you Should Read ? Whether you’re a coding novice, a seasoned pro, or just curious about typescript, this guide will make typescript’s core concepts a breeze. So get ready to dive into the world of typescript! Jav...TypeScript
Alpit Kumaralpit.hashnode.dev·Jul 12, 2024Understanding Typescript1) Definition: Typescript is the Superset of Javascript. It's just compiles the compiles it to plain Javascript. It adds static types to javascript for better tooling and error handling. Typescript is a development tool, your project still runs in j...TypeScript
AARYAN BAJAJaaryan-bajaj-learnings.hashnode.dev·Jun 14, 2024Unleashing the Power of Generics in TypeScript: A Comprehensive GuideIntroduction Imagine a world where you could create functions, interfaces, and classes that work seamlessly with any data type, providing both flexibility and type safety. Welcome to the world of Generics in TypeScript! In this blog, we'll delve i...Generics in TypeScript
Alvison Hunteralvisonhunter.hashnode.dev·May 20, 2024The Elegance of Clean Code: A Fundamental Guide with JavaScriptIn the world of JavaScript development, there is a secret recipe for success that not everyone is aware of: writing clean, concise, and precise code. Clean code is like a well-organized kitchen, where every utensil has its place, concise code is the ...clean code
chintanonwebchintanonweb.hashnode.dev·Apr 29, 2024The ABCs of TypeScript: Exploring Enums, Types, and InterfacesEnum vs Type vs Interface in TypeScript: What to Use and When? Introduction In TypeScript, developers often encounter situations where they need to define custom data types. While enums, types, and interfaces are all tools for achieving this, they se...TypeScript
Eklal Budhathokiblogs.ebudhathoki.com.np·Apr 28, 2024Generic Reusable Component ReactGeneric types are use mainly to create reusable components with type-safety. First, lets create a simple component first. import React from 'react' type TSelectOptions = { label: string, value: string } type TSelectProps = { options: TSelectOptions...TypeScript
Charles Opute Odilichalu.hashnode.dev·Apr 25, 2024Using Generics in Typescript to Ensure Symmetry in Function Argument ValuesFunctions in JavaScript can take arguments and we can use Typescript to enforce a type on each argument, such that we would get build time errors if the function gets called with arguments of the wrong type. What can be tricky and often elusive with ...72 readsfunction signatures
Sadanand gadwalsadanandgadwal.hashnode.dev·Apr 20, 2024Mastering TypeScript: A Comprehensive GuideTypeScript is an open-source programming language developed by Microsoft that builds upon JavaScript by adding optional static typing, interfaces, classes, and other features to help developers write robust and scalable code. It compiles to plain Jav...20 likesTypeScript