[Reading Notes] iOS-Precautions for writing code, and Reading Notes ios-

Source: Internet
Author: User

[Reading Notes] iOS-Precautions for writing code, and Reading Notes ios-

 

I. I am a strong supporter of early compilation and frequent compilation. Generally, after writing every method or code that is a little difficult, you must try to build it. This is a good habit, because if the amount of code added since the last successful compilation is small, it is very easy to narrow down the scope of compilation errors. This method also limits the number of errors or warnings received. If you write 2000 lines of code before compilation starts, you may be overwhelmed by a large number of errors (or warnings. Sometimes it is difficult to find the source of these errors, because the errors given by the compiler and the linker are often vague.

 

Second, it makes no sense to try to re-invent the wheel. Others have found many solutions to problems encountered during the software design process. These solutions have become the design model. The key aspect of these design patterns is to provide effective design to developers in a way that everyone can understand. These patterns are time-proven and provide a public vocabulary that is useful when you communicate with other developers about your design.

 

Reference: iOS database application advanced programming (version 2nd)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.