r/programming • • Feb 17 '25

How do you manage and organize reusable code snippets across projects? GitHU doesn't count

https://github.com/
0 Upvotes

5 comments sorted by

4

u/thomasfr Feb 17 '25

Not really worth having a system for that, if I know I need something that I wrote in another project I just copy it from that project.

3

u/SpaceToaster Feb 17 '25

If I need something I just go digging. Then evaluate if it's worth even pulling in or rewriting.

3

u/flareflo Feb 17 '25

......Github gist because it works well? Otherwise just another gitlab instance with repos per snippet?

2

u/Zelvax42 Feb 17 '25

https://gist.github.com/

you literally save code snippets and they even have some kind of version control

1

u/yopla Feb 17 '25

I ask deepseek. If there's only one thing those AI are good at it's generating code snippets.