SlideShare a Scribd company logo
1
WHAT IS PROGRAMMING
?
 Process of writing computer programs
 Creative process that instruct a
computer on how to do task
2
3
FEAR AND SELF DOUBT
 Think you're not good enough, not smart
enough: that you have the wrong type of
brain, and you'll just never get it.
4
MESSY CODE
FORMATING
 Didn’t indent your code
 Inconsistent use of new lines and white
space
5
Inconsistent use of upper and
lower case letters
 Uses both cases of letters
6
Bad variable and function name
 Single name variables
 No relation between variable and its
function
7
Over-commenting
 Commenting on every step
 Uses useless comments
8
Not knowing the full expressive
power of your language
 Don’t have the knowledge of operators
 Confusing between syntax of two
languages
9
Thinking u know it all
 Thinking yourself a professional
 Forgot that you are learning
10
11
 Patiently read the full question or listen
the instructions
 Make a rough sketch
12
 Think about the logic of program and
then think about the method you are
going to use
13
 Take the time to write down what goals
the end product needs to achieve, and
who your user base will be. Clarity of
thought at this stage will save a lot of
time down the line.
14
 Go to modular approach that is divide
your task into small fragments
15
 If you think that your code might need
explanation, comment it. Remember to
update the comments when you update
your code!
16
 Indent your code
17
 Start by testing each module on it's own,
using inputs and values that you would
typically expect. Then try inputs that
are possible but less common.
 Incorrect values. Use zero for a value
that will be used in division, or a
negative number when positive is
expected or when a square root will be
calculated.
18
 Programming is not a stagnant
discipline. There's always something
new to learn, and - perhaps more
importantly - always something old to
relearn.
19
 Take responsibility for your own career
 Q/A yourself
20
 When programming something
complex, it helps to get the simpler
building blocks in place and working
properly first.
 This approach naturally lends itself to
modular code writing, where each
component is in its own self-contained
block. This is very useful for code reuse
and makes for much easier debugging
and maintenance.
21
 Read books, magazines, blogs, Twitter
feeds, and websites. If you want to go
deeper into a subject, consider joining a
mailing list or newsgroup.
 If you really want to get immersed in a
technology, get hands on—write some
code.
22

More Related Content

ODP
8 Programming Concepts You Should Know
PDF
Preparing for a .Net Interview
PDF
Future web developer, you are going to be tremendously valuable
PDF
8 Programming Concepts You Should Know
PPTX
The Programmer's Brain: improve the way you learn and think about code
PPTX
Step 5: Practice Is All You Need
PPTX
Unlocking your team's potential with pair programming (workshop)
PPTX
U3 l4 using simple commands
8 Programming Concepts You Should Know
Preparing for a .Net Interview
Future web developer, you are going to be tremendously valuable
8 Programming Concepts You Should Know
The Programmer's Brain: improve the way you learn and think about code
Step 5: Practice Is All You Need
Unlocking your team's potential with pair programming (workshop)
U3 l4 using simple commands

What's hot (14)

PPT
Programming Kiss
PPTX
Data-Oriented Programming: making data a first-class citizen
PPT
Building software vs programming
PPTX
Computer Programming
DOCX
Preeti cv
PPTX
Programming Process
PPTX
Top Five Tips For ISC Computer Practicals
PPTX
S1 Programming Lesson 1
PPTX
Competitive Programming
PPTX
Computer programming
PDF
Things senior developers should know
PPTX
Code smells and Other Malodorous Software Odors
ODP
How to code
PPTX
Introduction to computer programming
Programming Kiss
Data-Oriented Programming: making data a first-class citizen
Building software vs programming
Computer Programming
Preeti cv
Programming Process
Top Five Tips For ISC Computer Practicals
S1 Programming Lesson 1
Competitive Programming
Computer programming
Things senior developers should know
Code smells and Other Malodorous Software Odors
How to code
Introduction to computer programming
Ad

Viewers also liked (8)

PDF
Chronos Workflow - Business process automation without programming
PPS
Programming Languages and the Programming Process
PDF
Modern C++
PPTX
Computer programming project 15sec
PDF
The Programming Process
PDF
Computer programming programming_langugages
PPTX
Computer programming
PPTX
Programming process and flowchart
Chronos Workflow - Business process automation without programming
Programming Languages and the Programming Process
Modern C++
Computer programming project 15sec
The Programming Process
Computer programming programming_langugages
Computer programming
Programming process and flowchart
Ad

