Linked Questions

2 votes
2 answers
2k views

I'm a contractor at a large Telco where I'm usually working on several different projects at once. The VCSs I use (mainly git and mercurial) tend to make me keep the code bases for unrelated ...
wim's user avatar
  • 198
1 vote
0 answers
2k views

I do a lot of web development and there are many code snippets that come up again and again so I dive back into the most recent project where I used it which isn't that efficient. How do you store ...
clifgray's user avatar
  • 111
44 votes
7 answers
5k views

When working on code, I face many of the same challenges that my teammates do, and I have written some helpful functions and classes, and so have they. If there is good communication, I'll hear about ...
El Changón's user avatar
31 votes
8 answers
3k views

It bothers me to see commented out code and it seems often-times a symptom of developers not being proficient in advanced source control features, but on the other hand source control does not really ...
JoelFan's user avatar
  • 7,151
10 votes
8 answers
4k views

When developing software, I often have a centralised 'core' library containing handy code that can be shared and referenced by different projects. Examples: a set of functions to manipulate strings ...
Alex Angas's user avatar
4 votes
5 answers
567 views

Quite often I go through pain to discover how to do something useful, in this case how to get PHP running on Google App Engine without the 'resin.jar too big' problem, but I have nowhere to let people ...
Shane's user avatar
  • 157
10 votes
7 answers
955 views

You know how it goes: there is some small repetitive task for which you found a way to quickly automate 95% of the work. You create a script, run it, manually fix the output, and you're done. Of ...
Frank Kusters's user avatar
6 votes
2 answers
4k views

I've noticed that a lot of my work follows this pattern: Decide that I need to add a behavior (say, align table columns right) Recall that I did it few months ago on a different project, try to ...
sixtytrees's user avatar
0 votes
2 answers
331 views

I come across the need to do a lot of one time scripts (related to API evaluations, data extraction, experiments etc.) that have the potential only to be used very rarely in the future. These could be ...
c00der's user avatar
  • 125
-2 votes
1 answer
595 views

I sometimes use some language model assistance (e.g., GPT-4o) while coding. I'd like to save somewhere the prompts and language model versions I used. Are there good practices or even conventions to ...
Franck Dernoncourt's user avatar
2 votes
1 answer
223 views

I work on several projects and sometimes they share a common base. How do you work with version control? Here's an example: I've got a boilerplate Wordpress plugin that I reuse. On each new ...
Peer's user avatar
  • 49