Opeyemi Ojoopyjo2.hashnode.dev·Mar 26, 2024Schema validation in TypeScript with ZodIn the wild world of software development, data integrity is king. Without it, applications crumble under the weight of unexpected or malformed information. This is where Zod, a powerful data validation library for TypeScript, steps in to be your kni...DiscussJavaScript
Brandon ClappProbrandonclapp.com·Mar 22, 2024TypeScript's `unknown` typeIn TypeScript, both unknown and any types represent values that could be anything. However, they are used in quite different contexts due to their safety characteristics. any Type The any type is essentially TypeScript's way of saying, "turn off type...Discuss·30 readsTypeScriptTypeScript
Ugne Adomaityteugneadomaityte.hashnode.dev·Mar 11, 2024How and When to Use Type Aliases vs. InterfacesTypeScript has two powerful concepts called type aliases and interfaces. At first, they might seem quite similar, but they have different features and use cases. This article will help you to understand and familiarize yourself with these concepts so...DiscussTypeScript
Dinesh K Edineshepdv.hashnode.dev·Mar 11, 2024Unraveling the Mysteries of Conditional Types in TypeScriptIn the realm of TypeScript, there exists a powerful yet often overlooked feature known as Conditional Types. While many developers are familiar with basic types like strings, numbers, and arrays, Conditional Types offer a whole new level of flexibili...Discusslearning
Sachin Chaurasiyablog.sachinchaurasiya.dev·Mar 8, 2024Type Safety in TypeScript - Unknown vs AnyTypeScript is very popular because it adds static typing to JavaScript. This makes the code safer and better quality, which JavaScript developers like. In TypeScript, two types that are often used are unknown and any. They might look the same at firs...Discuss·21 likes·125 readsTypeScriptTypeScript
Oluwatoyin Faniyantheedon.hashnode.dev·Feb 21, 2024Any vs Unknown vs Never in TypescriptIntroduction Typescript, which is a superset of the JavaScript programming language, is a language that has become a favourite among developers due to its special features. It is helpful to understand that TypeScript is not a replacement, it is reall...DiscussTypeScript
Ankush Thakurankushthakur.hashnode.dev·Feb 20, 2024Mastering TypeScript: Unveiling Types and TechniquesHey TECHIE curious about TypeScript's ? Let's explore the world of types together, unraveling their importance and how they make your code stronger. There are various types available in Typescript String It represents the string value like "Hello Wo...Discuss·96 readsTypeScript
Mark Hammonsmhammons.hashnode.dev·Feb 15, 2024Our journey beginsIt's been a longstanding dream of mine to make C and Scala play nice. While Scala is one of my favorite languages, it tends to be trapped in the semi-walled garden of the JVM. I want to write apps that benefit the opensource community, like applicati...Discuss·1.0K readsCalculating 1 + 2 in a cross platform wayScala
Ugne Adomaityteugneadomaityte.hashnode.dev·Feb 12, 2024TypeScript’s ‘any’ vs. ‘unknown’ Types and Their Proper UseSince the introduction of the unknown type in TypeScript, sometimes it might feel confusing when to use it and how. On top of that, we have any type, that is similar to the unknown type, but the key difference is that the unknown is type-safe. This r...DiscussTypeScript
Yashraj Singh Sisodiyatheyashsisodiya.hashnode.dev·Feb 10, 2024Day 14 : Python Data Types and Data Structures for DevOpsWhat are data types in Python? Data types are categories or classifications of data items that define the kind of value stored and the operations that can be performed on them. In Python programming, data types are implemented as classes, and variabl...DiscussPython