Recently, I have just graduated from school. So I have applied to company and working at.
First thing I’ve learn is: Right way for programming. I want to share to everybody to step by step become the good developer.
+ Requirements: Ok client will give you the requirements => Read it carefully => If you don’t understand => Ask them => Because as much you understand the requirements as more you complete your function perfectly.
+ Convention: Each programming language has their own convention => So you must apply convention to your code => It makes your code look nice and consistent with your teammates codes
+ Comment: Ok this is a thing that makes you become a good or the worst developer
- Comment is very important. When you work with your team. Let imagine that you have issues => Asking your partner to help you out => They open your code
- Case 1: No comments in your codes. Just only god & time & a patience of your teammate can help you.
- Case 2: Have comments => Ok look like a beautiful story => Your partner maybe spend less time to investigate what you were doing in your code => Sure with you that your issues can be solved less time than Case 1.
+ Comment description:
- You must describe your function:
- What is your function going to do ?
- Your name
- When did you write this function ?
- How many parameters have you use ?
- List out your parameters name
- What does your function return ?
Example:
And when you done your function:
+ Check it again and again before release in real production.
+ Try to optimize your function as much as you can.
+ Ask the one who high level than you preview your code. Listen to them carefully => Decide which should fix as their suggestions.
+ Most of all is: CAREFUL