Articles tagged in: TypeScript



JavaScript — How to Check if a Value is a ULID

We’re using Universally Unique Lexicographically Sortable Identifier (ULID) in our projects to identify entities. ULIDs are unique, sortable identifiers similar to UUIDs. The claim that ULIDs are better than UUIDs is that they are sortable, keeping a monotonic sort order, encoded as a 26-character string (36 characters for UUIDs) …

Continue Reading

JavaScript — Cache Computation Results in a Local Variable

We’re using a small performance optimization in our code bases: caching computation results in local variables. Saving results in a local variable is borrowed from the memoization technique. Memoizing values improves the performance of function execution by storing the results and reusing them for a function call. This tutorial …

Continue Reading
Page 1 of 4

Explore the Library

Find interesting tutorials and solutions for your problems.