| ▲ | Waterluvian 13 hours ago | |||||||
AI offering the solution for a small problem that probably doesn’t deserve yet another dependency suggests to me that there’s a middle ground that we’ve failed to sufficiently cover: how to socialize code snippets that you’re meant to just inline into your project. Stack Overflow is probably the closest we’ve gotten to a generalized solution and it doesn’t exactly feel like a good one. I came across this once before in the form of a react hooks library that had no dependency to install. It was just a website and when you found the hook you wanted you were meant to paste it into your project. | ||||||||
| ▲ | jcgl 6 hours ago | parent [-] | |||||||
GitHub gists are probably the best technical option. They come with versioning (I think), and have comment threads. | ||||||||
| ||||||||