Jump to content
4 minutes ago, apoyusiken said:

do real businesses actually use this stuff?

Yea, we use them to visualize standard processes at my workplace. 

 

I had to write a script that spat out usernames and email addresses based on the organization's naming conventions and any existing conflicts in the domain. Used a flowchart to figure out the sequencing of creating the userID+email, checking for conflicts, where it needs to loop back if there is one, etc. 

Intel® Core™ i7-12700 | GIGABYTE B660 AORUS MASTER DDR4 | Gigabyte Radeon™ RX 6650 XT Gaming OC | 32GB Corsair Vengeance® RGB Pro SL DDR4 | Samsung 990 Pro 1TB | WD Green 1.5TB | Windows 11 Pro | NZXT H510 Flow White
Sony MDR-V250 | GNT-500 | Logitech G610 Orion Brown | Logitech G402 | Samsung C27JG5 | ASUS ProArt PA238QR
iPhone 12 Mini (iOS 18.3) | iPhone 15 (iOS 18.3.1) | KZ AZ09 Pro x KZ ZSN Pro X | Sennheiser HD450bt
Intel® Core™ i7-1265U | Kioxia KBG50ZNV512G | 16GB DDR4 | Windows 11 Enterprise | HP EliteBook 650 G9
Intel® Core™ i5-8520U | WD Blue M.2 250GB | 1TB Seagate FireCuda | 16GB DDR4 | Windows 11 Home | ASUS Vivobook 15 
Intel® Core™ i7-3520M | GT 630M | 16 GB Corsair Vengeance® DDR3 |
Samsung 850 EVO 250GB | macOS Catalina | Lenovo IdeaPad P580

Link to post
Share on other sites

Flowcharts + automata are pretty common. Especilly automata theory.

The Declaration of Independence, once the charter of democracy, begins by saying that certain things are self-evident. If we were to trace the history of the American mind from Thomas Jefferson to William James, we should find that fewer and fewer things were self-evident, until at last hardly anything is self-evident. (G. K. Chesterton - Aug. 14 1926 (The Illustrated London News))

Link to post
Share on other sites

9 hours ago, apoyusiken said:

do real businesses actually use this stuff?

What makes you think they don't? And if not flowcharts, how else would you concisely represent a process or algorithm? Especially one that branches?

And now a word from our sponsor: 💩

-.-. --- --- .-.. --..-- / -.-- --- ..- / -.- -. --- .-- / -- --- .-. ... . / -.-. --- -.. .

ᑐᑌᑐᑢ

Spoiler

    ▄██████                                                      ▄██▀

  ▄█▀   ███                                                      ██

▄██     ███                                                      ██

███   ▄████  ▄█▀  ▀██▄    ▄████▄     ▄████▄     ▄████▄     ▄████▄██   ▄████▄

███████████ ███     ███ ▄██▀ ▀███▄ ▄██▀ ▀███▄ ▄██▀ ▀███▄ ▄██▀ ▀████ ▄██▀ ▀███▄

████▀   ███ ▀██▄   ▄██▀ ███    ███ ███        ███    ███ ███    ███ ███    ███

 ██▄    ███ ▄ ▀██▄██▀    ███▄ ▄██   ███▄ ▄██   ███▄ ▄███  ███▄ ▄███▄ ███▄ ▄██

  ▀█▄    ▀█ ██▄ ▀█▀     ▄ ▀████▀     ▀████▀     ▀████▀▀██▄ ▀████▀▀██▄ ▀████▀

       ▄█ ▄▄      ▄█▄  █▀            █▄                   ▄██  ▄▀

       ▀  ██      ███                ██                    ▄█

          ██      ███   ▄   ▄████▄   ██▄████▄     ▄████▄   ██   ▄

          ██      ███ ▄██ ▄██▀ ▀███▄ ███▀ ▀███▄ ▄██▀ ▀███▄ ██ ▄██

          ██     ███▀  ▄█ ███    ███ ███    ███ ███    ███ ██  ▄█

        █▄██  ▄▄██▀    ██  ███▄ ▄███▄ ███▄ ▄██   ███▄ ▄██  ██  ██

        ▀███████▀    ▄████▄ ▀████▀▀██▄ ▀████▀     ▀████▀ ▄█████████▄

 

