Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #2130 > unrolled thread

Any free software to help plan data structures

Started byJames Harris <james.harris.1@gmail.com>
First post2012-08-31 00:57 -0700
Last post2012-08-31 12:23 -0700
Articles 3 — 2 participants

Back to article view | Back to comp.programming


Contents

  Any free software to help plan data structures James Harris <james.harris.1@gmail.com> - 2012-08-31 00:57 -0700
    Re: Any free software to help plan data structures Rui Maciel <rui.maciel@gmail.com> - 2012-08-31 19:27 +0100
      Re: Any free software to help plan data structures James Harris <james.harris.1@gmail.com> - 2012-08-31 12:23 -0700

#2130 — Any free software to help plan data structures

FromJames Harris <james.harris.1@gmail.com>
Date2012-08-31 00:57 -0700
SubjectAny free software to help plan data structures
Message-ID<52520758-13ab-4ccf-abb6-261b87c2a9c3@t4g2000vba.googlegroups.com>
I usually use paper to plan out data structures such as drawing these
objects in boxes

  node:
    prev ptr
    next ptr
    parent ptr
    address

  page:
    base
    increment

and sometimes with arrows between them. (I might draw multiple of the
above nodes, for example, to help me visualise the processing. So
there is not just one definition per type.)

Paper is OK for small projects or where there are not too many
changes. For complex objects with lots of changes and for big projects
a software package might be better.

Anyone use or know of some good free software to allow such sketching?
It could even generate structure definitions in various languages so
would be more than just a drawing package but the sketching and
changing are the most important things.

James

[toc] | [next] | [standalone]


#2135

FromRui Maciel <rui.maciel@gmail.com>
Date2012-08-31 19:27 +0100
Message-ID<k1qvn6$dh9$1@speranza.aioe.org>
In reply to#2130
James Harris wrote:

> I usually use paper to plan out data structures such as drawing these
> objects in boxes
> 
> node:
> prev ptr
> next ptr
> parent ptr
> address
> 
> page:
> base
> increment
> 
> and sometimes with arrows between them. (I might draw multiple of the
> above nodes, for example, to help me visualise the processing. So
> there is not just one definition per type.)
> 
> Paper is OK for small projects or where there are not too many
> changes. For complex objects with lots of changes and for big projects
> a software package might be better.
> 
> Anyone use or know of some good free software to allow such sketching?
> It could even generate structure definitions in various languages so
> would be more than just a drawing package but the sketching and
> changing are the most important things.

If you are looking for a way to draw diagrams then you could give Dia a try.

https://live.gnome.org/Dia/


If you prefer to plan your code by laying out some UML diagrams then there 
are some UML tools available, some of which are also able to generate code 
from your diagrams.  Umbrello comes to mind, although it has its flaws.

http://uml.sourceforge.net/


Hope this helps,
Rui Maciel

[toc] | [prev] | [next] | [standalone]


#2138

FromJames Harris <james.harris.1@gmail.com>
Date2012-08-31 12:23 -0700
Message-ID<9b8605e8-f4ff-4426-ae22-048ff279d82c@l9g2000vbj.googlegroups.com>
In reply to#2135
On Aug 31, 7:27 pm, Rui Maciel <rui.mac...@gmail.com> wrote:
> James Harris wrote:
> > I usually use paper to plan out data structures such as drawing these
> > objects in boxes
>
> > node:
> > prev ptr
> > next ptr
> > parent ptr
> > address
>
> > page:
> > base
> > increment
>
> > and sometimes with arrows between them. (I might draw multiple of the
> > above nodes, for example, to help me visualise the processing. So
> > there is not just one definition per type.)
>
> > Paper is OK for small projects or where there are not too many
> > changes. For complex objects with lots of changes and for big projects
> > a software package might be better.
>
> > Anyone use or know of some good free software to allow such sketching?
> > It could even generate structure definitions in various languages so
> > would be more than just a drawing package but the sketching and
> > changing are the most important things.
>
> If you are looking for a way to draw diagrams then you could give Dia a try.
>
> https://live.gnome.org/Dia/
>
> If you prefer to plan your code by laying out some UML diagrams then there
> are some UML tools available, some of which are also able to generate code
> from your diagrams.  Umbrello comes to mind, although it has its flaws.
>
> http://uml.sourceforge.net/

Many thanks Rui, those seem to be good options.

James

[toc] | [prev] | [standalone]


Back to top | Article view | comp.programming


csiph-web