


There are too many security and design flaws. How do programmers face the temptation to reconstruct the entire project?
I have been in the IT industry for 7 months, and I am a programmer who has just wet my shoes
Under development, need to learn various knowledge
There are html css javascript vuejs various web front-end frameworks regular expressions php and thinkphp frameworks
and databases
There are too many aspects involved and I haven’t learned much in the past six months. I have to use what I need to read, so I will encounter many problems.
When making bs software, I often find some problems. After solving the problem, I will find that the code I wrote before has left bugs and design flaws that I never thought of before.
At this time, I had an idea to get rid of all the previous bugs. The problem came. Some problems were not considered carefully at the beginning, so I just wrote the code directly. If you want to correct it, many places will be affected. You may get dizzy, and if you don't pay attention, you will go back to the previous strange circle.
At this time, I wanted to refactor the entire project code, but another problem arose. The development time required by the product manager was not enough (the function he wanted was expected to be developed in one day, but it actually took me 3 days) , when refactoring code time is more valuable than gold. And the product manager will say every day that it is too slow and needs to be accelerated (the product manager is the company CEO and also my teacher).
Every time this happens, I feel very impetuous and can’t write code with peace of mind. I always think about the bugs in the project.
Let me ask some experts who have the same sentiment as me how to solve this problem.
It is to continue development. After the first version of the product is developed, it is better to develop the second version.
It’s better to refactor directly. I want to refactor directly. Personally, I think if a program needs to be refactored during development, regardless of whether the product functions have been fully realized, it can be regarded as a version, so that the new version can be It will be safer.
After writing this, I already have the answers in my mind and have clarified a lot of things.
I went to back up the code. Teachers are welcome to provide more experience.
This question has been closed due to non-technical discussion
Reply content:
I have been in the IT industry for 7 months, and I am a programmer who has just wet my shoes
Under development, need to learn various knowledge
There are html css javascript vuejs various web front-end frameworks regular expressions php and thinkphp frameworks
and databases
There are too many aspects involved and I haven’t learned much in the past six months. I have to use what I need to read, so I will encounter many problems.
When making bs software, I often find some problems. After solving the problem, I will find that the code I wrote before has left bugs and design flaws that I never thought of before.
At this time, I had an idea to get rid of all the previous bugs. The problem came. Some problems were not considered carefully at the beginning, so I just wrote the code directly. If you want to correct it, many places will be affected. You may get dizzy, and if you don't pay attention, you will go back to the previous strange circle.
At this time, I wanted to refactor the entire project code, but another problem arose. The development time required by the product manager was not enough (the function he wanted was expected to be developed in one day, but it actually took me 3 days) , when refactoring code time is more valuable than gold. And the product manager will say every day that it is too slow and needs to be accelerated (the product manager is the company CEO and also my teacher).
Every time this happens, I feel very impetuous and can’t write code with peace of mind. I always think about the bugs in the project.
Let me ask some experts who have the same sentiment as me how to solve this problem.
It is to continue development. After the first version of the product is developed, it is better to develop the second version.
It’s better to refactor directly. I want to refactor directly. Personally, I think if a program needs to be refactored during development, regardless of whether the product functions have been fully realized, it can be regarded as a version, so that the new version can be It will be safer.
After writing this, I already have the answers in my mind and have clarified a lot of things.
I went to back up the code. Teachers are welcome to provide more experience.
If you don’t have time and perseverance, of course you should develop new features first. Isn’t it true that all new software in the world is full of bugs? After it goes online, after you fix the bugs, your market and reputation will be overtaken by others. Besides, after you continue to think about new features, you will be able to see its overall structure and shortcomings more deeply. At this time, even if you modify bugs and start over, you will be able to complete it in one go without any sense of stagnation.
The simplest point is that even if you overturn it now and start over again, more than half a year later, when you look back at the program you rewrote, you still have the urge to overturn it
I don’t understand why you changed the title and asked the same question again.
Refactoring the code can eliminate bugs caused by your previous wrong thinking and patterns, but you must know that this may take a lot of time, and the BOSS may not be satisfied.
It is recommended that you take some time every day to catch up on computer English, and then learn the mature PHP framework, so as to improve development efficiency and reduce the probability of BUG occurrences as much as possible.
We can give priority to version v0.0.0.1, solve bugs immediately, update functions iteratively, and solve bugs while developing new functions.
As mentioned above, after more than half a year, when you look back at the program you rewrote, you feel the urge to overturn it.
Our technology is constantly updated, and so are our skills
When you are exposed to more technologies, you may feel lost in reality at first
When you calm down, you will find that only the original The version does not affect the user's use, and you can get through it in your heart.
The only martial arts in the world is fast and unbreakable
I have encountered this kind of problem before. Solve the problem first and reconstruct it when you have time. I am also in the process of refactoring now, 70%. . .

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



PHP 8.4 brings several new features, security improvements, and performance improvements with healthy amounts of feature deprecations and removals. This guide explains how to install PHP 8.4 or upgrade to PHP 8.4 on Ubuntu, Debian, or their derivati

To work with date and time in cakephp4, we are going to make use of the available FrozenTime class.

CakePHP is an open-source framework for PHP. It is intended to make developing, deploying and maintaining applications much easier. CakePHP is based on a MVC-like architecture that is both powerful and easy to grasp. Models, Views, and Controllers gu

To work on file upload we are going to use the form helper. Here, is an example for file upload.

Validator can be created by adding the following two lines in the controller.

Logging in CakePHP is a very easy task. You just have to use one function. You can log errors, exceptions, user activities, action taken by users, for any background process like cronjob. Logging data in CakePHP is easy. The log() function is provide

Visual Studio Code, also known as VS Code, is a free source code editor — or integrated development environment (IDE) — available for all major operating systems. With a large collection of extensions for many programming languages, VS Code can be c

CakePHP is an open source MVC framework. It makes developing, deploying and maintaining applications much easier. CakePHP has a number of libraries to reduce the overload of most common tasks.
