TLDR Web Dev · OPINIONS & ADVICE
DON'T BE AFRAID OF TYPES
Summary from the TLDR Web Dev newsletter
There's a common aversion to creating new data types in codebases, which comes from a fear of altering the "grand design." However, creating new types to group related values, even for specific functions, makes code simpler and much easier to read. Devs should create types whenever necessary.