Skip to content

A simple flowchart to help discern between methods, (pure and impure) functions and procedures

License

Notifications You must be signed in to change notification settings

iron3oxide/subroutine-flowchart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

subroutine-flowchart

A simple flowchart to help discern between methods, (pure and impure) functions and procedures.

flowchart TB
    A((subroutine))-->B{{Is it part of a class?}}
    B-- Yes -->C((method))
    B-- No -->D{{Does it return something?}}
    D-- Yes -->E{{Is it pure?}}
    D-- No -->F((procedure))
    E-- Yes -->G((pure function))
    E-- No -->H((impure function))
Loading

About

A simple flowchart to help discern between methods, (pure and impure) functions and procedures

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published