DEV Community

Discussion on: Convince me that types are awesome

Collapse
 
ferricoxide profile image
Thomas H Jones II

Something that bit me, recently: ended up having code-squirreliness because I wasn't paying attention and kept re-typing a structure. The resulting (unintentional) transformations to the stored data made for Good Times™ debugging. Wasn't till I found an excessively-pedantic linter that I figured out where the mangling was happening.