how to be a good programmer

14
How to be a good Programmer By Elvis Lesha

Upload: eddy

Post on 22-Feb-2016

144 views

Category:

Documents


0 download

DESCRIPTION

How to be a good Programmer. By Elvis Lesha. Bad Programmer. Writing code without thinking Poor understanding of the programming language model Lack of Critical Thinking Not being able to write a program from scratch Messy code No comments Random indentation . Good Programmer. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: How to be a good Programmer

How to be a good ProgrammerBy Elvis Lesha

Page 2: How to be a good Programmer

Bad Programmer• Writing code without thinking• Poor understanding of the programming

language model• Lack of Critical Thinking• Not being able to write a program from

scratch • Messy code

• No comments• Random indentation

Page 3: How to be a good Programmer

Good Programmer

Page 4: How to be a good Programmer

Problem Solving

• Analyze the problem

• Divide into sub-problems

Page 5: How to be a good Programmer

Algorithms

• Have a good understanding of algorithms

• Know how to use them

Page 6: How to be a good Programmer

Language

• Pick a Language• Ensure you have a good understanding of

it

• Once you’ve learnt one language you can apply the same concepts to another language

Page 7: How to be a good Programmer

Practicing

• Constantly keep programming• Set yourself small tasks

• Help others with their code• StackOverflow

Page 8: How to be a good Programmer

Debugging

To be good at debugging, you also need to practice.

When you have lots of experience, it’s easy to formulate hypothesis about what’s wrong

Page 9: How to be a good Programmer

Quality Code

• Simple code• “I choose a lazy person to do a hard job.

Because a lazy person will find an easy way to do it.”

Bill Gates

• Understandable code• Well structured (indentation etc..)• Write Documentation (comments)

Page 10: How to be a good Programmer

Coding contest

• International Collegiate Programming contest

• topcoder

Page 11: How to be a good Programmer

Working on project

• Work on small piece of a large project

• Start your own project

Page 12: How to be a good Programmer

Apis and libraries

• You don’t always have to reinvent the wheel

• Read documentation

Page 13: How to be a good Programmer

Things to think about while coding

• Testing• Bugs• Don’t leave the testing until the end

• Design• Interface• User experience

Page 14: How to be a good Programmer

To be a good programmer:• Think logically • Practice• Help others• Experiment• Practice• Practice

SUMMARY