Tumgik
About
Privacy Policy
Removal Request
Visit Blog
Explore Tumblr blogs with no restrictions, modern design and the best experience.
Fun Fact
Tumblr has been providing a Korean-language service since 2013.
#typesafety is just for letting your devs just put round blocks into round holes
zvaigzdelasas
·
1 year
Text
OpenAPI generated type interfaces are literally so sexy
#typesafety is just for letting your devs just put round blocks into round holes
#the more you can prevent other shapes from fitting into the hole the better
#ive recently fallen in love w typescript branded types
#which just adds a little flag to a string or number saying 'hey im a special kinda string/number'
#lifesaver if ur working w a bunch of different kinds of ids & lookups n stuff
#& openapi types can also flag if ur sending smth in the wrong format to the wrong endpoint
#im doing a thing where i glue together a bunch of data from a bunch of different rest APIs & its incredibly helpful not only for that
#but also for giving me access to the datatypes to build the app around
#then a lot of its just paint by numbers
#literally if you have a commensurate type sustem for the problem you literally dont have to think
18 notes
·
View notes
Last Seen Blogs
x-pair-o-dice-x
pair o’ dice
orepositorio
O Repositório
wesoftupinhere
tum time
icc133
IFBB Figure
enchanted-corner
Enchanted Corner