5 ms·
Calling something this simple “superhuman” is more an indictment of the author’s skill level than anything else.
by clipsy 2y ago
Calling something this simple “superhuman” is more an indictment of the author’s skill level than anything else.
- uliyahoo 2y agoClick into the blog, the code is surprisingly good and actually pretty complicated.
- clipsy 2y agoWhy on earth would you assume I hadn’t read the code? It’s fine, not particularly complicated, and certainly not superhuman.
- uliyahoo 2y agoI guess I shouldn't have assumed that
- HideousKojima 2y agoI don't work with typescript much but that code is pretty straightforward, it's just mapping objects to types. A few nested conditions and recursive calls aren't complicated at all. That a decent amount of devs seem to think it is makes me confident in my job security, at least.
- ainiriand 2y agoIt is bad code actuallly.
- OutOfHere 2y agoSaid the human worker just before he was fired, never to be heard from again. Meanwhile, the code kept working correctly for the next ten years.