4 ms·
Post in a forum criticising of loading/handling (filtered) POSTed form data into individual strings, the criticism was "The better way is to use an array. What
by LarryMade2 11y ago
Post in a forum criticising of loading/handling (filtered) POSTed form data into individual strings, the criticism was "The better way is to use an array. What good reason do you have to to load strings individually?"
Not only did this provide a logical alternative but it was open to letting me defend my method... Thinking on it arrays were the way to go solves other issues like retrieval and storage.
My reasons were more or less, "cause that's how I learned it." The question might have been a bit more condescending but the open opportunity to defend myself made me think harder on what I was doing vs the alternative.
Made me re-factor a ton of code for the better, was a lot of work - but I could see it was the right way to do it.