Herman

Herman

Diary 2023-09-22

Today's work is all boring curd. Yesterday I finished writing the backend interface and today I'm working on the frontend. It's really boring, so I'm flipping through the documentation and looking at the element-plus documentation, checking details and validations. I've been doing this for two or three days.

Looking back on the process of working on this project, I feel something is off. I always feel like I'm thinking and working at the same time. I started working on some features, then realized that I should add more details, and ended up rewriting everything. It's not very efficient.

I thought about where the problem lies. After analyzing the requirements, I started designing the backend data structure. After designing the database structure, I imagined a few dao layer functions and thought about what functionalities the service layer should provide based on the requirements. Then I started coding without really thinking about what the frontend should have.

Looking at it now, I skipped too many steps. I should have first thought about what functionalities I need to implement and how they fulfill the requirements. Then I should have broken down those functionalities into smaller tasks, deduced what the UI should look like, what APIs it should access, what parameters it should use to interact with the backend, and what business logic the service layer should provide. Based on the business logic, I should have deduced what data structures the database needs...

Oops... I've made this mistake before. I always skip steps and don't think about each task that needs to be done from the top-level requirements.

I used to follow a YouTuber named moneyXYZ. Today, I heard a quote from him somewhere. It goes like this:

Many people quickly choose a topic and then work hard on it. But the results they achieve are not appreciated by anyone, so naturally the project fails. The person blames it on "bad luck" and moves on to the next failed venture. They seem to care more about the process than the results.

On the other hand, successful people I know usually spend a long time searching for important and solvable problems in their field. Once they find one, they invest all their resources and time into solving it.

This reminded me of a video I watched by moneyXYZ about time management. The viewpoint is similar. To achieve success, you need to put effort into important problems.

But it's easier said than done. I don't know how to find that important topic in my life.

iOS 17 is an epic update for me... Why? Because I discovered that my AirPods Pro 2 can adaptively cancel noise. They can automatically turn off noise cancellation when I'm talking to my girlfriend... and then turn it back on when I'm listening to music... It's so smooth and comfortable to use... It's really smooth.

Today, I started to daydream a bit. I was thinking, if I don't want to work and want to be a freelancer, should I switch to frontend development?

It seems like many freelance projects are outsourced for non-core projects, especially frontend development, which is easier to get hired for. It seems that if I have more frontend knowledge, I will have a better chance of supporting myself...

Then I can avoid working in an office, and the extra time after completing projects can be used to learn Rust until I can support myself with Rust...

But I'm a bit afraid... Every time I browse DuckDuckGo, I see senior colleagues who have been working for over ten years taking on projects. I'm trembling as I've only been working for a year...

I've been riding my bike home for a week now, and with the addition of medication and starting to take Fancl's multivitamin tablets, my mind has been very clear at work today... It's important to have some exercise and a balanced diet to maintain a good state...

Unfortunately, my cervical spondylosis still bothers me. My back hurts, and my neck hurts when I shake it...

END! Let's just stop here!

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.