Hello... I'm Kelechi Ngaka a computer scientist who makes things (code/food/designs), and welcome to my awesome blog powered by Blogger

Programming Tips

+
These are programming tips that would help you as a programmer especially young ones like us. This is it.


Code what you want to do
Before you start coding always know your objective and a clear insight of what your end result / program should do. If you were to program a calculator and end up programming something that is not a calculator, it's not programming.
As a programmer, If you're asked to program something then you should code towards achieving it. Always code what you want to do unless will end up coding astray.



 
Use flowcharts
Yes flowcharts, these are essential when it comes to structural organization of your program. Flow charts are diagrammatic representations of procedures to solve a problem. Flow charts are very easy to construct and understand. 
With a flow chart it organizes the data makes your coding easier. It helps to analyse where the flaws exist and where controls need to be altered. This helped me in developing Mind Number Game.




Save it
Save your programs/projects as you progress. If you don’t, your data would be lost (the unsaved data) and you end up in an earlier saved state which is very frustrating. Saving doesn’t kill.




Back every thing up
After writing your programs, it’s advisable to have a backup somewhere i.e On another system, a Flash, an external hard disk e.t.c. for future eventualities.
There was a day I just finished my JAVA project on a friends system, unfortunately 5 mins later he formatted his system unknowingly and I lost everything. My efforts to get back my project were in vain. Luckily this could be prevented if and only if I had a backup.





Comment your codes
This is very very necessary. Spend time commenting your codes so that if you return to them anytime, it would be easy to know what each part of your code does. Note that any program without comments is wacky.

 


Always ask for help online
Go online and get solutions to your problems. Use online tools, ask questions, join programming forums,read reviews, discussions, topics e.t.c that are related to your problem. Don't forget the internet is it and who knows, the solution to your problem might just be some clicks away.






Let others try them and Evaluate it
When finished programming let others download, try and evaluate it. With this you allow your program to be tested by others for errors, suggestions and even solutions problems apparent in the program.




Organized by Kelechi