<p>When you are starting a personal programming project, what is your first step? I'm trying to start a project thats just an idea at the moment. I get lots of these and I dive right into the code and after a while just completely lose interest and or just forget about the project.</p>

<p>When you are starting, what is your first step? do you plan out the project? make a diagram? write some code on paper? How do you start a project in a manner that you know you will succeed?</p>

[{'answer_id': 60949, 'author': 'Ed S.', 'author_id': 1053, 'author_profile': 'https://Stackoverflow.com/users/1053', 'pm_score': 2, 'selected': False, 'text': '<p>For my own personal projects I just dive right in.  Of course, none of these have yet been sufficiently large as to require any sort of pre-planning.  If this is going to be a serious project or a relatively large scale, it is always a good idea to flush out at least what each part of the program needs to do and a high level view of how they will do it.</p>\n'}, {'answer_id': 60958, 'author': 'Fusion', 'author_id': 6253, 'author_profile': 'https://Stackoverflow.com/users/6253', 'pm_score': 3, 'selected': False, 'text': '<p>I spend a lot of time thinking about the various aspects of the project before I even touch a keyboard.</p>\n\n<p>I go through what I\'ve learnt from previous projects and write it down in various categories (\'technical\', \'promotion\', etc)</p>\n\n<p>Personal project or not, I always set up source code control. Git, Mercurial of Bazaar are examples of source code control tools that are not intrusive because you do not need to set up a master server. Just type a simple command to create the project, check your files in, commit. In the future, when you mess up one of your files, you will be able to \'undo\'</p>\n\n<p>I also set up a lightweight ticket system to keep track of 1.issues and 2.ideas\nBy "lightweight" I mean that if maintaining two text documents with these lists works for you, that\'s good enough.</p>\n\n<p>Hope this helps.</p>\n'}, {'answer_id': 60965, 'author': 'Maximilian', 'author_id': 1733, 'author_profile': 'https://Stackoverflow.com/users/1733', 'pm_score': 5, 'selected': True, 'text': "<p>The only thing that works for me: Create the smallest possible implementation of it that's somehow usable and then use it.</p>\n"}, {'answer_id': 60968, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 0, 'selected': False, 'text': "<p>First plan out the basic outline of the final application. Most important features, basic GUI, program flow, etc. Then refine that so that you don't take on too much at first, remove unnecessary features, and add what else you want in the first version. Then use that outline to start a task list to create the smallest possible working version of your application. Then it's much easier to add extra features and make it fully functioning.</p>\n"}, {'answer_id': 60969, 'author': 'Andrew Johnson', 'author_id': 5109, 'author_profile': 'https://Stackoverflow.com/users/5109', 'pm_score': 4, 'selected': False, 'text': '<p>From <a href="http://en.wikipedia.org/wiki/The_Seven_Habits_of_Highly_Effective_People" rel="noreferrer">7 Habits of Highly Effective People</a>, Habit 2: Begin with the End In Mind.</p>\n\n<p>With any project you need a clear goal, a point where you can say "I\'m finished".  A clear outcome will give you direction.  Once you have that, you can start planning how to get there.  The size and complexity of the project will determine how much detail your plan needs, but in general you\'ll want to feel your making progress against your plan quite regularly.</p>\n\n<p>My next step is to sketch out a design of the modules that will be needed and the APIs between each module.  If the APIs are clean then the modules are probably right.  Then I start implementing the modules, testing as I go.</p>\n'}, {'answer_id': 60986, 'author': 'quick_dry', 'author_id': 3716, 'author_profile': 'https://Stackoverflow.com/users/3716', 'pm_score': 1, 'selected': False, 'text': "<p>It depends on the project - how big is it?</p>\n\n<p>If I'm writing the next Notepad clone I might just dive in, if I wanted to roll my own operating system it'd take a lot more non-coding work.</p>\n\n<p>I like to do a lot of diagrams, the tool I use for most development is clean A4 paper and a pencil. Draw out the UI, workflow, basic classes, and how you're going to store any data - then the coding is just a computer readable way of writing what you drew already.</p>\n\n<p>Source control le.g. SVN is a couple of keystrokes/clicks, so the overhead is low and the benefit is high, its handy to try stuff and just revert to an earlier state if they don't work.</p>\n\n<p>Then just make the most basic protoype that will work - once something is actually going it is much easier to get enthused and add more. If it is overwhelming I'll find I think the problem is solved in my head, and thats enough.</p>\n"}, {'answer_id': 61027, 'author': 'jbdavid', 'author_id': 6314, 'author_profile': 'https://Stackoverflow.com/users/6314', 'pm_score': 0, 'selected': False, 'text': "<p>I like Maximillian's answer.. to expand a little, my person projects are developed to solve something I'm working on already.  So when I get tired of repeat work I'll prototype a solution. and then use it. If Its similar enough to one of my earlier projects I'll borrow as much code as I can and try to improve the level of my work, make it more professional. </p>\n\n<p>Fusion's use of Source Control is important too. Takes 2 minutes to install SVN. </p>\n"}, {'answer_id': 61041, 'author': 'cwhite', 'author_id': 4923, 'author_profile': 'https://Stackoverflow.com/users/4923', 'pm_score': 2, 'selected': False, 'text': '<p>Like the others, my personal projects always have:</p>\n\n<ul>\n<li>A Final Goal</li>\n<li>A Task List</li>\n<li>Small usable units</li>\n<li>Source control</li>\n</ul>\n\n<p>As an additional motivator, I try to use a technology that I have never used before.  Learning something new generally becomes the largest motivator for me.</p>\n'}, {'answer_id': 61048, 'author': 'Eugene Yokota', 'author_id': 3827, 'author_profile': 'https://Stackoverflow.com/users/3827', 'pm_score': 0, 'selected': False, 'text': '<p>If you want to turn it into a public open source project, <a href="http://producingoss.com/" rel="nofollow noreferrer">Producing Open Source Software</a> is supposed to be a good read (available both online and in print).</p>\n'}, {'answer_id': 61147, 'author': 'ima', 'author_id': 5733, 'author_profile': 'https://Stackoverflow.com/users/5733', 'pm_score': 2, 'selected': False, 'text': "<p>Easy - don't start at all projects you're likely to lose interest in. Spend more time to make sure you want to commit yourself to an idea before beginning any work.</p>\n"}, {'answer_id': 61197, 'author': 'Sergio Acosta', 'author_id': 2954, 'author_profile': 'https://Stackoverflow.com/users/2954', 'pm_score': 2, 'selected': False, 'text': "<p>I agree with the already given advice of:</p>\n\n<ul>\n<li>Planning a minimal implementation that does something useful as a first complete release.</li>\n<li>Have concrete goals about what you want to achieve to have something to compare your progress with.</li>\n</ul>\n\n<p>I would also recommend beginning with a lightweight design of you overall <strong>architecture</strong> so you can have a <em>roadmap</em> of how to build your product.</p>\n\n<p>I find it difficult to start building something when I don't have a clear idea about how it should look at least at a first level of decomposition. Think about what do you need besides functionality: high performance?, extensibility scenarios?, which ones?, usability goals?, high scalability?, ease of deployment and installability?, etc. Ask yourself: What components I will have to build in order to achieve those architectural qualities?. </p>\n\n<p>And don't get me wrong, I'm a strong proponent of agile software development. You don't need to spend a lot of times designing your architecture (because it surely will have to evolve as you build and get feedback about what works and what doesn't), but <strong>having a blueprint of how to build your product based on its architecture</strong> should be useful in for  planning your progress and <strong>setting realistic goals</strong>.</p>\n"}, {'answer_id': 61291, 'author': 'hwiechers', 'author_id': 5883, 'author_profile': 'https://Stackoverflow.com/users/5883', 'pm_score': 0, 'selected': False, 'text': '<p>If your personal project is similar to an existing open source project, you should consider contributing to that project instead. A couple of small contributions (bug fixes etc.) are \nmore valuable than a half finished project.</p>\n'}, {'answer_id': 81715, 'author': 'JBB', 'author_id': 12332, 'author_profile': 'https://Stackoverflow.com/users/12332', 'pm_score': 2, 'selected': False, 'text': "<p>Define the goal for the project. Sounds like you are looking almost exclusively at the solution rather than the problem.</p>\n\n<p>A program isn't useful to you or anyone else unless it addresses some problem. Writing code to get moving is great, but you appear to lose interest and focus after you start -- because you're looking at the code, not the problem.</p>\n\n<p>Spend some time considering what led you to write this code. Ponder how other people might discover the same need, what path might take them to the same frustration you worked to solve.</p>\n\n<p>Then, find some of those people and offer your (partial) solution, and you'll generate interest and suggestions among them all.</p>\n\n<p>THAT will keep you going on your project. The fellow interest, the sharing, even the disagreements -- it's people who need software! Don't create solutions (software) looking for a problem (people). You started with YOU, with your need or desire, but focused on the code, and lost the impetus for the project. </p>\n\n<p>Programming's a lot more fun when you're problem-solving. But you need to keep the problem in front of you. Sharing the problem builds community. That's what this is really all about, isn't it?</p>\n"}, {'answer_id': 5419256, 'author': 'BillyWill', 'author_id': 663450, 'author_profile': 'https://Stackoverflow.com/users/663450', 'pm_score': 0, 'selected': False, 'text': '<p>All of the above, but start to cement the plan in place.....</p>\n\n<p>Go for some tools\nSmartSheet - even if you are working on your own you should set out some stages and dates\nyEd - and Graphity from www.yworks.com </p>\n'}]
['https://Stackoverflow.com/questions/60939', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/2128/']