coding
-
basics of coding how to make your own codes
-
basics of coding how to make your own codes
-
basics of coding how to make your own codes
-
basics of coding how to make your own codes
All programs break down to 3 things. 1. Flow. All programs have a direction, i.e., they have a beginning, middle and an end. 2. Decision. All programs generally have decisions, i.e., if this condition, do this, else do that. 3. Repetition. It's a very rare program that doesn't need you to do the same thing in places. So, there's generally some looping structure that allows you to repeat the same code again and again without having to write the code out multiple times. Everything else is just knowing the syntax of the language and how and when to apply these techniques.
This space for rent
-
basics of coding how to make your own codes
-
basics of coding how to make your own codes
-
basics of coding how to make your own codes
Reuse code, if you repeating on 2 or more places consider put that inside a function and call it everywhere you need that code. Application resources consume. For example you have a variable that will have values between 0 and 20, declare it as byte instead of int. Byte support number until 256 and only consume 1 byte, int support a number until 2.147.483.647 but consumes 4 bytes. If you are loading a list of objects this can have a huge impact on performance. Comment code, give some hints of what you have done. When you have maintain code not developed by you, you will understand the importance of comment code.