While that may sound like a good idea, and would probably work on small to medium sized forums, I really don't believe that it is a sound system, and is certainly not fool proof, and I could actually foresee major problems with it.
Originally posted by NiXXeD
Chances are it's not going to happen at the exact same second as someone else
This is a very bad thought process, and I don't think anyone should ever implement iffy code because 'chances are it won't happen'. This is extremely poor planning.
When engineers build a bridge, they don't say, "Well, the bridge could collapse if scenario 'A' happens, but chances are scenario 'A' won't happen.
Well, what happens when scenario 'A' does happen?
When you write code, you should always take the approach, that scenario 'A' WILL happen, and eliminate the chance.
Originally posted by NiXXeD
I realize that this might make a difference if a user just opens the page and lets it sit forever, and then comes back, but how often will that happen, and what would it really matter?
Again, we have scenario 'B', and this programmer taking the lazy approach of 'it probably won't happen, and if it does, so what?'
If you ever find yourself saying that about a solution....
think again, because it's not a solution.
Why not think of other ways to solve the problem, where a chance of both scenario A & B don't exist?
I do not apologize to any persons who may have been offended by this post.
I see more and more shortcuts and sloppy coding every day, and sometimes it seems as though this 'It probably won't happen' attitude is permeating just about every Public programming forum, and it sickens me.
I am not saying my code is perfect, far from it, but I am learning more every day. When I start a project I work very hard to never have that attitude, and I work even harder to find solutions that actually work.