1. Always ready your finger at Alt+S for save your code
Your code you write is important,The new ideas may emerge suddenly as you find new algorithms, new functions, new ways, and the things that make the program or your website running efficiently and work properly.
you finished writing your code could have been the things that are not desirable as the lights go out, drop in power, or a sudden there is interference situation.
prepare it with your fingers around it after writing a few lines of new code and press alt + s
2. Always Backup your files code if you change your algorithm
could have been after you discover a new algorithm and then you rewrite or edit the existing code files, but you forgot to back them up, because it is not necessarily a new algorithm / new function that you create more good or do not go according to your will. then with that if you remodel the total code that you write copy your files into a backup folder or copy and paste in the same folder and give it an additional name on the back dated months and years so you remember which files are the last
3. Always give hint or comment for crucial or important function
provide comment is very easy, but most programmers or web programmers do not do that, because most of us think we already understand what we make and do not need to explain anymore.
But it would be a big problem if not done, because people can forget, consumed by time. one day we will continue to write code again then we would find again and forget the function is useful for what? we will learn again, and it will take much longer.
Another advantage to give your comment the code can be developed much more by other programmers or your team. and it really adds value because it saves time
i will continue this article next time :)
No comments:
Post a Comment