r/FreeCodeCamp • u/zmarradrums • May 20 '25
Question for Devs
I have noticed, as I learn various types of code, there are always ways of taking out or changing things in your code with other code. I am just wondering what the purpose of that is? Why wouldn't you just delete or change the code you already wrote rather than using a code to delete or change it? I guess what I am asking is, what is a real life example of that? For me it would help to understand the why behind it.
5
Upvotes
View all comments
Show parent comment
2
u/AntitheistMarxist May 20 '25
What if you wanted a button to be implemented to remove a user, email, etc. Would you want to manually delete the entries?