Simplified analysis and design?

How to keep track of what I am doing?

Page 1 of 1

2 Replies - 636 Views - Last Post: 23 April 2010 - 12:23 PM

#1 jens  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 67
  • View blog
  • Posts: 430
  • Joined: 09-May 08

Simplified analysis and design?

Posted 12 April 2010 - 06:37 AM

Hi!

Reading a few threads here on D.I.C. about weaknesses when coding and how we plan our code I have realized that I'm actually worse at this than I thought. At times I try to gather information and plan my program but end up chucking it all and just start coding at one end. Why? Because I feel that otherwise I'm doing the same thing twice. I mean like why draw an UML representation of a class when I can just as well code it?

At the same time I strongly feel that this way of working is no good once the projects become a bit larger. A book on programming I read a few years ago stated that "Complexity isn't a result of size but of interactions." which I find to be true - if you plan, which I don't. So at times I find myself lost in my own code. There are classes everywhere and I can't remember them all, what they do, if they are ready or not and/or how they interact.

So, what I need is some kind of method to give me a roadmap of where I'm going that will also help me keep track of what I've done and why I did it.

This brings me back to the "why draw UML when I can code it?". I've been looking in to UML, CRC cards and some obscure analysis and design methods and tools. I find them bloated, complex and/or too time consuming. I want something quick and dirty that still works (isn't that a holy grail?).

I am trying to figure out some simplified combination of UML use cases, CRC cards and drawings of screens.

So, I'm wondering if you have insights to share, maybe even methods or concepts that you use that work well for keeping smallish projects under control.

Regards
Jens

This post has been edited by jens: 12 April 2010 - 07:02 AM


Is This A Good Question/Topic? 0
  • +

Replies To: Simplified analysis and design?

#2 Bacanze  Icon User is offline

  • D.I.C Head

Reputation: 36
  • View blog
  • Posts: 202
  • Joined: 09-April 10

Re: Simplified analysis and design?

Posted 12 April 2010 - 11:57 AM

Well to be honest, although designing documentation is a good habit, it's not always, especially for small projects. I've never used software engineering analysis tools such as UML, DFD's data dictionaries an so on, unless required at uni ^^.

My secret to designing software, is to get a few blank A4 pages, rest on a large book, put some music on and start drawing out boxes containing logic regarding how I can solve the problem and so on. Then simply drawing lines between them whilst constantly reflecting 'will this work' or 'am I missing something' by the end there a lot scribbling and mess, but it always works out great.

For me, I can do this much faster than staring at a monitor, and it saves me time from thinking what should I do next when coding.

This post has been edited by Bacanze: 12 April 2010 - 11:58 AM

Was This Post Helpful? 0
  • +
  • -

#3 motcom  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 290
  • View blog
  • Posts: 1,371
  • Joined: 16-June 08

Re: Simplified analysis and design?

Posted 23 April 2010 - 12:23 PM

Hi,

Read this post, this is how we do it practically, in theory things always tend to be different to practically....

Just remember you learn constantly and you will find meaning to the things you learned about UML etc...
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1