loading...
Cover image for Scratch code or template??

Scratch code or template??

olalani profile image Olalani Oluwaseun ・1 min read

Do senior developer or programmer still write codes from scratch or just use existing template then redesign for the new project???

Discussion

pic
Editor guide
Collapse
alainvanhout profile image
Alain Van Hout

For any non-trivial project (which is most of them), you'll need to write a lot of code yourself (although an IDE is a big help for the boilerplate). That code will mainly be business logic, which is custom-made, by definition.

Collapse
anevins12 profile image
Andrew Nevins

Can you clarify whether you mean copying the code for entire projects or just copying a file boilerplate/ template?

Collapse
olalani profile image
Olalani Oluwaseun Author

Copying what you needed from the entire project

Collapse
anevins12 profile image
Andrew Nevins

I think it depends if the project has been originally written in mind to be copied in future. Even if the project's codebase wasn't originally purposed to be re-used, developers still can potentially take code from it and that does happen in the industry. Some projects however are so messy that you would be better starting from scratch. Hope that helps!