how do youdraw flowchart that “Yes” if Num = 1, displays “No” if Num =2,and displays nothing else.
drawing a flowchart
Collapse
X
-
I don't draw flowcharts; they're so 1960s. At best I scribble a Nassi-SchneidermannOriginally posted by lizawwhow do youdraw flowchart that “Yes” if Num = 1, displays “No” if Num =2,and displays nothing else.
diagram but normally I don't bother: a verbal (written) description does fine. All
those stupid graphical languages are silly (*)
kind regards,
Jos
(*) and that includes all of UML. -
That might work for small programs but not ones of any consequence.Originally posted by JosAHAt best I scribble a Nassi-Schneidermann
diagram but normally I don't bother: a verbal (written) description does fine. All
those stupid graphical languages are silly (*)Comment
-
All true, but the same is true for flowcharts, Nassi-Schneider (*) diagrams andOriginally posted by weaknessforcatsThat might work for small programs but not ones of any consequence.
all that UML crap; it was made by those Yourdon types who don't do any serious
programming themselves but make money out of lecturing that hulla-baloo.
The programming community is forced to listen to that fake, forced by their
management who don't do any programming themselves either.
A young friend of mine, a very intelligent man and a remarkable programmer
once showed me a note from one of his managers that stated that people
should use colours in the UML diagrams from now on. That young man happens
to be colour blind.
I prefer clear, concise verbal (written) descriptions with the name of the author
stamped on it.
kind regards,
(*) The name happens to be 'Schneider', not 'Schneidermann' ; I looked it up after
I had posted my previous reply.Comment
-
I wish I knew your customers as there are none on this side of the pond. We, with miniscule exceptions are sitting at SEI/CMM Level 1 : Anarchy. That is, start coding while I find out what the customer wants.Originally posted by JosAHI prefer clear, concise verbal (written) descriptions with the name of the author
stamped on it.Comment
-
It's sad isn't it; it's like that on this side of the puddle too most of the time. I amOriginally posted by weaknessforcatsI wish I knew your customers as there are none on this side of the pond. We, with miniscule exceptions are sitting at SEI/CMM Level 1 : Anarchy. That is, start coding while I find out what the customer wants.
the proud owner of my own one man's army^H^H^H^H company: DADID Systems.
The first five letters mean: Define, Analyze, Design, Implement and Deliver and
that is exactly what I do and explain that to my customers (for free!). I want a
signature after each (waterfall) phase; if not I quit the project.
Most of the time they can't even come up with the first D. Me being the cooperative
little baby that I am, I help them with it. I love to see them struggle to even define
what they want. The A and the second D are mostly my job but I keep in touch
and that's (most of the time) the part where they get enthousiastic. I don't do any
prototypes or anything but the customer knows by then what they can expect.
I don't like the fourth I part but that's my job. The last D part is easy: I wrap
things up for the customer and deploy everything. Of course I'm responsible for
code bugs but that doesn't bother me much.
That little 'formula' has saved me more than often from the (almost?) empty cycle
of stepwise refinement and what have you. Flowcharts are far out.
kind regards,
JosComment
-
Flowcharting
Difficult to do without the proper symbols but simply put
THE START WOULD BE IN AN OVAL, THE ENTER NUMS IN A PROCEDURE BOX, THE 1,2 IN A DATA BOX, THE IF IN A DECISION BOX WITH YES AND NO COMING OFF THE SIDES AND DROPING DOWN TO THE PROCEDURE BOXES FOR "NO" AND "YES" THEN DROPING AND CONNECTING TO THE STOP OVAL.Code:START ENTER NUMS 1, 2 1, 2 IF --------NO ------- NUMS=1------YES---- "NO" "YES" STOP
PROCEDURE BOXES ARE RECTANGLES, DATA BOXES ARE RHOMBOIDS, DECISION BOXES LARGE SQUARES PUT ON POINT AND OVALS ARE OVALS. ALL CONNECTED BY SINGLE LINES DRAWN BETWEEN THE VARIOUS BOXES LIKE THE LINES DRAWN FOR THE NO AND YES COMING OFF THE DECISION BOX.Comment
Comment