Most Popular

1500 questions
57
votes
17 answers

Alternatives to Professional Version Control

We're teaming up with some non programmers (writers) who need to contribute to one of our projects. Now they just don't like the idea of using Git (or anything for that matter) for version controlling their work. I think this is because they just…
treecoder
  • 9,475
  • 10
  • 47
  • 84
57
votes
17 answers

What Part of Your Project Should be in Source Code Control?

A fellow developer has started work on a new Drupal project, and the sysadmin has suggested that they should only put the sites/default subdirectory in source control, because it "will make updates easily scriptable." Setting aside that somewhat…
muffinista
  • 301
  • 3
  • 7
57
votes
11 answers

Database source control

Should database files(scripts etc.) be on source control? If so, what is the best method to keep it and update it there? Is there even a need for database files to be on source control since we can put it on a development server where everyone can…
TheBoyan
  • 1,285
  • 10
  • 23
57
votes
14 answers

Are there problems with using Reflection?

I don't know why, but I always feel like I am "cheating" when I use reflection - maybe it is because of the performance hit I know I am taking. Part of me says, if it is part of the language you are using and it can accomplish what you are trying to…
P B
  • 2,341
  • 3
  • 16
  • 10
56
votes
15 answers

Should I plan ahead, or figure out programs as I'm writing them?

I was thinking today about Paul Graham's book "Hackers and Painters." More specifically, these two paragraphs: "I was taught in college that one ought to figure out a program completely on paper before even going near a computer. I found that I …
BlackJack
  • 3,867
  • 5
  • 33
  • 52
56
votes
34 answers

What non-programming books should a programmer read to help develop programming/thinking skills?

There are a lot of questions about what programming books should be on the programmer's bookshelf. How about non-programming related books that can help you become a better programmer or developer? It would also be interesting to know why they would…
FeatureCreep
  • 1,334
  • 1
  • 12
  • 14
56
votes
10 answers

Are there any unions for software developers?

Why does Software Engineering not have union representation like other professional occupations, such as teaching? Are there any unions for software developers that exist and are successful?
Engineer2021
  • 3,238
  • 5
  • 28
  • 32
56
votes
5 answers

Why not XHTML5?

So, HTML5 is the Big Step Forward, I'm told. The last step forward we took that I'm aware of was the introduction of XHTML. The advantages were obvious: simplicity, strictness, the ability to use standard XML parsers and generators to work with…
jameshfisher
  • 740
  • 4
  • 9
56
votes
4 answers

Preparing to release code as open-source

I have developed a fully functional tool which I would like not only to share with anyone interested but also get support from the community. This tool is cross-platform, written in C++ with Qt, the code is well commented but I still lack any…
Raphael
  • 2,234
  • 1
  • 22
  • 23
56
votes
17 answers

What is a hack?

I often hear co-workers saying to each other, "That's a horrible, horrible hack." What I can take away from that is that it's not good. When I asked them if it works they say "yes, but it's not good". Does that mean it's not a good solution? How is…
myusuf3
  • 2,084
  • 3
  • 18
  • 28
56
votes
6 answers

Are DDD Aggregates really a good idea in a Web Application?

I'm diving in to Domain Driven Design and some of the concepts i'm coming across make a lot of sense on the surface, but when I think about them more I have to wonder if that's really a good idea. The concept of Aggregates, for instance makes sense.…
Erik Funkenbusch
  • 2,768
  • 3
  • 22
  • 27
56
votes
15 answers

Why do we have postfix increment?

Disclaimer: I know perfectly well the semantics of prefix and postfix increment. So please don't explain to me how they work. Reading questions on stack overflow, I cannot help but notice that programmers get confused by the postfix increment…
fredoverflow
  • 6,854
  • 8
  • 39
  • 46
56
votes
5 answers

Where do you go to read good examples of source code?

I have heard a few people say that one of the best ways to improve your coding ability is to read others code and understand it. My question, as a relatively new programmer, where do I go to find good source code examples that are not too far over…
Jesse McCulloch
  • 1,124
  • 1
  • 11
  • 13
56
votes
13 answers

How to stop wasting time designing architechture

I have recently graduated from university and started work as a programmer. I don't find it that hard to solve "technical" issues or do debugging with things that I would say have 1 solution. But there seems to be a class of problems that don't…
JRG
  • 411
  • 4
  • 6
56
votes
4 answers

Why is using MySQL for a dictionary website a bad idea?

I'm planning to design and set up a database to store dictionary entries (usually single words) and their meaning in another language. So, for example, the table Glossary must have entry and definition and each table record has a reference to the id…