How Do OOP Programmers Flowchart? 134
Lew Pitcher queries: "I recently attended a presentation of a code documentation tool that, among other things, produced a flowchart of the analyzed code. The vendor sells this one product for analyzing both mainframe code (COBOL, 390 Assembler, PL1, etc.) and 'distributed' code (C#, Java, C++, Smalltalk, etc). I haven't kept up with the 'modern' techniques (I prefer Nassi-Shneiderman charts, but I still have my flowcharting template), and wondered if modern 'OOP' programmers use flowcharts. If they don't, what is the preferred technique for diagramming an OOP program?"
Legos (Score:5, Funny)
Legos are for start-ups. Duplos are the future!!! (Score:1, Funny)
HAH!
Your Legos are FAR inferior to my Duplos! *cough*ASP.NET*cough*
Re:Legos (Score:1)
In uml (Score:5, Informative)
On the mac... (Score:1, Informative)
Re:On the mac... (Score:3, Informative)
Re:On the mac... (Score:2)
Re:On the mac... (Score:2)
OmniGraffle doesn't come w/ OSX. It's either $70 or $120 (standard or professional).
It does.
My Mac had it preinstalled. And my OS X 10.3 Upgrade CD containes it as well. Furthermore the upgrade from the Web Site is free also.
angel'o'sphere
Re:On the mac... (Score:2)
When you buy the hardware, you not only get a free copy of Mac OS X but you also get free copies of whatever software Apple happens to be bundling with that particular model this week. (or rather, whenever yours happened to be manufactured.)
They typically bundle things like AppleWorks or games like Otto Matic or Bugdom with consumer machines (iMac, eMac, iBook) and things like Graphic Converter or OmniGraffle with professional machines (PowerMac, P
Re:In uml (Score:2)
Re:In uml (Score:2)
It's a good tool, not suber uper, the best, but it's pretty neat.
-s
Re:In uml (Score:2)
Re:In uml (Score:2)
?? it is free.. they say so. No. It's not open.
Re:In uml (Score:2)
Re:In uml (Score:2)
Here's $5.00, go buy yourself a clue (Score:2)
Re:Here's $5.00, go buy yourself a clue (Score:2)
Re:In uml (Score:2)
Re:In uml (Score:2)
I downloaded the month-long free trial version of Pacestar UML Diagrammer [pacestar.com] at work recently. I only used it for class diagrams, although it obviously does many other types as well, but it produced nice output and was very ease to use. I'd certainly recommend giving it a try.
Re:In uml (Score:2)
I personally hate things that try to generate code for me, so I prefer the former style of tool.
Re:In uml (Score:2)
If you've got any sense you don't use flowcharts (Score:5, Informative)
Personally, if I see somebody drawing a flowchart, I know they aren't currently up to scratch (which doesn't mean that they can't get better).
Actually, flowcharts are good for telling users what to do, and for similar reasons, might be appropriate for designing test scripts. But for the system- nope.
Re:If you've got any sense you don't use flowchart (Score:4, Interesting)
[Looks up from flowchart] None taken...
Actually, flowcharts are good for telling users what to do, and for similar reasons, might be appropriate for designing test scripts. But for the system- nope.
This depends strongly on the system.
For a system that takes in data, performs computations, and spits out answers, a structured design using flowcharts is often appropriate.
That said, implementing part of that design using OO code can be useful. For example, using C++ with a matrix class to do geometry based processing. The actual process may best be described as a flowchart though.
OOA/OOD/OOP are not the silver bullets. I've seen a major revision of a large commercial computational program wither on the vine due to misunderstanding how to best apply object based thinking. 'Everywhere' is not the right answer.
Comment removed (Score:5, Informative)
Re:If you've got any sense you don't use flowchart (Score:2)
Yeah, well. Some of us are complaining about the lack of dataflow diagrams in UML ;-) If it doesn't even support that, what do we need a standardized notation for? Drawing stick-figure men?
Re:If you've got any sense you don't use flowchart (Score:2)
If you use stereotypes and load appropriated pictures into your CASE system, they even look like DFDs.
UML stands for Unified Modelling Language. My I emphasize: Language.
Its a language like C++ and Java and Ada or what ever your personal prefered language is. You can do everythign with it as long as yoour CASE system is at least a little bit up to date.
That means you can define your own meaning for structures, and you can defeine your own graphics for stuff you mis
Re:If you've got any sense you don't use flowchart (Score:2)
Re:If you've got any sense you don't use flowchart (Score:2)
Its a Java based case tool, also with XMI export.
To transform an activity diagram into a Flow Charting tool or a Data Flow Diagramming tool you only need to look at the configuration options.
Define an stereotype for an activity and a stereotype for a flow, load the appropriated graphics into the tool for the stereotypes you defined. A lot of CASE tools support that.
Yeah, you are right, its a pitty that EA is for windows only. That tool is
Re:If you've got any sense you don't use flowchart (Score:2)
Since activity diagrams are basically flowcharts, and flowcharts and DFD's are totally different things, I can't see how activity diagrams can be DFDs too
Re:If you've got any sense you don't use flowchart (Score:2)
Understood
The elements on UML diagrams are just the building blocks of the graphical language. Just like "int", "if" and "class" are the building blocks of your programming language.
As you can use an int to code a date, or an age or a length in millimeters you can use an activity from an activity diagram to express everything e.g. a process in a DFD.
The CASE system does not interpret your usage. The reader of your diagram does. Just as the compiler in a programming language
Re:If you've got any sense you don't use flowchart (Score:2)
Re: (Score:3, Informative)
Re:If you've got any sense you don't use flowchart (Score:2)
Actually, in situations like you are describing pseudocode is good.
I've seen a major revision of a large commercial computational program wither on the vine due to misunderstanding how to best apply object based thinking.
Lots of people don'
Re:If you've got any sense you don't use flowchart (Score:2)
Re:If you've got any sense you don't use flowchart (Score:3, Funny)
A design should be written on the smallest napkin possible, but not smaller.
Anything more than that is gravy.
Re:If you've got any sense you don't use flowchart (Score:3, Insightful)
That's as insightful as it is funny.
Programmers should resist the urge to pull out a computerized tool when modeling. If it doesn't fit on a napkin, it's probably not abstracted enough to be useful to those who need it. If you need to "zoom in" on one of the boxes on the napkin, pull out another napkin.
Do you need to archive it on a computer, perhaps on an internal Wiki? Scan it. Does it need to be prettier than a scan
Re:If you've got any sense you don't use flowchart (Score:3, Informative)
While I have a lot of sympathy for the view that pencil and paper are an under-rated combination these days, I think that's going a bit far.
I've recently spent a fair amount of time drawing r
Re:If you've got any sense you don't use flowchart (Score:2)
The nearest thing to flowcharts that are used in OO are:
* state diagrams
* message sequence charts
Not quite right. The nearest thing are activity diagramms. Basicly they *are* flow charts.
Activity Diagrams support more even, they can be mixed with states and have event sources and sinks and can show object flow (work flow).
Personally, if I see somebody drawing a flowchart
Re:If you've got any sense you don't use flowchart (Score:2)
In my experience they are rarely useful. They manage to fall in the no mans land between accuracy and useful approximation; getting the worst of all worlds. Pseudocode is generally better.
How do you do that if you don't have every line of code in your mind?
Simple. I don't work on subsystems with more than 200,000 lines of code.
Re:If you've got any sense you don't use flowchart (Score:2)
Simple. I don't work on subsystems with more than 200,000 lines of code.
Fine. And I would asume a system composed of lets say 25 such subsystems might be a perfect case for using high level activity diagrams as documentation or as start of planning(before coding).
You still owe me the answer how you like to shift over such a subsystem to a new worker taking over your position when you move on to the next challange
How far away from true code is that pseudo code, anywa
Re:If you've got any sense you don't use flowchart (Score:2)
I wouldn't know, I've never been in that position; I usually hand them an inch thick document as well as the code. It just doesn't contain any significant flow charts because they suck.
From what I can tell, the systems you work on are so heavily constrained that a flowchart actually makes sense.
The systems I have wor
Re:If you've got any sense you don't use flowchart (Score:2)
So how do you transfer knowledge then? I completely agree that a one inch document is invalid before one is able to read and understand it.
If your prblem domain is that complex I would asume you use message charts or sequence charts (instead of activity diagrams/flow charts), but using no graphics at all seems strage to me. So, do you use them? Or what do you use else? How often do requirements change, or new features come up?
angel'o'sphere
Re:If you've got any sense you don't use flowchart (Score:2)
Ultimately, it's just a map, and the map is not the territory.
I've written the documents, I've done week long teaching on the system; I've given a sort of apprenticeship to students (generally given them bugs to fix helps quite a lot.)
They all work to a degree.
Ultimately though; the code is the real deal; people just have to learn it; it takes months/years.
UML Sequence diagrams (Score:4, Informative)
UML State (or Activity) Diagrams (Score:3, Informative)
UML State Diagrams come from David Harel's work on Statecharts. Statecharts constitute a broad and popular extension of finite state diagrams
While there are some differences between original statecharts and UML state diagram, the best introduction remains imho David Harel's paper : Statecharts: A Visual Formalism for Complex Systems (Science of Computer Programming 8-3, 1987). It is available onlline here on David's home page [weizmann.ac.il].
You can also rely on any good book about the UML (i recommend Addison-Wesley Object Technology Series).
Re:UML State (or Activity) Diagrams (Score:2)
My favorite is UML Distilled [amazon.com] by Martin Fowler. It tells you what all the symbols and diagrams mean, without getting bogged down in lots of methodology that most people don't care about. If you're just going to use UML as a standard way of drawing design diagrams, you don't really need a 2" thick book on it.
Never used them (Score:5, Insightful)
I've been programming for 19 years now; started my CS study 12 years ago; programming professionally for a few years. I used Java, and fast development languages like Python. I've never seen a flow chart in practice, let alone used one. So it's a bit hard to say.
Somehow flow charts seem fit only for relatively short programs, that have a clear flow from A to B. My programs are web apps that constantly react to requests from web forms that are sent in, supported by a bunch of scripts running from cron to periodically update database stuff. Program-wide, there is no single flow.
On the method-level (or the Action level, I build a large J2EE app with Struts), we could use flow charts I suppose. But they look pretty cumbersome; mostly I just write out what the method is going to do in a comment in English and/or pseudocode, and from that I write down the code.
What each action is supposed to do, and what each method of an object is supposed to do, that is (should be) designed beforehand. There you get tools like UML, if you want to use something like that. What we design is the data objects, and the interface they should expose, and so on.
How those methods do their work is decided at coding time, and is the only place where traditional flow charts seem applicable.
Just some thoughts, I don't know if I'm making sense, since mostly I get very little time for any design at all, in reality...
Re:Never used them (Score:2)
10 or 20 years from now programmers may be saying "UML, nobody but old farts use that anymore". And so it goes.
Re:Never used them (Score:2)
It's pretty straightforward... (Score:3, Interesting)
Event triggered programs can be a little different, but each event is simply a string of operations - a procedure which is easy to flow chart. You simply have lots of little flowcharts instead of one large one.
OO does have data structures which are handy to document in a visual way. These would not be flowcharts, but they may include flowcharts to properly document the methods/functions/operations effective on the data. The documentation of the data itself would not be flow chartable - this is where UML is handy.
Since a program is a sequence of instructions with loops and conditional operators, whether it's procedural or event triggerred, it's fairly strightforward to flow chart it. The mere definition of a program also defines a flow chart. It's going to be awhile before we get reasonable processors which perform work without following a logical sequence of steps - mainly because it's hard for us humans to understand how something can be done in a way that we can't easily visualize or do ourselves. The real machine intelligence won't happen because machines will be smarter at doing the things we do, it's because they will do things we can't do.
-Adam
Here's the new "modern technique" (Score:5, Funny)
--Stephen
Twisted technique... (Score:4, Funny)
Anybody try it? Can it be done?
Re:Twisted technique... (Score:1)
This is why outsourcing is good for the economy. If we all did it, we would all be rich.
American companies are more productive if jobs can be more cheaply done overseas. Americans that work for American companies can make more money if American companies are more productive. You just have to do something that you can do better than 5 guys in India.
If you can't find something that you can do better than someone else who will do it cheaper - then who owes you anything?
Re:Twisted technique... (Score:3, Insightful)
as already mentioned by others (Score:4, Informative)
Start Here [omg.org], then try google for more introductory articles that are out there.
If you want books on the topic, I recommend UML Distilled by Martin Fowler for a quick intro, then branch out from there. (There's hte Object Technology [awprofessional.com] series from Addison-Wesley, which are usually very good, but they're not the only UML books out there) I also recommend you download a UML tool (there are a bunch out there - free as in beer, Open Source, or try a commercial trial version)
As for flowcharting, there are several model types in UML to handle it. Activity diagrams come immediately to mind (these are very close to the classic flowcharting techniques), but state charts and sequence diagrams are useful also to supplement an activity chart. Also look into the structural models - class diagrams, deployment charts, etc. when assembling/designing your program.
UML is language independent - meaning it's not explicitly tied down to one specific language. Although, it is useful to keep in mind what language you plan on using when authoring in UML.
OOP coders don't flowchart (Score:2)
The flow just sort of hops around with no
real relationship between what is written in
the code and the flow of control. You see
one of the great advantages of OO'ation is
that code no longer corresponds to flow of
control. This is usually called dynamism
or genericity, but you may also know it as
job security.
Re:OOP coders don't flowchart (Score:5, Funny)
for
adding
your
own
newlines
it
mak
things
so
much
easier
to
read.
KISS (Score:3, Interesting)
I've tried a lot of the fancy UML tools, but they're really not any better than a very simple drawing program. The purpose of a diagram is to convey information. For that purpose simpler is usually better, and a diagram that uses too many specialized symbols to denote subtle nuances is not simple; that stuff should be described in the text. Maybe a case can be made for the extra symbology in a class diagram, but not in a flowchart or timeline. If your flowchart has more than about twenty items, or more than four types of items, or can't be drawn without crossing lines, it needs to be broken apart into a top-level flow and separate diagrams for secondary flows. Any simple box-and-line drawing program should be able to handle that, though a little bit of intelligence in routing lines doesn't hurt. Focus on the information, not the tools.
Re:KISS (Score:3, Interesting)
A UML tool can do two things a simple diagramming tool can't:
* generate source code
* reverse engineer source code
As a standard compliant CASE system usually supports XMI export (a defined XML standard) you are free to transform the XMI with XSLT into any form of code.
Furthermore: how much time do you spend analizing? How much time designing? How much time coding?
You sound as if you would analyze/design one week and code after that 6 weeks. So you spend in total 7 weeks.
I prefer to analyze one week
Re:KISS (Score:3, Insightful)
The poster wasn't asking about source-code generators. He was asking about diagrams. In terms of diagrams the UML-oriented tools are no better than simple alternatives, even if they offer other features as well. Is a text editor no good just because it's not a full-blown IDE? Not if you just want to edit text.
Re:KISS (Score:2)
Of course you push UML tools because you have a business interest in doing so; maybe you should have skipped that dozenth UML class and taken an ethics class instead.
Probably you should have taken an ethics class?
I have no interest in pushing UML tools, I'm not in an UML tool company. I'm an OO consultant, focusing on software processes, teaching to use the right tool for the job. If you process level is so "low" that UML -- not even talking about an UML tool -- is out of scope for you
Re:KISS (Score:2)
Those two statements are inconsistent.
Obviously not.
Ahhh, another gratuitous insult. You're the one who started with the condescending attitude, buddy. Don't whine when it rebounds on you. Our process level is doing just fine, and you h
Re:KISS (Score:2)
You said diagrams are enough
Sorry that I'm arrogant. I know that. And I don't need a job
Why, you ask? Because I gave all my customers an independent objective councel. I refuse at lea
Java (Score:1)
Re: How Do OOP Programmers Flowchart? (Score:3, Informative)
In typical structured programming, there is more emphasis on control flow. Furthermore, for any modestly sized software, you will need flowcharts withy varying detail - those depicting the overall flow, flow for a particular user, flow within a particular module, and so on. This essentially leaves the decision of detail to each organization and/or author, and we can thus argue this approach introduces a certain vague-ness.
OOP, on the other hand, provides more detailed and clearer demarcation for each of these entities.
Re: How Do OOP Programmers Flowchart? (Score:2)
Please don't confuse OO with UML. None of the things you mention is necessary for OO (although some variation on things like class diagrams usually arises sooner or later) and some of them are equally applicable to other design methodologies.
Modern techniques (Score:1)
Re:Modern techniques (Score:1)
"Umm... we'll take care of that in post-production."
Ha Ha Ha (Score:2)
Each time the flowcharting standard comes up, there is some discussion about whether to retire it. They always decide not to, because there are many contracts that specify a flowchart, and would have to be renegotiated if there were no such standard. The most reasonable change, were it to be changed, would be to allow a single bla
UML (Score:1)
Chart the data (Score:1)
Re:Chart the data (Score:2)
This younger gen'ration just don't understand multi=level flow charts.
Aside: Do meddle in the affaird...? Y'know, if they're crunchier, some like to roll 'em in powdered sugar, which is bad for their fangs.
y Ddraig Goch, eh? Cymry?
mark, y Ariandrake, cymrophile
Re:Chart the data (Score:2)
In your business environment, and many others, no doubt that is true. However, "enterprise applications" (or databases, as we used to call them) represent only a significant fraction of development work, not by any means all of it. A lot of real programs still use real algorithms that do more than construct a SQL query and whizz it off to some server via the latest and greatest RPC trick, y'know. :
Whiteboard... (Score:5, Insightful)
Personally, I'm wary of any formalized system of object design (UML being the prevailing method at the moment). UML is a beast designed to design the hell out of anything that got in its path. Learning UML is roughly as complicated as learning Hebrew, with the drawback that more people actually understand Hebrew.
Most of my experience with UML and other formal object languages involve one individual scrawling archaic symbols (which may well be astrology charts) on a whiteboard whilst everyone else in the room constantly ask "what does that symbol mean?" The designer invariably explains the symbol, in as condescending a tone as possible.
I don't believe I've actually met anyone who uses formal modelling languages because it makes design easier; most seem to learn them solely for demeaning those who don't know them.
Given that the goal of these languages is to communicate design, they must be failures. Rather than simplify the communication of a design, they complicate it. Really, it makes no more sense than me using Latin for all my design notes, just to insult my barbarus coworkers. Well, that does no good.
I've found that using simple symbols such as "abstract" to denote an abstract class works just fine. Works fine for me, saves explaining what a lambda symbol means, and clearly explains its intent as an abstract class...
Re:Whiteboard... (Score:2)
The fact is that the (human) language a software team speaks is the most powerful and effective way to communicate overall. Diagrams can be helpful, but they'll always be a supplement.
Re:Whiteboard... (Score:2)
This discussion reminds me of a conversation I had about 10 years ago with the regulatory affairs director of the medical device company I was working for.
I gave her a detailed data flow diagram for our software to include with her FDA submission. She gave it back to me and said she was afraid that i
Why do you need a graphical representation? (Score:5, Interesting)
Chip designers (I used to be one) in the old days (before about '92) used to use schematics which are pictorial representations of their designs. But in the early 90's HDLs (hardware description languages) bagan to creep in. Now you rarely find schematics used for digital design. It's all done in HDLs. Why did this happen? Mainly because it's a whole lot easier and more powerful to describe a circuit with an HDL. You don't have to draw all those wires to connect everything. You can describe things at a very high level, such as an adder to add two 32bit values: A + B (where A and B are 32 bit vectors). What could be simpler.
Another reason that schematics were abondoned is that it's a lot easier to parse text than graphics. The UML promoters should take note.
Now the UML folks are essentially trying to take software design back to the schematic age. The hardware people learned that schematics are not the best representation.
The answer is to program at a higher level of abstraction. This might mean chosing a higher-level language to prototype in (I like prototyping in Ruby) or it might mean using techniques like state machines, for example.
Re:Why do you need a graphical representation? (Score:1)
While that may be so, for software design of any significance, you're going to need to express relationships that will be difficult to predict a priori. Using a design language might be easier to produce, but it's certainly no more expressive of the overall design than a diagram.
Another reason that schematics were abondoned is that it's a lot easier to p
Re:Why do you need a graphical representation? (Score:3, Insightful)
OK, so UML editors are now able to spit out XML. That makes the concept a bit more usable. Now we have something to grep.
A prototype and a spec are two completely different things. They each have their place, and they aren't wisely exchanged.
Perhaps, but add 'test-first' development with unit tests to the mix and you've got an executable spec. If I can use the same set of unit tests for both my prototype
Re:Why do you need a graphical representation? (Score:2)
p.s. There are valid objections to UML, it's just that your analogy isn't one of them.
p.p.s. And no matter how many valid objections you come up with, management likes to see UML, so it's all pointless.
Re:Why do you need a graphical representation? (Score:2)
I'm just relating what I saw happen in another design community. Creating hardware these days, btw, is very much like creating software. Design languages, compilers, etc. I do software for hardware design automation.
p.s. There are valid objections to UML, it's just that your analogy isn't one of them.
Why not? as someone who has been on the other side of the wall, I'm telling you about
Does anyone use "Collaboration Graphs" ? (Score:2)
So does anyone actually use this? What's the advantage over UML?
Re:Does anyone use "Collaboration Graphs" ? (Score:2)
Consider Activity Diagrams (Score:2, Informative)
There is no straight analogy in OO for a flow chart or DFD. But activity diagrams ( here [kennesaw.edu], here [dotnetcoders.com], and here [agilemodeling.com]) serve a similar function. They provide a high level of abstraction that can be done with a picture.
One poster said to use a "high level language". I agree, at least with the first two words. I mildly disagree at the word "language". Some people think better in words, others think better in pictures.
What's important is that you don't try write your detailed code using pictures. People who map on
OOP Flowcharts? (Score:2)
However, without the whiteboard, I would have to say that I rarely do so.
The scary thing is... (Score:2)
What design? (Score:3, Insightful)
That's not to say that there aren't real engineers out there, or that designs are a bad thing. Just that whenever I talk of actually designing a product/project to nail it down, people look at me like I'm crazy. Who would have thought that wanting a specific goal to shoot for was so foreign a concept.
Nobody wants to do research. Employers change feature lists with the whim of the customer du jour on the phone. Programmers waste time by throwing useless gadgets and doo-dads into software that never works properly, and would never have gotten past the design stage.
In these insane times, you get your head handed to you if you demand designs, documentation, and working code. Fix or make reliable software and you're out of a job.
Re:What design? (Score:2, Insightful)
Hidden costs are a bitch. (Or as Robert Glass puts it more eloquently in Facts and Fallacies of Software Engineering, "the hard drives out the soft").
WHY flowchart? Evidence that it helps? (Score:2)
If traditional flowcharting isn't beneficial for traditional programming, why would O-O flowcharting be beneficial for O-O programming?
Re:Nobody uses flowcharts any more (Score:3, Informative)
Please try going to IBM/HP/Oracle and tell them to implement you a 10 million dollar software solution but tell them you don't want them to spend time doing any actual planning. You'd just like them to start coding immediately.
Every large project should use some sort of diagramming/planning. Can you get away with no flow-chart for a website or maybe even a 100,000 line program .
Re:Nobody uses flowcharts any more (Score:2)
I didn't say anything about designing, planning, or whatnot. I specifically said FLOWCHARTS
Note that a flowchart is not a design.
Re:Nobody uses flowcharts any more (Score:4, Insightful)
You're probably a troll, but I'll bite.
Flowcharts are an incredibly useful tool, but as with all tools the trick is not knowing how to use them, but when to use them.
There are at least two core areas where flowcharts are still pertinent in modern development:
UML does not offer an adequate solution for modeling user interaction. A Use Case gives a high level name to interaction, and can be described, but often the description is inadequate to satisfy the user's requirements. Sequence and collaboration diagrams present the message flow between objects, but do not succinctly present the user experience.
In the analysis phase, understanding the user expierience is vital. Developers and non-technical customers can easily understand Use Case diagrams (what you can do with the system) and flowcharts of interaction explaining the Use Cases (how you do it).
Under the hood, every OO language has a core that provides for sequential execution of instructions with branching and looping. A flowchart can graphically clarify a complex process or algorithm that cannot be further reduced into objects (at best it may be functionally decomposed), and would be poorly described by pseudocode.
Web interfaces and embedded systems are examples of other areas where flowcharting can be invaluable.
In the case of user interaction (the more common use of flowcharts Information Systems) a developer will seldom see or directly use the flowchart. Instead the interaction described by the flowchart will be translated by a designed into class, sequence and collaboration diagrams that describe the implementation of the operation the user is trying to achieve.
Re:Nobody uses flowcharts any more (Score:2)
Re:Nobody uses flowcharts any more (Score:2)
Thanks for the information -- I wasn't aware of Garrett's work before, and his vocabulary is rather interesting.
That said, I have to make several counter-points:
Re:Nobody uses flowcharts any more (Score:2)
Also, the problem that I have with flowcharts is the idea that it is a sequence of events. Garrett makes no claims about there being any sequence, only relations, links and si
Re:Nobody uses flowcharts any more (Score:2)
I didn't say anything about designing, planning, or whatnot. I specifically said FLOWCHARTS
Note that a flowchart is not a design.
OOPS, ok, I got it. You don't use flowcharts. But you do design? So what do you use for analysis then? No flwo charts right? So what is left? Text only?
Software comes from:
analysis: WHAT do we want
design: HOW do we do it
implementation: SO it will work
test: DOES it WHAT it was intended for in a way HOW it was intended?
I think diagrams might indeed help there
angel'o'sph
Re:Nobody uses flowcharts any more (Score:2)
English is usually what I use by the way.
Re:Nobody uses flowcharts any more (Score:3, Insightful)
Planning, of course; diagramming, not so much. Design should be done primarily using English (or your local language) text, supplimented with diagrams.
Software is a linguistic construction; blueprints or schematic diagrams are not as useful as they are in electronics or building construction. The fetish for diagrams over text usually indicates someone who can't write decent prose. And if you can't write decent prose well, you can't write
Re:Nobody uses flowcharts any more (Score:2)
You will understand a diagram easyly 100 times faster than the equivalent two pages of text description.
Why do you think street signs are "symbols" and not just white boards with some text on it?
For two pages english text you need at least 4 minutes to read it.
Ever read the famous GOF book? Any idea what a design pattern is? Just open the book and read one chapter
Design: language or diagrams? (Score:2)
Didn't anyone ever tell you that a picture is worth a thousand words?
(Of course, it has to be a good picture to be worth a thousand good words.)
Is it? We usually choose to represent it in a linguistic way, and attempts to use more graphical means have generally turned out pretty badly. However, it's debatable whether that failure was because software desig