@lawrence to Programmer [email protected] • edit-210 months agoOk, at some point we made a big mistake.imagemessage-square31arrow-up1310arrow-down15file-text
arrow-up1305arrow-down1imageOk, at some point we made a big mistake.@lawrence to Programmer [email protected] • edit-210 months agomessage-square31file-text
minus-square@SloppyPuppylink3•edit-210 months agoYea, i was really trying to understand… and then I was like yeah fuck this and regex too.
minus-square@mvirtslink1•edit-210 months agoGotta learn regex… C++ not so much 😹 Fear not, template abuse is not a necessary practice Edit: wait what is this I thought it was c++ at first. Java? C#? Has an extends keyword
minus-square@immutabletestlink4•edit-210 months agoThis is a Typescript type-level computation (which is Turing-complete AFAIK). However this kind of trickery is usually done for fun and to explore how much could be achieved just on the compile step.
minus-square@mvirtslink1•10 months agoLol thanks that saves me a lot of googling 😹 that makes a lot of sense
Yea, i was really trying to understand… and then I was like yeah fuck this and regex too.
Gotta learn regex… C++ not so much 😹
Fear not, template abuse is not a necessary practice
Edit: wait what is this I thought it was c++ at first. Java? C#? Has an extends keyword
This is a Typescript type-level computation (which is Turing-complete AFAIK). However this kind of trickery is usually done for fun and to explore how much could be achieved just on the compile step.
Lol thanks that saves me a lot of googling 😹 that makes a lot of sense