Ganesh Rama HegdeforDesign Patterns in Software Blogdesignpatterns.hashnode.dev·Sep 1, 2024Creational Design PatternsCreational design patterns are a category of design patterns in software development that focus on how objects are created. Their primary goal is to abstract the instantiation process, making it more flexible and reusable. By controlling the creation...Discuss·1 likeTypes
Siddharthblog.siddharth9890.com·Sep 1, 2024Effortless Type-Safe GraphQL SDK Generation with GraphQL SDK GeneratorHello everyone Today, we will discuss one of the most challenging tasks in working with a GraphQL server i.e creating an SDK. The pain often lies in writing .gql files and building corresponding TypeScript types to match the schema. Whenever the sche...DiscussGraphQL
Carmine Tambasciablog.allaroundjavascript.com·Aug 25, 2024Difference between extending and intersecting interfaces in TypeScript?Have you ever found yourself thinking in a complex project asking this question, then in this article I will try to answer with examples Let's say the following type is defined: interface Shape { color: string; } Now, maybe we need a way to abstra...DiscussTypeScript
Shiwanshu Shubhamshiwanshudev.hashnode.dev·Aug 22, 2024Typescript Basics: Grasp the Essentials in 10 MinutesTypeScript is a superset of JavaScript that adds type safety and extra features to help with development. If you have used languages like C, C++, or Java, you know that when declaring variables, we add their types, like int num1 = 5. Similarly, TypeS...DiscussTypeScript
TotallyGamerJettotallygamerjet.hashnode.dev·Aug 18, 2024Go Parse, Don't ValidateOne of the bugs I was tasked to solve at my #dayjob the second week there seemed simple on the surface. Potential applicants (aka leads), need to be submitted to the company wide server. The lead was original stored in our team's database so we'd ret...Discuss·953 readsGo Language
Amanpreet Singhblog.amanpreet.dev·Aug 12, 2024Top 9 Essential Utility Types in TypeScriptWhy use TypeScript? Typescript is a strongly typed superset of Javascript that gives you better tooling at any scale, enabling developers to catch errors at compile time rather than runtime. TypeScript brings Type Safety Scalability Enhanced IDE s...DiscussTypeScript
Sheraz Manzoorsherazmanzoor.hashnode.dev·Aug 8, 2024Type ✔ Vs Interface ❌: Why you should chose type over interface in typescript.I have come to a solution that you should always use types over interfaces. Let's breakdown why!! Interfaces can only specify objects, but type alias can specify objects and everything else. Let's say we have a single Address field and with type you...Discusstype alias
Sheraz Manzoorsherazmanzoor.hashnode.dev·Jul 26, 2024TypeScript ✔ vs JavaScript ❌ : How TypeScript Outshines JavaScriptJavaScript has been the base of web development for many years. It enables developers to create dynamic and interactive web applications (Obviously used for other purposes, but we will be talking specially about web development). However, as applicat...DiscussTypeScript
Matthijs Coxscientificcoder.com·Jul 16, 2024FeaturedJulia Type AnnotationsThe Julia language allows type annotation in multiple ways, with different behaviors, in order to improve performance and readability of the code. Types annotations always use the :: syntax, for example in function declarations such as f(variable::In...Discuss·13 likes·380 readsJulia
emptycodesemptycodesalsowrites.hashnode.dev·Jul 10, 2024User Input and Enums in C#An enumeration (enum) in C# is a custom type used when you need to make a choice from a set of possible options. Enums are ideal for representing things that don't fit into one of C#'s default or pre-existing types. Creating an Enum The syntax to cre...Discuss·95 readsC#