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