Write the idea of code to write a functional idea

Source: Internet
Author: User

If you want to implement a function, what is your general idea of completing this function?

I am a beginner, and I hope to share with you the idea of writing code, I hope to help everyone.

Here is my idea of implementing a simple ' Calendar ' feature:

When I decide to make a calendar, I will first make a "calendar" model, that is, to implement the "calendar" model (like), I use the control to make;

Then I will follow the "calendar" model above the controls from top to bottom, from left to right to declare, but first not implemented;

After a control is implemented, the properties of the control are designed in strict accordance with the properties of the previous "calendar" model, which increases efficiency;

Once a control is implemented, a test is made to ensure that the control is the control you want and then implement the next control until the last control finishes.

When implementing a control, for example, properties, events. Don't think too much about associating data with the next few controls, because the more you think about it, the more complex it is.

This is the step for me to implement the "Calendar" feature!

Write the idea of code to write a functional idea

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.