Handling table name collisions in Django
Django creates a table name by joining the app label with the model name. A project can have many apps. If two have the same label, how can both be used in the same database?
Custom templating in a web application
I want to understand the pros and cons in generating dynamic web application controls.
What is ‘code skew’?
In the O’Reilly book on Scala, I read that copy-pasting of code creates:
Architecture suggestions on a multi-project multi-database ‘intranet’
Here is the situation I have inherited:
Are there concrete reasons not to use libraries and code snippets heavily? [closed]
Closed 8 years ago.
Format text in a generic and reusable way
I would like to write some long text in some structure to allow a set of operations on that text. The question is which structure or format should I use, which suits best the use that I plan to do of that text?
How do you keep track of what classes and functions your team has written?
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 some great thing someone put together, and six months later when I need it I may remember it and call that function, saving myself time. If I don’t remember it, or never knew about it, I will probably re-invent the wheel.
Best practices for sharing tiny snippets of code across projects
I always try to follow the DRY principle strictly at work; every time I’ve repeated code out of laziness it bites back later when I need to maintain that code in two places.
How to avoid code duplication across unrelated projects [duplicate]
This question already has answers here: Best practices for sharing tiny snippets of code across projects (12 answers) Closed 11 years ago. 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 […]
What did Rich Hickey mean when he said, “All that specificity [of interfaces/classes/types] kills your reuse!”
In Rich Hickey’s thought-provoking goto conference keynote “The Value of Values” at 29 minutes he’s talking about the overhead of a language like Java and makes a statement like, “All those interfaces kill your reuse.” What does he mean? Is that true?