SlideShare a Scribd company logo
Let’s Plan!

It’s a simple process:

Planning is important

1. Plan your logic—draw flow diagrams, write pseudocode.
2. Turn your pseudocode into code comments.
3. Write code between the comments.

Imagine what would happen if nobody ever
planned anything.
Buildings would not stand up under their own
weight, cars would not run and you couldn’t
watch TV as the satellites would have never
leŌ the ground!
Not a preƩy sight is it?

Now let’s scale it back.
Imaŕine you wrote a proŕram with no planninŕ.
You’d end up with poorly wriƩen code that may
not even work correctly and will be very difficult
for anyone, even you, to maintain or work with.

4. If you find yourself wriƟng lots of code for one comment, you need to
rethink your logic.

What is pseudocode?
We plan all
kinds of stuff!

A plain Enŕlish description of the
function of a proŕram. It does not
contain syntax or other
implementation details.

More Related Content

PDF
Qualitative codes and coding
PDF
Coding by Example - Tutorial Agiles 2012
PPT
CLASSIFICATION OF MATERIALS year 6
PPTX
Classification of materials
PPT
Classification of materials
PPTX
Store management & Codification
PPTX
Coding in material management
PDF
Codification
Qualitative codes and coding
Coding by Example - Tutorial Agiles 2012
CLASSIFICATION OF MATERIALS year 6
Classification of materials
Classification of materials
Store management & Codification
Coding in material management
Codification

Similar to Comment First Coding and the Importance of planning wall display (20)

PPTX
PCCF UNIT 1.pptx
PPTX
Algorithm and designs cs.pptx
PPTX
introduction to computing & programming
PPTX
Computational Thinking CBSE Class-XI
PPT
programming language(C++) chapter-one contd.ppt
PPSX
Ds02 flow chart and pseudo code
PDF
Five Tips To Help You Tackle Programming
PDF
five great tips for being successful in the art of programming.
PPTX
Learn to Code and Have Fun Doing It!
DOCX
programming concept
PPTX
Program Development life Cycle Ppt first year
PPTX
Programming Process
PPTX
Cs1123 2 comp_prog
PPTX
INTROTOPROBLEMSOLVING.pptxINTROTOPROBLEMSOLVING.pptx
PPTX
M1_Review-of-Flowcharting-and-Pseudocode.pptx
PPTX
2. Pseudocode 2. Pseudocode2. Pseudocode2. Pseudocode.pptx
PPTX
10 lesson8
PPTX
Pj01 1-computer and programming fundamentals
PDF
Introduction to programming : flowchart, algorithm
PCCF UNIT 1.pptx
Algorithm and designs cs.pptx
introduction to computing & programming
Computational Thinking CBSE Class-XI
programming language(C++) chapter-one contd.ppt
Ds02 flow chart and pseudo code
Five Tips To Help You Tackle Programming
five great tips for being successful in the art of programming.
Learn to Code and Have Fun Doing It!
programming concept
Program Development life Cycle Ppt first year
Programming Process
Cs1123 2 comp_prog
INTROTOPROBLEMSOLVING.pptxINTROTOPROBLEMSOLVING.pptx
M1_Review-of-Flowcharting-and-Pseudocode.pptx
2. Pseudocode 2. Pseudocode2. Pseudocode2. Pseudocode.pptx
10 lesson8
Pj01 1-computer and programming fundamentals
Introduction to programming : flowchart, algorithm
Ad

Recently uploaded (20)

PPTX
Introduction to pro and eukaryotes and differences.pptx
PDF
Τίμαιος είναι φιλοσοφικός διάλογος του Πλάτωνα
PPTX
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
PDF
My India Quiz Book_20210205121199924.pdf
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PDF
advance database management system book.pdf
PPTX
Share_Module_2_Power_conflict_and_negotiation.pptx
PPTX
ELIAS-SEZIURE AND EPilepsy semmioan session.pptx
PPTX
Computer Architecture Input Output Memory.pptx
PDF
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
PPTX
20th Century Theater, Methods, History.pptx
PDF
HVAC Specification 2024 according to central public works department
PDF
LDMMIA Reiki Yoga Finals Review Spring Summer
PDF
Uderstanding digital marketing and marketing stratergie for engaging the digi...
PPTX
A powerpoint presentation on the Revised K-10 Science Shaping Paper
PDF
Environmental Education MCQ BD2EE - Share Source.pdf
PDF
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
PDF
International_Financial_Reporting_Standa.pdf
PDF
Empowerment Technology for Senior High School Guide
PDF
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
Introduction to pro and eukaryotes and differences.pptx
Τίμαιος είναι φιλοσοφικός διάλογος του Πλάτωνα
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
My India Quiz Book_20210205121199924.pdf
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
advance database management system book.pdf
Share_Module_2_Power_conflict_and_negotiation.pptx
ELIAS-SEZIURE AND EPilepsy semmioan session.pptx
Computer Architecture Input Output Memory.pptx
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
20th Century Theater, Methods, History.pptx
HVAC Specification 2024 according to central public works department
LDMMIA Reiki Yoga Finals Review Spring Summer
Uderstanding digital marketing and marketing stratergie for engaging the digi...
A powerpoint presentation on the Revised K-10 Science Shaping Paper
Environmental Education MCQ BD2EE - Share Source.pdf
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
International_Financial_Reporting_Standa.pdf
Empowerment Technology for Senior High School Guide
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
Ad

Comment First Coding and the Importance of planning wall display

  • 1. Let’s Plan! It’s a simple process: Planning is important 1. Plan your logic—draw flow diagrams, write pseudocode. 2. Turn your pseudocode into code comments. 3. Write code between the comments. Imagine what would happen if nobody ever planned anything. Buildings would not stand up under their own weight, cars would not run and you couldn’t watch TV as the satellites would have never leŌ the ground! Not a preƩy sight is it? Now let’s scale it back. Imaŕine you wrote a proŕram with no planninŕ. You’d end up with poorly wriƩen code that may not even work correctly and will be very difficult for anyone, even you, to maintain or work with. 4. If you find yourself wriƟng lots of code for one comment, you need to rethink your logic. What is pseudocode? We plan all kinds of stuff! A plain Enŕlish description of the function of a proŕram. It does not contain syntax or other implementation details.