Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8413501
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T00:55:57+00:00 2026-06-10T00:55:57+00:00

I am a self-thought newbie programmer and I am working on my first web

  • 0

I am a self-thought newbie programmer and I am working on my first web application – a website on which users can register, log in, and then post things into a database or search the database.

I am currently at about 150 files, and have learned a lot in the process. My coding skills have gone though the roof (compared to what they were before).

Now I am at a point where I am a little stuck. I know there are still many security issues with my site (I know what to do to fix them), also I realized that I used a depreciated function (the old PHP mySQL API) and I have just discovered a much better way to handle post data. Also I noticed, that my website is starting to get kind of slow, and I think there are a couple of places where I could condense my code.

I have tried to keep my code neat, organized and well structured. However, some files have gotten a little out of hand as I added to them. One of my worst files is 550 lines long, other files I am having trouble figuring out what exactly I was doing…

I am torn back and forth between the idea of rewriting everything from scratch and trying to fix those issues, which I know about.

I feel like I might be able to do a much better job, doing it all over from the beginning (after all I have gained so much experience since I started). At the other hand I am sure it’ll take FOREVER, even though I might be able to just copy and paste a few sections.

Like I said, there are many new features and techniques I have learned, which I could now implement, to improve the site – but I am also afraid that a couple months down the road I might have issues like that coming up again, and find myself in the same position of debating whether or not to rewrite the code.

So my question to the experienced programmers is:
Would it be a good idea for a newbie to rewrite the code from scratch?
Or will every programmer find themselves in this position after a while of programming, that everything seems like it might need a makeover?

I did read this article When to rewrite a code base from scratch but I feel like my question comes from a different perspective. It’s not like I’ve been handed this code, but i wrote it myself!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T00:55:58+00:00Added an answer on June 10, 2026 at 12:55 am

    A classic Joel Spolsky article on Things You Should Never Do might be worth reading.

    Rarely will you get the chance to rewrite (IMO experience, never) so you may as well learn how to fix the code you have.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

first time posting, self thought programmer and having a class cast exception in android.
I am a self thought hobby programmer and therefore don't have the fundamentals always
I'm a newbie programmer doing his best to self learn PHP. I'm trying to
i am super new to javascript and jquery self thought ....been working on this
I'm teaching myself .NET c# through books and self-assigned projects for fun. I thought
Was just doing a code review and started to wonder: I thought if (self
I'm currently self-studying C# in my free time and thought of a little project
Just wondering whether an object can self-destruct. Consider this situation. An object that extends
Why is using self allowed in static context in Objective-C? I thought it was
I thought I understood the use of self while referring to anything in the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.