How to torture a programmer?
Oh dear Lord my brain cells are jumping up and down from all the torture. I always thought that programming is fun and I believe it is and it will always be, but why the torture!? Fixing someone else’s code is the ultimate form of torture! I’m even doing it on the weekend because I thought I can get the majority of it redone quickly with the new template I made! NOP! It’s horrible! Beyond horrible. I am not touching it again today. Bleah!
First off, why have a dynamic website with a login form that uses .htaccess files for login? Why not just add a login table to the database and easily use that? Oh, it is obvious, cause some programmers think login sessions and comparing values to the database are so HARD to do!
Second problem, why have a dynamic website with many configuration files with one line in it to define one variable? What the hell?
I haven’t even touched the Database yet to see how un-normalized it is. My head is killing me. I decided to just redo the whole thing slowly because I will waste time figuring out someone else’s code.
Any coder out there who doesn’t understand the concept of modularization, documentation, and organization of code, then DON’T code. Please don’t code and save us the torture!




Those types of sites shouldn’t really be called dynamic. I feel your pain.
Ouch! I feel for ya. Well, my first project 8 years was one such (thanks to a hostile takeover) and guess what? I am now given such projects simply because I have the “required experience”!
BTW, .htaccess based authentication is almost unheard of for a public website!. Whoa! good luck lady .. good luck!
.
Not sure if it will be a disruptive change to override the authentication mechanism with a DB based authentication.
I am using CakePHP and they got lots of libraries and built in sessions that will handle logins. I did lots of reading, and all I got to do is implement them.
Oh! God bless open source and PHP’ers!
So are you more into domain specific (finance,banking.telco) solutions or more of a technologist (give me a language and I will code!) ?
I am a graphics designer and web programmer. So doesn’t matter what it is, I do what my boss tells me to create! lool
“I do what my boss tells me to create!”
Good one….heheheheh