Page 1 of 2
I AM VERY FRUSTRATED !!!!!
Posted: Thu Sep 20, 2007 10:50 am
by softcode
DEAR ALL,
I AM PROBABLY THE MOST FRUSTRATED PROGRAMMER OF ALL TIME. I HAVE BEEN WORKING ON A CERTAIN SCRIPT FOR THE PAST THREE DAYS WITH ABSOLUTELY NO SUCCESS. STRESSING MY SELF OUT TO WASTE.
WHILE AM PULLING MY HAIR OUT ALL MY OUT GOING BOSS DOES IS BROWSE THE INTERNET. THE WHOLE DAY LONG!! THEN AFTER WORDS STARTS ASKING ALL THIS B.S. QUESTIONS, AND YELLING THAT IT'S TAKING TOO LONG.
WE ARE ONLY TWO OF US AM LEFT WITH NO ONE TO DISCUSS MY PROGRAMMING PROBLEMS WITH.
MAN IS THIS CAREER THIS S*****FUL OR IS JUST ME? I'LL ADMIT IT. AM NOT VERY SKILLED AT PROGRAMMING BUT GOD KNOWS I TRY MY 100% BEST. I PROBABLY WONT BE DOING THIS TWO MONTHS FROM NOW,WHO KNOW'S ???
BUT I CAN'T QUIT WITH THIS UNDONE WORK !
I NEED PROFFESSIONAL HELP ! ANY PROGRAMMERS OUT THERE FOR SOME SUPPORT ??????
Posted: Thu Sep 20, 2007 11:03 am
by feyd
Posting a thread in all caps isn't going to help any, nor is it helpful to not post the code you are having a problem with. Now, if you want this to be a rant.. fine, but it will be moved.
Posted: Thu Sep 20, 2007 11:08 am
by softcode
Allright I'll post my code, but its damn long please bear with me !
Posted: Thu Sep 20, 2007 11:18 am
by aceconcepts
Instead of posting pages of code why not start from the top.
1. What are your trying to do - just explain you objective?
Posted: Thu Sep 20, 2007 11:22 am
by volka
softcode wrote:but its damn long please bear with me !
Then here's the first advice: Chop your code into smaller chunks, each chunk solving a specific (smaller) problem.
you might also be interested in
http://en.wikipedia.org/wiki/Refactoring
Posted: Thu Sep 20, 2007 5:55 pm
by Kieran Huggins
I FEEL YOUR PAIN - IF YOUR CAPS LOCK IS STUCK IT CAN BE DIFFICULT REFERRING TO SOME VARIABLES. THEY'RE CASE SENSITIVE IN PHP.
ALSO, STOP DRINKING SUGARY LIQUIDS AT THE COMPUTER. OR AT LEAST DON'T SPILL THEM.
Posted: Thu Sep 20, 2007 8:57 pm
by FuzzieDice
Well, first off, I agree you should always at least write down what basically you want the script to do. In fact, make good use of splitting up the script into smaller chunks as someone said, and also use lots of comments, including /**** TO DO: Get the password encrypted here ****/ for example. Stuff like that. This way you don't burn yourself out and can go get a good night's rest, come back and know where you left off!
Here's an article I wrote on how comments can help (hope I'm allowed to post this link)...
Managing Your Code and Time Using Comments:
http://bytebin.net/articles/2007-0127.html
Whatever you develop, planning, and commenting the code helps, as well as like others mentioned - keeping it manageable in small chunks.
And as you gain more experience, coding in a certain language should become easier. Save your functions too! You may need them in another project!
Hope this helps. I know I'm not the world's greatest coder either (not even close), and often have to sorta wing it. I make use of the php manual on PHP.net and googling what I need to know, plus asking questions in forums to get me through the spots I don't know how to do. Sometimes a project will take quite a bit of research on how to code something.
Good luck and don't give up...
Posted: Fri Sep 21, 2007 1:11 am
by lafflin
I have read that programmers have the second highest suicide rate behind air traffic controllers...or maybe I saw it in a movie. In either case it seems unlikely. I'm sure that there might be some merit to the idea that the rate may be a little higher for programmers though. But my friend I have good news for you. If your working in PHP your most likely not a programmer, but a web developer or maybe a scripter? I don't know.
Programming has to do with working with code that directly manipulates file systems...or so I've heard. I could be wrong cause I'm new to web development and I only repeat what I hear.
It seems like your pretty stressed out though, perhaps you should quit your job, find something else to do if you don't like coding. I say that because if you were actually meant to be a web developer than you would enjoy the challenge that it presents. Maybe I'm just still enjoying it so much because I've only been doing it for a few months, but I love it. And I can't imagine that any of the mods here don't enjoy it. These guys take their time to look over our ugly code and give us great advice. The point is this: If you don't enjoy it than it's simply not for you!
Also, I have to ask, if your not very good at php, how did you get a position as a developer? and I can't figure out what s*****ful means, could you fill in a few more those wildcards so I can try to figure it out?
Posted: Fri Sep 21, 2007 3:09 am
by s.dot
PHP is definately programming.

How I got to be one.
Posted: Fri Sep 21, 2007 8:02 am
by softcode
lafflin,
I made an elearning system from an open source system on the net -> That's how I got to be one.
S**TFUL
Posted: Fri Sep 21, 2007 8:47 am
by feyd
So I guess I can assume this is a rant.
Moved to General discussion.
Posted: Fri Sep 21, 2007 9:57 am
by lafflin
But php isn't a programming laguage, it's a scripting language. Would you call someone who works in only HTML a programmer?
What if that person knows Javascript? Are they a programmer now? But Javascript is a scripting language as much as php is even if it is client side.
I bring this up here because I would hate to look like I'm talking out of my arse in person.
Posted: Fri Sep 21, 2007 10:13 am
by feyd
lafflin wrote:But php isn't a programming laguage, it's a scripting language.
That would depend on how you define a programming language. I consider PHP, and all the others you mentioned programming languages.
Whether I consider someone how only does HTML a programmer is secondary to that. In general, I do consider them a programmer. Not a well rounded one, or one that knows enough to talk educatedly about many programming subjects are HTML lacks many algorithmic solutions, but it has its share of syntaxes, verbs and so forth.
Posted: Fri Sep 21, 2007 10:50 am
by Jenk
lafflin wrote:But php isn't a programming laguage, it's a scripting language. Would you call someone who works in only HTML a programmer?
What if that person knows Javascript? Are they a programmer now? But Javascript is a scripting language as much as php is even if it is client side.
I bring this up here because I would hate to look like I'm talking out of my arse in person.
Programming languages are simply a set of instructions that the system will programmatically process. Scripts are programmatic lists of instructions.
Posted: Fri Sep 21, 2007 12:02 pm
by pickle
lafflin wrote:Programming has to do with working with code that directly manipulates file systems...or so I've heard.
*ahem*
PHP Filesystem functions
Whoever told you PHP wasn't a programming language wasn't aware of what PHP is capable of.