I'm curious How do you people think ? (I mean a way of thinking) about design architecture of your Libraries, Systems, Frameworks, etc. before start coding it.
I recently find my self feeling pain in what I've done, and practically every time I want to start everything from scratch..
I do design before, painting some schemes on the paper and imagine how it will work, but maybe I do it in a wrong way ?
For example how do you decide what Interfaces you will need, or how everything will be connected in a best way ?
(I had a problem some day ago, my friend asked me a library what I've done some time ago, and instead of giving him just one file, I had to give him about 3-4 files, and that's because they're connected in some way.. but not in the right one I think :) so it was my mistake in design..)