Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What diagramming techniques (not tools) do you use during your programming? [closed]

What diagramming technique(s) do you use while programming to help you or others understand your program or design. I am not talking about a person's favorite tool, though a good tool probable helps a person greatly with diagramming.

My intent in this question is to find the simple useful diagramming techniques people actually use and find new ones to learn.

Do you use flow-charts, Data Flow Diagrams, ER diagrams, etc?

The web is full of recommendations! But what do real programmers, designers, and code maintainers actually use in their day to day work.

Thanks for your feedback

like image 635
John Burley Avatar asked Mar 11 '09 20:03

John Burley


People also ask

What is a Diagramming tool?

Diagramming software allows users to create detailed diagrams—such as flow charts and floor plans—out of data and images. Diagramming tools often include templates for building diagrams in addition to enabling users to create diagrams from scratch.

Which of the following is the best example of a diagramming software?

Lucidchart (Web) Lucidchart is among the best-known online flowchart and diagramming tools on the web right now, and it's not hard to see why.

What is diagram example?

An example of diagram is a chart showing how all the departments within an organization are related. A plan, drawing, sketch or outline to show how something works, or show the relationships between the parts of a whole. Electrical diagrams show device interconnections.


2 Answers

  • Very High Level Discussion - Context Diagrams where the boxes might represent classes, packages, or sub-systems.
  • High Level Design - Sequence diagrams which show the interface between sub-systems, still no classes directly used but may be implied from this.
  • Detailed Design - Sequence diagrams which are at the class level.

If there is a tricky algorithm for something such as the correlation of multiple data streams into a new stream then I will generally use a Flow Chart to work out the algorithm.

If the solution requires knowledge of state then a State diagram is also used.

Those are the ones I use most.

When doing Data Warehouse design I draw Star Schemas to work out how to store the data. When doing Transactional DB design I use Entity Relationship diagrams to work our data storage.

When designing a UI I just sketch it out. Once I start to get some parts of the UI worked out and want to play with some areas I will make a template, print out a copy copies and then use that as a guide to work on sub-sections. For colour schemes, it can be handy to make a graphic using the gimp and have layers for each piece of the design and then play with the layers colouring each one to find the right balance.

like image 113
Mark Thistle Avatar answered Sep 28 '22 11:09

Mark Thistle


What do we really use? Maybe other people actually create formal diagrams, but for the most part I just scribble bubbles, boxes and lines on a sheet of paper.

like image 32
Eric Petroelje Avatar answered Sep 28 '22 11:09

Eric Petroelje