Link to post
Share on other sites

8 minutes ago, Vicarian said:

Best guess is that the OP is learning about flowcharts in an introductory course.  They're annoying to draw, at least for me, but they're nonetheless still useful.

i mean not right now but i never understood why they are useful. probably the issue was i was thinking about the flowchart of gta when in reality it was about flow chart of combat and stuff

Link to post
Share on other sites

58 minutes ago, apoyusiken said:

i mean not right now but i never understood why they are useful. probably the issue was i was thinking about the flowchart of gta when in reality it was about flow chart of combat and stuff

Yeah, you break larger problems down into smaller ones.  Trying to think about a huge project all at once tends to result in freezing up and the task seeming too daunting to be accomplished.  Games are made up of smaller systems that all work together hopefully to be greater than the sum of their parts.  You can start visualizing these systems with tools like flowcharts and later on some pseudocode.  It maintains structure to your work.  Freewriting code is fine to try and put an idea together, but that's rarely a good way to make it reusable and able to be incorporated into a system as large as a game.

 

The flowcharting and pseudocode are also a good way to set up documentation.  You're not just writing code for yourself.  You also have to be mindful of future you and anyone else who might need to come after you and maintain things.

Link to post
Share on other sites

26 minutes ago, Vicarian said:

Yeah, you break larger problems down into smaller ones.  Trying to think about a huge project all at once tends to result in freezing up and the task seeming too daunting to be accomplished.  Games are made up of smaller systems that all work together hopefully to be greater than the sum of their parts.  You can start visualizing these systems with tools like flowcharts and later on some pseudocode.  It maintains structure to your work.  Freewriting code is fine to try and put an idea together, but that's rarely a good way to make it reusable and able to be incorporated into a system as large as a game.

 

The flowcharting and pseudocode are also a good way to set up documentation.  You're not just writing code for yourself.  You also have to be mindful of future you and anyone else who might need to come after you and maintain things.

my frustration is about the small details of flowcharts. i dont know what all those symbols mean but i think i could make one just fine?

Link to post
Share on other sites

6 minutes ago, apoyusiken said:

my frustration is about the small details of flowcharts. i dont know what all those symbols mean but i think i could make one just fine?

It's convention.  I forget the details often, but you're able to refresh yourself as needed.  I do remember, for instance, diamonds indicate a decision branch (if-else).  Can search if you're unsure of something. First result in Google was https://www.gliffy.com/blog/guide-to-flowchart-symbols which seems pretty comprehensive after a quick skim.

Link to post
Share on other sites

  • 3 weeks later...

They are certainly easy to read and easy to understand than giant wall of text yes? I would certainly prefer that but based on my experiences, most people are generally too lazy to create one unless institutionalized. 

Sudo make me a sandwich 

Link to post
Share on other sites

On 3/25/2025 at 11:02 AM, apoyusiken said:

my frustration is about the small details of flowcharts. i dont know what all those symbols mean but i think i could make one just fine?

I use them all the time. I don’t know all the symbols either, and it usually doesn’t matter. In an academic setting, or if you’re drawing up circuits that will be produced, then those things matter. 
 

For business logic of an app, most people don’t care that much (at least where I work). The apps tell you want the symbols are for, which can help enough.

 

I’m mostly mapping out flows for automation, so it’s mostly tasks and decisions. They are helpful for organizing my own thoughts for a larger project, but also really good for explaining to management what you’re building. 

Link to post
Share on other sites

8 hours ago, wasab said:

I would certainly prefer that but based on my experiences, most people are generally too lazy to create one unless institutionalized. 

The problem with all modeling schemes is keeping the model in sync with the implementation.  There is nothing worse than a model that says your code does X when an inspection of the code reveals that it, instead, does Y.

I suspect most folks now use (incompletely defined) pseudocode as a shortcut to illustrate their code's intended operation.  It is far more portable than any sort of graphic rendering and doesn't require any special tools to create, view or modify/update.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×