Similar to GOOD PROGRAMMING (20)

PPTX
Programming Workshop
PDF
Linux Commands, C, C++, Java and Python Exercises For Beginners
PPTX
Power Point Introduction To Programming 1
PDF
Write code and find a job
PPTX
Software Development Essential Skills
PDF
C, C++, Java, Python, PHP, JavaScript and Linux For Beginners
PPTX
01 Programming Fundamentals.pptx
PPTX
Learn to code in 15 minutes
PPTX
Programming Fundamentals
PPTX
uw cse correct style and speed autumn 2020
PDF
Guidelines to clean coding
PPTX
7a Good Programming Practice.pptx
PDF
How To Be A Good PROGRAMMER.pdf
PPTX
Writing code for others
PDF
Lecture 7 program development issues (supplementary)
PPTX
introduction to computing & programming
PPTX
11 rules for programmer should live by
PDF
coding article.pdf
PPTX
1_2 Module 2 The Programming Process.pptx
PPTX
Intro Class.pptx
Programming Workshop
Linux Commands, C, C++, Java and Python Exercises For Beginners
Power Point Introduction To Programming 1
Write code and find a job
Software Development Essential Skills
C, C++, Java, Python, PHP, JavaScript and Linux For Beginners
01 Programming Fundamentals.pptx
Learn to code in 15 minutes
Programming Fundamentals
uw cse correct style and speed autumn 2020
Guidelines to clean coding
7a Good Programming Practice.pptx
How To Be A Good PROGRAMMER.pdf
Writing code for others
Lecture 7 program development issues (supplementary)
introduction to computing & programming
11 rules for programmer should live by
coding article.pdf
1_2 Module 2 The Programming Process.pptx
Intro Class.pptx

GOOD PROGRAMMING

  • 1. 1
  • 2. WHAT IS PROGRAMMING ?  Process of writing computer programs  Creative process that instruct a computer on how to do task 2
  • 3. 3
  • 4. FEAR AND SELF DOUBT  Think you're not good enough, not smart enough: that you have the wrong type of brain, and you'll just never get it. 4
  • 5. MESSY CODE FORMATING  Didn’t indent your code  Inconsistent use of new lines and white space 5
  • 6. Inconsistent use of upper and lower case letters  Uses both cases of letters 6
  • 7. Bad variable and function name  Single name variables  No relation between variable and its function 7
  • 8. Over-commenting  Commenting on every step  Uses useless comments 8
  • 9. Not knowing the full expressive power of your language  Don’t have the knowledge of operators  Confusing between syntax of two languages 9
  • 10. Thinking u know it all  Thinking yourself a professional  Forgot that you are learning 10
  • 11. 11
  • 12.  Patiently read the full question or listen the instructions  Make a rough sketch 12
  • 13.  Think about the logic of program and then think about the method you are going to use 13
  • 14.  Take the time to write down what goals the end product needs to achieve, and who your user base will be. Clarity of thought at this stage will save a lot of time down the line. 14
  • 15.  Go to modular approach that is divide your task into small fragments 15
  • 16.  If you think that your code might need explanation, comment it. Remember to update the comments when you update your code! 16
  • 17.  Indent your code 17
  • 18.  Start by testing each module on it's own, using inputs and values that you would typically expect. Then try inputs that are possible but less common.  Incorrect values. Use zero for a value that will be used in division, or a negative number when positive is expected or when a square root will be calculated. 18
  • 19.  Programming is not a stagnant discipline. There's always something new to learn, and - perhaps more importantly - always something old to relearn. 19
  • 20.  Take responsibility for your own career  Q/A yourself 20
  • 21.  When programming something complex, it helps to get the simpler building blocks in place and working properly first.  This approach naturally lends itself to modular code writing, where each component is in its own self-contained block. This is very useful for code reuse and makes for much easier debugging and maintenance. 21
  • 22.  Read books, magazines, blogs, Twitter feeds, and websites. If you want to go deeper into a subject, consider joining a mailing list or newsgroup.  If you really want to get immersed in a technology, get hands on—write some code. 22