PHP & Basketball

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

Post Reply
Grim...
DevNet Resident
Posts: 1445
Joined: Tue May 18, 2004 5:32 am
Location: London, UK

PHP & Basketball

Post by Grim... »

Bear with me here :)

On Sundays I coach kids on how to play basketball, and I've noticed something odd.
The kids that show up who can do round-the-back layups and fancy dribbling moves always get surpassed by the end of the season by the kids that learned their fundamentals.
Yes indeed, crazy-layup boy scored 30 points a game, but he couldn't pass or defend, and he let 40 points go in, so he's useless.

You with me here?

Since joining this site, I've helped a few people with their problems and I notice a similar trend.

People come on and say "I'm building a site that will hook up to someone's e-mail and filter the spam and use a socket to connect to a kettle and make them some coffee. Now, how do I set a cookie?" and I just stare in disbelief - they are using code in some places that I don't understand, but they don't know how to create an array or something.

The question is, are these PHP 'fundemental-skippers' going to go the same way as their basketball counter-parts by the end of the season?

Or am I talking crap?
User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Post by patrikG »

Nah, I think you hit the nail on the head there. I'm fully with you there.
The good thing is that you can go back and learn the fundamentals - but by that time, those who've learned them at the beginning have moved on. I think you can simply ask more concise questions and find out how the whole thing really works, get the gist of it and then can deduct by approximation from how things should work. And in most cases, it's true.
Grim...
DevNet Resident
Posts: 1445
Joined: Tue May 18, 2004 5:32 am
Location: London, UK

Post by Grim... »

The other things you find is that people are making huge work-arounds because they don't know of simple functions - using a while loop to count the number of values in an array, or something.

Once you get set in a habit of doing something the 'wrong' way, it's quite difficult to get out of it again.

In PHP and basketball :)
User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Post by patrikG »

...and life :)

Guess the lesson to be learnt is: if you do something, do it properly. Now that's something I'll have to remind myself of daily ;)
Grim...
DevNet Resident
Posts: 1445
Joined: Tue May 18, 2004 5:32 am
Location: London, UK

Post by Grim... »

And the moral of the story is:
Don't try and run before you can walk.
Maybe that could be a standard response to code queries that start "I have never used PHP before, but I want to build an encrypted shopping cart..." :)
User avatar
PrObLeM
Forum Contributor
Posts: 418
Joined: Sun Mar 07, 2004 2:30 pm
Location: Mesa, AZ
Contact:

Post by PrObLeM »

I also agree with you grim. Youll never learn if you get in WAY over your head because youll just give up.!
User avatar
tim
DevNet Resident
Posts: 1165
Joined: Thu Feb 12, 2004 7:19 pm
Location: ohio

Post by tim »

couldnt agree on the subject more so myself.

100% fact
Post Reply