Remember to share an article to an android group, soon, people began to ask, I use so-and-so open source can get three lines of code, you are so complicated, I was speechless, leng, yeah, can realize the three lines of code, I turn the opposite a big circle, figure what, I am weak weak ask, how it is done? I don’t care how it works, but it works. That’s the answer he gave me.

The ahead of time, changes in plants could also constantly emerging, excellent open source development, with the aid of these open source, make our double efficiency increases, save a lot of development time, save the cost of too many, however, the so-called, I could only use, including the principle of I don’t know also more and more prominent, more and more obvious; We stood in the forefront of the world, under the environment of the foil, the front of the crowd, most of us just watching that, walked in front of and behind the past, only know its name, but don’t know who he is, the pursuers too much too much, even after 95 00 after the child has also joined the big crowd, in such a competitive environment, Since we all know his name, why don’t we keep getting to know him? After all, “friends” more, easy to handle affairs, I believe you know what I say “he” refers to, I also believe, you will get what, after all, if you can use this, after 1995 will also use, an enterprise will use you, or after 1995 after 00?

For open source, we should not only use it, but also understand and penetrate it at a deeper level. Only in this way can we be competitive and have a say in the future competitive market. If one person implements a feature with three lines of open source code, and another person writes it with two hundred lines of code, you are the interviewer. How would you choose? A person who can write on his own, he will get the favor of the interviewer, so, we should understand open source and use open source, rather than use open source and do not understand it, if we are the latter, we will suffer after all.

Blindly using open source in development sometimes only makes our projects worse. I just need A function, for example, is just A open source has A function, but the open source in addition to A function, also the function of B, C, D and so on function, the function is A class A, but the entire open source has hundreds of classes, introduced to our projects, virtually occupied our application memory, increase the size of the apk, Maybe you don’t care. After all, you’ve implemented the feature, you’ve done what you were told to do, and you can be happy about it. However, in many cases, referencing open source will have many conflicts with our own projects. For example, referencing common JAR packages, gradle versions are inconsistent, and sometimes our application will exceed 65535 methods.

I need a apple, you gave me a car fruit, this is a lot of open source we have to face a problem, if we can get the source code, then we can do a pump, the function of the need to take its essence and discard its dross, so that will simplify a lot of useless code, but in many cases, we used the open source, Either rely on a JAR package, or rely on an address, the so-called source code, can expose very little, in a certain function of their own can write out the case, why don’t we start their own implementation? On the one hand, it will deepen your impression of this feature. On the other hand, it will save application memory and APK size by eliminating third-party references. On the other hand, it will reduce some problems caused by referencing open source. Of course, the so-called these have to be established in your project has enough time, otherwise, a function is able to write, but no two or three days can not be done, and the project online time is imminent, so in this case, please must use a third party, no reason, because your work is important!

So-called redundant, in many cases, but that’s just fobbed off their own an excuse, we are in an age of happiness by a great number of excellent open source spoil, gradually lost the desire, we become lazy, become is not active, become only a few lines of code to become only pursues the result, does not pay attention to process, so that gradually lost the “redundant”. Why bother? In fact, it is not for what, but for us to get more knowledge, understand the qualitative change from 0 to 1, but also for, a certain post, we will they will not, and strive for a job will be.

A few lines of code can be done, does not mean that a person is very good, with the help of open source, just standing on the shoulders of giants, so that you save a long road to success, but this section of the scenery on the road, please carefully appreciate, in the end, you will find that the scenery on the road will be far more beautiful than the end of the success.