4 ms·
Not someone else's code but I had the strange experience recently of revisiting an old project of mine (DNS server written in typescript + deno) and being intim
by mattlondon 4y ago
Not someone else's code but I had the strange experience recently of revisiting an old project of mine (DNS server written in typescript + deno) and being intimidated by the quality of my own code.
I had those familiar feelings of "I could never write code like this" or "I'd never have thought to do it like that!" or "This person must really know their shit". Turns out it was me all along and I'd just forgotten I'd done it all.
Grokking it and modifying it after 2-something years was actually simple as I'd left good comments, abstractions, and even reasonable unit test coverage (even integrated with GitHub actions that run on push) so changes were a breeze.
There has to be a life lesson there somewhere.
- robofanatic 4y agowould love to look at it and possibly learn something. Is it open source?
- lpapez 4y agorevisiting an old project of mine (DNS server written in typescript + deno) Can it really be called old considering the very modern tech stack?
- koenvdb 4y agoDeno initial release was 4 years ago, in tech that's ancient, right? :)
- jrochkind1 4y agoI've had that experience. I honestly sometimes worry I've peaked and am getting less good at figuring out how to compose good code as my brain ages. I think I'm actually getting better at it, at least in some ways... but not totally sure there aren't others I'm not quite as brilliant.
- barking_biscuit 4y agoif age is greater then mid-30s then yes, else no.