Programming Tip for you fresh noobs out there. Only programmers will benefit from this random blurb post:
1.) Outline and sketch everything out first. With a good plan you can start working.
2.) If you are repeating the same code over and over, make a function. Replace the numbers that you change each time with a single variable. Then you can run the function name(variable). Saves typing.
3.) If you have an alphabetical list of data, do not show a numbered page list.
4.) If you have a numerical list of data, do not use alphabetical page lists.
5.) If you are looking at alphabetical results, and you want geographical results, make that a variable so you can switch between the two.
6.) Make your sort order a variable so you can sort descending or ascending order.
7.) Make comments so you know what you were thinking when you programmed that code at 3am last night.
8.) Make successive backups of your code so you can go back -- if you realize later you made a critical low-level error that requires a rewrite. Backup only your modified files or use an appended RAR archive file.
9.) Take a break. Relax! Do something else.
1.) Outline and sketch everything out first. With a good plan you can start working.
2.) If you are repeating the same code over and over, make a function. Replace the numbers that you change each time with a single variable. Then you can run the function name(variable). Saves typing.
3.) If you have an alphabetical list of data, do not show a numbered page list.
4.) If you have a numerical list of data, do not use alphabetical page lists.
5.) If you are looking at alphabetical results, and you want geographical results, make that a variable so you can switch between the two.
6.) Make your sort order a variable so you can sort descending or ascending order.
7.) Make comments so you know what you were thinking when you programmed that code at 3am last night.
8.) Make successive backups of your code so you can go back -- if you realize later you made a critical low-level error that requires a rewrite. Backup only your modified files or use an appended RAR archive file.
9.) Take a break. Relax! Do something else.
0 comments
একটি মন্তব্য পোস্ট করুন