Click here to Skip to main content
15,894,546 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Style and form in generated code Pin
Marc Clifton26-Nov-19 12:14
mvaMarc Clifton26-Nov-19 12:14 
GeneralRe: Style and form in generated code Pin
Stuart Dootson26-Nov-19 23:49
professionalStuart Dootson26-Nov-19 23:49 
GeneralRe: Style and form in generated code Pin
honey the codewitch26-Nov-19 23:52
mvahoney the codewitch26-Nov-19 23:52 
GeneralRe: Style and form in generated code Pin
Stuart Dootson27-Nov-19 0:02
professionalStuart Dootson27-Nov-19 0:02 
GeneralRe: Style and form in generated code Pin
honey the codewitch27-Nov-19 0:06
mvahoney the codewitch27-Nov-19 0:06 
GeneralRe: Style and form in generated code Pin
kalberts27-Nov-19 1:56
kalberts27-Nov-19 1:56 
GeneralRe: Style and form in generated code Pin
honey the codewitch27-Nov-19 2:06
mvahoney the codewitch27-Nov-19 2:06 
GeneralRe: Style and form in generated code Pin
kalberts27-Nov-19 2:48
kalberts27-Nov-19 2:48 
(These figures don't display in Firefox ... Why am I still using that browser? IE11 can handle them, though!)

Sure, blobs and arrows are nice for getting an overview. But only up to a certain complexity. I don't think I would want to learn X.225 from a complete blobs and arrows diagram for the full protocol. Maybe for smaller subsets of the state transitions.

In such diagrams, you usually do not get an overview of error handling; they are definitely best suited for a more or less linear state flow and events that are "well behaved", they come as expected. Obviously you have alternate linear sequences from an initial to a final state, and loopbacks, but in the sample figures there is not one case of crossing lines (transitions). in a large model where you have defined various sorts of exception/error handling, you couldn't hope for avoiding crossing lines. So you simplify the logic, providing a general introduction to the FSM through the figures. But to see the full works, you must go to the state tables.

Actually, I was working on a GraphViz plugin for VisualStudio to make such figures based on the state tables, handled by another plugin, for editing table squares index by state/event, specifying entry conditions (predicates), actions, and next states, as well as tables of predicate definitions and action routines, covering all the requiremets for the X.225 state machine. I had the design ready for a selection mechanism for graphing a selected subset of the state transitions, which labels to add to the graph etc.; your project could contain multiple graph descriptions for different purposes. This was primarity for teaching FSM programming at a Tech University. But then I switched jobs, so the project was never completed. Maybe I should pick it up as a hobby project. Would be fun!
GeneralRe: Style and form in generated code Pin
honey the codewitch27-Nov-19 2:51
mvahoney the codewitch27-Nov-19 2:51 
GeneralRe: Style and form in generated code Pin
Gary Wheeler27-Nov-19 1:58
Gary Wheeler27-Nov-19 1:58 
GeneralRe: Style and form in generated code Pin
honey the codewitch27-Nov-19 2:02
mvahoney the codewitch27-Nov-19 2:02 
GeneralRe: Style and form in generated code Pin
MSBassSinger27-Nov-19 4:47
professionalMSBassSinger27-Nov-19 4:47 
GeneralRe: Style and form in generated code Pin
honey the codewitch27-Nov-19 4:51
mvahoney the codewitch27-Nov-19 4:51 
GeneralRe: Style and form in generated code Pin
Bruce Patin27-Nov-19 6:22
Bruce Patin27-Nov-19 6:22 
GeneralRe: Style and form in generated code Pin
honey the codewitch27-Nov-19 6:24
mvahoney the codewitch27-Nov-19 6:24 
GeneralRe: Style and form in generated code Pin
Member 1181677627-Nov-19 22:05
Member 1181677627-Nov-19 22:05 
GeneralRe: Style and form in generated code Pin
honey the codewitch27-Nov-19 22:08
mvahoney the codewitch27-Nov-19 22:08 
GeneralHow do you deal with impromptu design meetings with conflicting approaches? Pin
Marc Clifton26-Nov-19 3:28
mvaMarc Clifton26-Nov-19 3:28 
GeneralRe: How do you deal with impromptu design meetings with conflicting approaches? Pin
Chris Maunder26-Nov-19 3:45
cofounderChris Maunder26-Nov-19 3:45 
GeneralRe: How do you deal with impromptu design meetings with conflicting approaches? Pin
Marc Clifton26-Nov-19 3:58
mvaMarc Clifton26-Nov-19 3:58 
GeneralRe: How do you deal with impromptu design meetings with conflicting approaches? Pin
Chris Maunder26-Nov-19 7:53
cofounderChris Maunder26-Nov-19 7:53 
GeneralRe: How do you deal with impromptu design meetings with conflicting approaches? Pin
Jörgen Andersson26-Nov-19 4:09
professionalJörgen Andersson26-Nov-19 4:09 
GeneralRe: How do you deal with impromptu design meetings with conflicting approaches? Pin
raddevus26-Nov-19 4:20
mvaraddevus26-Nov-19 4:20 
GeneralRe: How do you deal with impromptu design meetings with conflicting approaches? Pin
F-ES Sitecore26-Nov-19 3:53
professionalF-ES Sitecore26-Nov-19 3:53 
GeneralRe: How do you deal with impromptu design meetings with conflicting approaches? Pin
Eddy Vluggen26-Nov-19 3:58
professionalEddy Vluggen26-Nov-19 3:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.