Use chatGPT to create NEW objects, so that the festival of "code farmers" is no longer just 1024 (the growth of catching ducks on the shelves, the flag that invalid has to be established)

foreword

National Science and Technology Workers Day is to honor workers who have contributed to the development of science and technology, and programmers, as one of the important groups, use their skills, creativity and efforts to promote the development of science and technology, making life more convenient and Rich.

To be honest, as a "code farmer" who is exhausted in the ocean of code every day, it is painful and happy, and the pattern can only be opened in occasional various publicity. Programmers need to continuously learn, update knowledge, adapt to new technologies and solve various problems. This is a challenging and dynamic job.

1. Most of the growth is to drive ducks to the shelves

Although I don't agree with this statement, every time I grow up, it is indeed like this. This is the legendary “终于活成了自己讨厌的人?”
growth that should be carried out in a purposeful, planned and systematic way. Makes a solid mark. We should discover and pay attention to the key points in our growth, and we can get more inspiration and improvement from them. And these key points often require us to actively look for them in the process of growing up, rather than waiting for opportunities to come.

In fact, "always involuntarily".

This is a launch plan in the middle of the year. If the two people were not involved in the project, at a critical moment, Mr. WoodCutter "two Yang", do you think the project will be terminated? Will there be additional staff?

The only correct options are:

  • The time to turn the tide has finally arrived!
  • The time for promotion and salary increase has finally arrived!

insert image description here
The actual situation is to donate all the only rest time, and in this objective process, frantically search, program for Baidu, program for CSDN, program for chatGPT...

This is how growth comes about.

2. The festival is to tell yourself that you are not alone

  • Obviously it is the holiday of 5.1 office workers, many people choose to squeeze their scalps, go to the crowded Taishan Mountain to climb, go to Zibo for barbecue...
  • Even though it is 6.1 Children's Day, the children have to be forced to open for business, and rehearse the program early...
  • The programmer's holiday is 1024. Although it is not statutory, it also brings a little comfort to this group. You are not alone.

It is often necessary to deal with complex work tasks for a long time to complete the development, testing and deployment of the project. Rest and relaxation can help relieve work pressure and improve work efficiency and creativity.

  • If you sleep to increase your happiness, then sleep...
  • If traveling restores your confidence, travel...
  • If you watch dramas that keep your imagination going, then watch dramas...

3. If you can’t do it, you have to set a flag

As a qualified programmer, we should maintain a high fighting state:

  1. Regular working hours: Whether you enter the office after getting up in the morning or start working at home, or turn on the computer at any time on the subway or at the entrance of the shopping mall. we have to do it too,今天没节日,心中有节日。

  2. Grow in fixing bugs: The most important part of a programmer's daily work is writing code, constantly thinking and implementing new functions, or solving existing bugs. Remember: Bugs are the link of our failure, and failure is the mother of success, so Bugs are our source of strength. Roll over, boy!

  3. Learn to tolerate: Programmers are often members of a team and need to collaborate with team members to complete projects: Product managers, test engineers, UI/UX designers, operation and maintenance engineers and other professionals work closely together to discuss requirements, communicate solutions, and solve problems etc. 不要把自己老子天下第一的想法表现在脸上, because the ability is really not enough.

  4. Independent learning: In the technology world with fast iteration speed, only by constantly learning new technologies and knowledge can we keep up with the rapid development of industry changes. Therefore, independent study is also a part of daily work, reading a large number of technical articles, collecting documents of projects done, participating in technical community forums or technical exchange activities, etc.

  5. Problem solving and optimization: In the process of writing code, we encountered various problems. In addition to the corresponding debug work, the proper noun "Refactor" re-examines and rebuilds the code, etc., which is our limited overtime time. The key to unlimited growth.

4. New object

It doesn't make much sense, but chatting with chatGPT is a bit addictive recently. By the way, use chatGPT to create the image of New technology workers (code farmers):

1.php defines a technology worker image

// 定义一个科技工作者类
class TechWorker {
    
    
    private $name;  // 称呼
    private $age;   // 年龄
    private $skills;    // 技术技能

    // 构造函数,初始化对象属性
    public function __construct($name, $age, $skills=array()) {
    
    
        $this->name = $name;
        $this->age = $age;
        $this->skills = $skills;
    }

    // 输出科技工作者信息
    public function printInfo() {
    
    
        echo "/*\n";
        echo " * 称呼:{
      
      $this->name}\n";   // 显示姓名
        echo " * 年龄:{
      
      $this->age}\n";   // 显示年龄

        $skill_str = " * 技术技能:\n";
        foreach ($this->skills as $skill) {
    
       // 显示技能
            $skill_str .= " * - {
      
      $skill}\n";
        }
        echo $skill_str;
        echo " */\n";
    }
}

// 创建一个科技工作者的实例
$tech_worker = new TechWorker("小王", 28, array("PHP", "Java", "Python", "MySQL"));

// 输出该科技工作者的相关信息
$tech_worker->printInfo();
?>

2.python defines an image of a scientific and technological worker

# 定义一个 TechWorker 类,表示科技工作者
class TechWorker:
    def __init__(self, name, age, skills=[]):
        self.name = name
        self.age = age
        self.skills = skills

    # 输出科技工作者信息
    def printInfo(self):
        print("""\
/**
 * 称呼: {0}
 * 年龄: {1}
 * 技术技能:
{2} */""".format(self.name, self.age, "\n".join([" * - {}".format(skill) for skill in self.skills]))
        )

# 创建科技工作者对象并输出其形象
tech_worker = TechWorker("小王", 28, ["Python", "Java", "PHP", "MySQL"])
tech_worker.printInfo()

3. javascript defines a technology worker image

// 定义一个 TechWorker 类,表示科技工作者
class TechWorker {
    
    
  constructor(name, age, skills = []) {
    
    
    this.name = name;
    this.age = age;
    this.skills = skills;
  }

  // 输出科技工作者信息
  printInfo() {
    
    
    console.log(`\
/**
 * 称呼: ${
      
      this.name}
 * 年龄: ${
      
      this.age}
 * 技术技能:
${
      
      this.skills.map(skill => ` * - ${ 
        skill}`).join("\n")} */`);
  }
}

// 创建科技工作者对象并输出其形象
const techWorker = new TechWorker("小王", 28, ["JavaScript", "Java", "PHP", "MySQL"]);
techWorker.printInfo();

Summarize

Programmer is a very valuable profession 对于促进科技和经济的发展起到了很大的作用(it is also a basic skill in our life, it is not a special existence), the word "code farmer" is the embodiment of our work value, and it is also regarded as the National Science and Technology Worker Day Leave some emotion.

I hope that this festival will attract more people's attention to the efforts and contributions of scientific and technological workers, and at the same time, I hope that more people can join this group and make their own contributions to the progress of science and technology.


@leak time sometimes

おすすめ

転載: blog.csdn.net/weixin_41290949/article/details/130903269