Well, it’s a fundamental skill that will help you. But a person can write C code ( or any other language) without needing to create a flowchart or pseudo code first.
Pseudocode and flowcharts are language agnostic ways to describe algorithms. They are tools to focus on the structure, without wasting time on syntax requirements or implementation details.
At some point, you need to apply what you've learned in C to other languages. This is where thinking in structures will come in handy. Abstraction is an important skill.
I haven't touched a flowchart since highschool. My first job had dataflow diagrams which have their use if you bother to learn what you're doing with them (most of our project management was clueless).
Pseudocode is a way to express ideas in forums where a particular language is not a given. It's kind of pointless for designing C by itself, you just write real code.
You'll find yourself designing code that or in similar ways when things get more complex. There's really not much difference between commenting your code and writing pseudocode. As such flowcharts, pseudocode or if need be state diagrams, are just ways to come up with a proper algorithm that you check by inspection before actually diving into coding. Which used to be more important in the ol' days when mistakes took much longer to correct.
It's a tool to help understand how your application (will) work.
It has no relation to c
It might seem stupid for the types of applications you are writing now, but will be useful to discover bugs and edge cases before you are writing code, which can save you time. It also helps to communicate with others.
Planning and diagramming are a requirement for professional software engineering and applies to any system regardless of language
I personally find flowcharts and pseudocode pretty useless. They both document pretty low-level structure and you can usually just write the code. And they reskin aren’t any easier to read than well written code with a few good comments.
Higher level diagrams are much more useful that document the system you are making at a modular level and document the interactions between modules or document a set of communication protocol interactions.
2
u/zsaleeba 13d ago
No.
They're not related to C, specifically. They're tools which might be handy when working with any programming language, but you don't have to use them.
1
u/flyingron 12d ago
I haven't touched a flowchart since highschool. My first job had dataflow diagrams which have their use if you bother to learn what you're doing with them (most of our project management was clueless).
Pseudocode is a way to express ideas in forums where a particular language is not a given. It's kind of pointless for designing C by itself, you just write real code.
2
u/Educational-Paper-75 13d ago edited 12d ago
You'll find yourself designing code that or in similar ways when things get more complex. There's really not much difference between commenting your code and writing pseudocode. As such flowcharts, pseudocode or if need be state diagrams, are just ways to come up with a proper algorithm that you check by inspection before actually diving into coding. Which used to be more important in the ol' days when mistakes took much longer to correct.
2
u/DirtAndGrass 13d ago
It's a tool to help understand how your application (will) work.
It has no relation to c
It might seem stupid for the types of applications you are writing now, but will be useful to discover bugs and edge cases before you are writing code, which can save you time. It also helps to communicate with others.
Planning and diagramming are a requirement for professional software engineering and applies to any system regardless of language
1
u/Poddster 12d ago
If you can't understand a flow chart or write pseudo code you won't be able to program C.
1
u/Pale_Height_1251 12d ago
No, they are common to use but not necessary.
0
u/FedUp233 13d ago
I personally find flowcharts and pseudocode pretty useless. They both document pretty low-level structure and you can usually just write the code. And they reskin aren’t any easier to read than well written code with a few good comments.
Higher level diagrams are much more useful that document the system you are making at a modular level and document the interactions between modules or document a set of communication protocol interactions.
Just my opinion of course.