With the development of projects, functions, components more and more, the code of "maintainable" feeling more and more deeply ~
In this development, there is a place to use the page bar, so I naturally began to follow the UI design to draw the page, and when to write JS, the mind is still drifting "should be written components?" ",
very good! The idea is right, but there is only one place to use this page,"So why should I write a component?" "This" lazy "," not smart "idea came up again, along with the project development time of austerity, I actually resolutely gave up this page bar to write components ~
Project a little bit to do that
Time to walk a little bit,
The silence before the storm is always so scary.
But the coming is still coming ~ ~ ~
Do do to find other places also need to use this page bar, and then I will this page to write the "dead" ,"non-Maintenance", "non-expandable", but nothing, but also only two places ...
Project a little bit to do that
Time to walk a little bit,
By, you guessed right ~ the same page strips appeared again, this time I guess waking wake up!!!
"Spend" some time, "spend" some energy, to envision each part of the page, to design each part of the page, it is important not to be afraid of trouble and use the most "simple", "convenient" form to write the page, eventually you will find this page is very difficult to maintain ~~~!!!
A little understanding in the development process (2)