Junaid Bin Jamanjunaidbinjaman.help·Sep 24, 2024Understanding the Difference Between any and unknown in TypeScriptIn TypeScript, developers often encounter two flexible types that seem similar: any and unknown. However, these types serve different purposes, and choosing the right one can have a big impact on the safety, readability, and maintainability of your c...DiscussTypeScript
Paul Mattioneradiantsoftware.hashnode.dev·Apr 19, 2023Getting Type Names in C++For logging and debugging it can be extremely useful to get a string for the name of a type in C++. However, the standard library doesn't supply a great way of doing that. We don't want to use the standard typeid operator, std::type_info, or std::typ...Discuss·1 like·489 readsC++
Paul Mattioneradiantsoftware.hashnode.dev·Apr 14, 2023C++ Type Erasure on the Stack - Part IIIIn Part I of this blog series, we covered how to convert our type name to a string, how to safely store type-erased objects, and how to handle trivial types (AnyTrivial). In Part II we covered how to manage type-erased storage of general types (AnyOb...Discuss·441 readsC++ Type Erasure on the StackC++
Paul Mattioneradiantsoftware.hashnode.dev·Apr 13, 2023C++ Type Erasure on the Stack - Part IIIn Part I of this blog series, we covered how to get a string with our type name, how to safely store type-erased objects, and how to handle trivial types. Now we'll cover how to handle type-erased storage of general types (AnyObject): ones whose cop...Discuss·10 likes·535 readsC++ Type Erasure on the StackC++
Paul Mattioneradiantsoftware.hashnode.dev·Apr 12, 2023C++ Type Erasure on the Stack - Part IType erasure is where the type of an object is hidden so that the object can be utilized in a type-independent manner. Type erasure is extremely useful in several scenarios, including heterogeneous containers (containers that store objects of differe...Discuss·3.0K readsC++ Type Erasure on the StackC++
SYED IMAMsyedimam.hashnode.dev·Nov 29, 2022Promise .any() vs .race() vs .all() vs allSettled()Hey, Gorgeous people on the internet in the previous article we discussed the Promise like why we need it comparing it with Callback. In Today's article, we will be looking into the different types of methods that promises provide. And more important...Discuss·1 like·32 readsJavaScript
Syed Jafer Ksyedjaferk.hashnode.dev·Oct 2, 2022Type any in TypescriptIntroduction In this blog, we will learn about any type in TypeScript. The any type is TypeScript allows us to assign a value of any type to a variable. This means, with any type, a type of a variable's value can be changed. When to use any type ? Th...Discuss·83 readsCourse: Typescriptany