How to be a good Programmer By Elvis Lesha. Bad Programmer Writing code without thinking Writing...
-
Upload
maggie-tapper -
Category
Documents
-
view
237 -
download
3
Transcript of How to be a good Programmer By Elvis Lesha. Bad Programmer Writing code without thinking Writing...
![Page 1: How to be a good Programmer By Elvis Lesha. Bad Programmer Writing code without thinking Writing code without thinking Poor understanding of the programming.](https://reader035.fdocuments.in/reader035/viewer/2022081507/551bf9ba550346a34f8b4860/html5/thumbnails/1.jpg)
How to be a good ProgrammerBy Elvis Lesha
![Page 2: How to be a good Programmer By Elvis Lesha. Bad Programmer Writing code without thinking Writing code without thinking Poor understanding of the programming.](https://reader035.fdocuments.in/reader035/viewer/2022081507/551bf9ba550346a34f8b4860/html5/thumbnails/2.jpg)
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 By Elvis Lesha. Bad Programmer Writing code without thinking Writing code without thinking Poor understanding of the programming.](https://reader035.fdocuments.in/reader035/viewer/2022081507/551bf9ba550346a34f8b4860/html5/thumbnails/3.jpg)
Good Programmer
![Page 4: How to be a good Programmer By Elvis Lesha. Bad Programmer Writing code without thinking Writing code without thinking Poor understanding of the programming.](https://reader035.fdocuments.in/reader035/viewer/2022081507/551bf9ba550346a34f8b4860/html5/thumbnails/4.jpg)
Problem Solving
• Analyze the problem
• Divide into sub-problems
![Page 5: How to be a good Programmer By Elvis Lesha. Bad Programmer Writing code without thinking Writing code without thinking Poor understanding of the programming.](https://reader035.fdocuments.in/reader035/viewer/2022081507/551bf9ba550346a34f8b4860/html5/thumbnails/5.jpg)
Algorithms
• Have a good understanding of algorithms
• Know how to use them
![Page 6: How to be a good Programmer By Elvis Lesha. Bad Programmer Writing code without thinking Writing code without thinking Poor understanding of the programming.](https://reader035.fdocuments.in/reader035/viewer/2022081507/551bf9ba550346a34f8b4860/html5/thumbnails/6.jpg)
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 By Elvis Lesha. Bad Programmer Writing code without thinking Writing code without thinking Poor understanding of the programming.](https://reader035.fdocuments.in/reader035/viewer/2022081507/551bf9ba550346a34f8b4860/html5/thumbnails/7.jpg)
Practicing
• Constantly keep programming• Set yourself small tasks
• Help others with their code• StackOverflow
![Page 8: How to be a good Programmer By Elvis Lesha. Bad Programmer Writing code without thinking Writing code without thinking Poor understanding of the programming.](https://reader035.fdocuments.in/reader035/viewer/2022081507/551bf9ba550346a34f8b4860/html5/thumbnails/8.jpg)
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 By Elvis Lesha. Bad Programmer Writing code without thinking Writing code without thinking Poor understanding of the programming.](https://reader035.fdocuments.in/reader035/viewer/2022081507/551bf9ba550346a34f8b4860/html5/thumbnails/9.jpg)
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 By Elvis Lesha. Bad Programmer Writing code without thinking Writing code without thinking Poor understanding of the programming.](https://reader035.fdocuments.in/reader035/viewer/2022081507/551bf9ba550346a34f8b4860/html5/thumbnails/10.jpg)
Coding contest
• International Collegiate Programming contest
• topcoder
![Page 11: How to be a good Programmer By Elvis Lesha. Bad Programmer Writing code without thinking Writing code without thinking Poor understanding of the programming.](https://reader035.fdocuments.in/reader035/viewer/2022081507/551bf9ba550346a34f8b4860/html5/thumbnails/11.jpg)
Working on project
• Work on small piece of a large project
• Start your own project
![Page 12: How to be a good Programmer By Elvis Lesha. Bad Programmer Writing code without thinking Writing code without thinking Poor understanding of the programming.](https://reader035.fdocuments.in/reader035/viewer/2022081507/551bf9ba550346a34f8b4860/html5/thumbnails/12.jpg)
Apis and libraries
• You don’t always have to reinvent the wheel
• Read documentation
![Page 13: How to be a good Programmer By Elvis Lesha. Bad Programmer Writing code without thinking Writing code without thinking Poor understanding of the programming.](https://reader035.fdocuments.in/reader035/viewer/2022081507/551bf9ba550346a34f8b4860/html5/thumbnails/13.jpg)
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 By Elvis Lesha. Bad Programmer Writing code without thinking Writing code without thinking Poor understanding of the programming.](https://reader035.fdocuments.in/reader035/viewer/2022081507/551bf9ba550346a34f8b4860/html5/thumbnails/14.jpg)
To be a good programmer:
• Think logically
• Practice
• Help others
• Experiment
• Practice
• Practice
SUMMARY