Home >Backend Development >PHP Tutorial >8 Habits of Successful Programmers

8 Habits of Successful Programmers

WBOY
WBOYOriginal
2016-07-29 09:04:251032browse

8 Habits of Successful Programmers
The desire for success may be an innate part of our genes. Success makes people happy, and almost everyone strives for happiness. When we feel happy, chemicals in our brains trigger a burst of positive emotions, motivating us to achieve more success. A successful career usually means delivering high-quality, recognized work within a specified time frame. This is no different for IT developers. Successful developers write high-quality code within estimates and satisfy their stakeholders by releasing a great product.
So how can developers do this? Some people think developers are magicians who can make computers do magic by pressing a few buttons. The reality is much more complex: we have to follow certain principles to write reliable code, test our work, and constantly update to the latest technology. So, what do developers need to do if they want to be successful?
1. Test, test, test
An important aspect of writing code is testing. The earlier bugs are discovered in a project, the lower the cost of fixing them. Bugs you find at the end of a project are definitely more expensive to fix than when you're writing the code. Automated unit testing is sometimes overlooked in software projects, but I can tell you that automated unit testing helps find bugs early.
2. Prototypes and wireframes
Before you start writing code, you have to think clearly about what you want to develop. Good prototypes and wireframes will help stakeholders and developers determine what the final product should look like. The sooner features and possible obstacles are discussed, the better.
Indigo Studio is a great tool that helps us quickly draft prototypes: the platform not only does not require designers to write a line of code, but also allows users and stakeholders to experience a simplified version of the application before it is built.
3. Use online communities and forums
As the saying goes, a problem shared is a problem halved. As you rack your brains to solve a problem, be careful not to waste too much time fighting alone. There is a good chance that someone else has gone through your problem and their experience and lessons will be of great help to you. Visit online communities such as Stackoverflow or TechNet for tips and tricks.
4. Take advantage of tools and utilities
There is a wealth of software available to help developers build faster. In addition to Visual Studio - the essential tool for developing Microsoft software that now comes out of the box - there are many other tools and third-party plug-ins to help developers do their best:
ReSharper makes writing code easier Easy;
Web Essentials provides convenient features when creating web apps;
FxCop/StyleCop for extensive code analysis;
SPCAF (for SharePoint/Office 365 development).
5. Have a clear vision and ultimate goal
A great app and product starts with an idea, and this idea becomes the ultimate goal. Without clear scenario planning without an end goal, this will most likely lead to discrepancies between expectations and the final product. It's okay to slightly change the end goal during development: but always have an idea of ​​what the end result will look like.
6. Don’t rush development
Most bugs are introduced while rushing development. Every project will have time pressure at some stage, but successful developers have to be able to deal with this pressure and continue to deliver high-quality software.
As the saying goes, mistakes are made in the rush. Things that are rushed out will always have flaws. Moreover, the introduced bugs will actually lead to longer development time, which is not worth the gain.
7. Learn, become better, know more
IT is a world that advances very quickly. How to write code, which plug-ins to use, which products are available, etc. The answers to all these questions will change after a certain period of time. Developers need to stay up late reading the latest blogs, forums, and social networks. Of course, which blogs to read depends on which technology you use, some essential resources about SharePoint/Office 365 include the official General Office Blog and the Office Dev blog. It’s not just about bits and bytes: reading books about how to become better is key to staying ahead of the curve. It is recommended to read Outliers by Malcolm Gladwell to learn more about the secrets of success.
8. Don’t be afraid of failure
Even if developers strictly follow the previous 7 points, problems will still occur. You must not be discouraged when mistakes occur - no one is perfect and it is normal to have problems occasionally.
The key is to understand the problem, admit your failures, and learn from them. Never blame other people for your mistakes, and people will appreciate you if you take responsibility.
Amazing magic
Above we have discussed 8 habits and principles that can promote developer success. Write solid code, test features before releasing them, and be clear and honest when communicating with stakeholders, colleagues, and managers. A great software product starts with a great prototype, and Indigo Studio not only helps us create prototypes more easily, it also makes the rest of the subsequent development process easier. But success isn't just about computers! Non-technical aspects, such as not being afraid of failure and reading good books, also contribute to success. Software developers are humans just like everyone else, although we can write magical magic with code!
Brotherhood Gao Luofeng recruits disciples for free: http://www.hdb.com/party/lzcw-comm.html
Receive LAMP Brothers’ original PHP video tutorial CD/"Explain PHP in detail" free of charge. For details, please contact the official website customer service:
http://www.lampbrother.net
【Brothers IT Education】Learn PHP, Linux, HTML5, UI, Android and other video tutorials (courseware + notes + videos)!
Network disk tutorial download: http://pan.baidu.com/s/1sjOJiAL

The above introduces the 8 habits of successful programmers, including aspects of content. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn