Time flies, in a flash, 21 years have already halved, in the past six months you grow and harvest how much? Now let me share some of my growth and harvest in the past six months.

Go to the mountains and seas and keep loving

Don’t go too long, too far, and forget why started.

About in June last year I found the first job of life, as a specialized subject graduate out looking for work is really lost, was also wrote an article related self-study front path to get the offer, to record the some twists and turns in the process of looking for a job at that time, interested can learn under.

At the time of writing this article, I found that I had just worked for a whole year. I believe that most people grow quickly in the first year of working, because that is the transition from individual development to team collaboration, demo learning project -> production level project. It’s not just technological growth, it’s cognitive growth as well. So this year I was crazy to learn and grow the biggest harvest year (before did not have a job, I self-study front have a year and a half, almost every day at that time the average amount of learning can achieve 10 h), attend after work spends little time in learning, but the harvest will be learned before practice let I improved a lot

Since pulled to here, the following put some of my learning process of some records, now it seems really full of achievement ah ~

There is no record for a period of time after entering the company in June from 20 years, on the one hand, it is that period of time did not learn what thing 😅. There was also a period of intermittent learning and recording, but in the end or broken.

After work learning time more fragmented, but also prompted me to slowly forget the original record of such a good habit, but fortunately because of the first half of this year has a new plan, in retrospect this event must stick to it

Cough cough, next we compasses to teach ~

In the first half of the year

work

Not to say perfect balance, but work is work and the rest is life.

In the second half of the 20th century, I spent most of my time optimizing and maintaining the company’s previous B-side products, and rarely developing anything new. The system was really big, with nearly 500 pages and 10.5MB packages printed. I learned a lot from such a large project architecture

If the permission involves part:

  • The view/ Edit /deleted and organization data permissions of the role, account, application menu, or document view are generated

Webpack builds the project, also learned some fur

When there is no optimization and maintenance task at ordinary times, I will study the specific implementation of these functions above. When I finish eating, IT is indeed a big harvest

During February to April members participate in and served as the main development into a new project, which USES a set of company is based on open source component library of secondary packaging business components (the last is also introduced in the form of a plug-in, although is based on the components of a shell, but the packaging is very flexible, configurable also a lot of things). When I finished the project module, I went to see the source code. The whole process improved a lot for componentization development.

After double 叒 Yi back to the previous project 😬, need to add new functions, new modules to other systems, almost a month to spend on the project, every day to more than 8 o ‘clock, overtime to ten o ‘clock do not say, there are several times to overtime and early morning. It was a really painful time.

Once I couldn’t resist Posting a friend circle (it was almost one o ‘clock and I was in a meeting…).

It was a time when life and work were almost completely intertwined… I got up very late the next morning. I hurried to eat breakfast to catch the subway. After passing the security check, I just caught the train. After a few minutes of slow state gradually better, now recall all still have heart palpitations. Fortunately, this state of life did not last long, and later began to adjust to make changes.

life

I registered for a driving school last year, and spent most of my time practicing and taking tests after the Lunar New Year holiday. The whole past three make-up exam, in the same place two mistakes, really good stupid ~

Also moved during a home, in a place, the surroundings better than the previous place, basketball courts, are close to the runway, after the last time that afterwards gradually adjust the routine, also began to reduce the frequency of staying up late, trying to separate work and life, try not to take work in trivial matters to life (at least not to affect my life work and rest)

Go for a run at night and enjoy the evening breeze

The mobile phone ran a few days ago broke the screen 😭, the record also did not…

technology

The Nuggets are a daily stroll, which has become almost a regular part of my life. After moving in February, I started making a plan to wake up early and study every day, getting up around 7 a.m. to read a book and read an article. (Although I do wake up late on weekends, my body clock is very regular.)

In the second half of the year

Interview preparation

In a small chief priests can look forward to learning something very limited (here refers to the company for their own learning things I really limited, is not to say that the company no, after all, a company in the field of a stick to 14 years down and not be submerged must have their own unique advantage), in fact, as early as when I was in my want to ready to grow well in the company, To think that their own technology can make up for the short board of junior college students in the first-tier cities and many excellent front-end development together to compete on the same stage when the jump; At this point, I thought the time had come, so I had the idea of job-hopping.

After this idea came to my mind, I started planning and gradually invested my time in personal learning. Before that, I would refactor the previous code from time to time when I was maintaining a project in the company (it was unbearable to watch).

When maintaining projects, my mindset is basically to run as long as I can, but I can’t do anything about this mountain of shit, so I just keep piling code on it. Can be to the back to see a large push logic long, unclear and nested thieves deep asynchronous plus conditional judgment, really tired heart…

The code looks something like this

function submit() {
  // fetchxxxxx === 'interface call'
  if (xxxxx) {
    this.$confirm('Are you sure XXXXXX? '.'tip', {
      confirmButtonText: 'sure'.cancelButtonText: 'Let me think about it.'.type: 'warning'
    })
    .then(() = > {
      this.$refs.form.vlidate((valid) = > {
      if (valid) {
        // Call the interface to query the pre-validation of the current submitted document
        let params = {
          ...
        }
        fetchxxxxx(params).then(res= > [
          if (res.aaa === '... ') {
            // Assemble the data
            // A camel logic

            // Call the interface to generate the document
            fetchxxxxx()
          } else {
            return 'msg'}}else {
          return 'msg'}})})}else {
    if (xxxx) {
      return 'msg'}}}Copy the code

The code was written by someone who didn’t really understand the core of the Promise, and then used it once and then continued inside?? Confirm returns a promise. Validate also returns a promise. Interface calls also return promises. Why not return the chain… If the preconditions are not met, why not return before?

This kind of code can tolerate, it is not troublesome to change, but the asynchronous function nested asynchronous function and a lot of business logic can not understand in the stack, it is really skating on thin ice to change.

This code was also written several years ago, and the person who wrote this code is probably now a bigger player than me, but that doesn’t stop me from poking fun at his previous code 😶

This kind of project made me lose my temper, which also made me think about the people who would take over my code as much as possible when I was writing code. Before starting each requirement, I carefully thought and sorted out the business logic, so that the latter would not be affected by some lengthy code without considering the extension

The unknown offer

I plan to submit my resume in September and October. Wish me luck

Practice makes perfect, shortage in one

The nuggets years | 2021 theme activities I grow half of the campaign is under way on the road…