I AM VERY FRUSTRATED !!!!!

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

softcode
Forum Newbie
Posts: 10
Joined: Tue Sep 18, 2007 4:50 am

I AM VERY FRUSTRATED !!!!!

Post 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 ??????
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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.
softcode
Forum Newbie
Posts: 10
Joined: Tue Sep 18, 2007 4:50 am

Post by softcode »

Allright I'll post my code, but its damn long please bear with me !
User avatar
aceconcepts
DevNet Resident
Posts: 1424
Joined: Mon Feb 06, 2006 11:26 am
Location: London

Post 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?
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post 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
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Post 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.
FuzzieDice
Forum Newbie
Posts: 4
Joined: Wed Sep 19, 2007 3:04 pm

Post 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...
lafflin
Forum Contributor
Posts: 123
Joined: Thu Jul 26, 2007 6:26 pm

Post 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?
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Post by s.dot »

PHP is definately programming. :P
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
softcode
Forum Newbie
Posts: 10
Joined: Tue Sep 18, 2007 4:50 am

How I got to be one.

Post 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
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

So I guess I can assume this is a rant.


Moved to General discussion.
lafflin
Forum Contributor
Posts: 123
Joined: Thu Jul 26, 2007 6:26 pm

Post 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.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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.
User avatar
Jenk
DevNet Master
Posts: 3587
Joined: Mon Sep 19, 2005 6:24 am
Location: London

Post 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.
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Post 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.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Post Reply