Record
typesExplore how to use the TypeScript Record type alongside practical use cases, including how to use it with generics.
We explore the main principles and guidelines of domain-driven design and see how TypeScript can assist with DDD.
We explore different approaches for iterating over enums in TypeScript, such as inbuilt object methods, for loops, and the Lodash library.
IntArray
, Array
, and emptyList()
Learn the difference between IntArray and Array
We demonstrate how to use higher-order functions to write Rust code that is more concise and easier to maintain in the long run.
We discuss the pros and cons of IaaS- and IaC-based solutions and leverage Pulumi to create a simple S3 bucket in AWS using TypeScript.
Learn how and when to use tuples, structs, and tuple structs in Rust to return multiple results from your functions.
TypeScript has support for conditional types, which might seem like a niche feature, but they’re a useful addition for writing reusable code.
Let’s explore assertion functions in TypeScript and see how they can be used to express invariants on our variables.
Here’s a look at how declaring static classes can be achieved in Kotlin and the benefits of it with respect to code reusability.
Arch and Manjaro can provide more flexibility and power compared to Ubuntu. But which should you choose? Let’s compare the two to find out.
Use two features of TypeScript 3.7: optional chaining and nullish coalescing, to write simple code without never-ending conditionals.