TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 01-07-2009, 10:12 PM   #1 (permalink)
The Acquainted
 
KingOfTheSouth's Avatar
 
Join Date: Oct 2008
Location: Cincinnati
Posts: 151
Thanks: 14
KingOfTheSouth is on a distinguished road
Default Learning and explaining code

How many people here actually have trouble explaining code? I am asking this because I have a hard time on here contributing because I cannot really explain coding. I have a lot of trouble doing it actually but if I have the work in front of me and doing it myself.

When a buddy of mine tried to teach me I did not understand any of it so after about a week he got mad at me and said he did not want to deal with it anymore. I already had the site up and what I did was go one step at a time. I would change something and then would go to the site and see what had happened. That is how I taught myself and that is what I still do when I code. This is why is so hard for me to contribute on here. I would like to hear some others stories.
KingOfTheSouth is offline  
Reply With Quote
Old 01-08-2009, 04:14 AM   #2 (permalink)
The Contributor
 
ryanmr's Avatar
 
Join Date: Jun 2008
Location: Twin Cities, Minnesota, USA
Posts: 44
Thanks: 3
ryanmr is on a distinguished road
Default

Lately I've had a hard time explaining code that I have not written personally.

I have so many preconceptions about how code should be written and when I come across something that is subpar, sloppy or poorly implemented, not commented, not organized, etc, I have a really hard time.

However there is code like Mootools and Wordpress. I can explain huge chunks of those things by simply looking at the names of functions/methods and arguments/parameters. Those things are coded consistently and have a particular style so reading and explaining is much easier.
__________________
blog twitter ifupdown
ryanmr is offline  
Reply With Quote
Old 01-09-2009, 02:14 PM   #3 (permalink)
The Prestige
Advanced Programmer Top Contributor Good Samaritan 
 
sketchMedia's Avatar
 
Join Date: Oct 2007
Location: Manchester, UK
Posts: 854
Thanks: 32
sketchMedia is on a distinguished road
Default

Not usually with my code, I make sure that i don't need to explain it
I do however have trouble explaining my ideas at times, it all makes sense in my head but when i try to explain them, it all comes out 'wrong road round'.
__________________
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
sketchMedia is offline  
Reply With Quote
Old 01-09-2009, 02:37 PM   #4 (permalink)
The Acquainted
 
KingOfTheSouth's Avatar
 
Join Date: Oct 2008
Location: Cincinnati
Posts: 151
Thanks: 14
KingOfTheSouth is on a distinguished road
Default

Yeah that happens to me a lot as well. I could not sit and tell you about how to write a MYSQL query it is easier for me to show you or just do it for you:)
KingOfTheSouth is offline  
Reply With Quote
Old 01-09-2009, 08:42 PM   #5 (permalink)
The Contributor
 
Join Date: Mar 2008
Posts: 31
Thanks: 1
masfenix is on a distinguished road
Default

You should look into some open source programs. If you set your mind that your gonna develop a patch then you have to understand their code. Then you'll have knowledge of explaining your own code but also the code of another programmer.
masfenix is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create a gallery class Tanax Advanced PHP Programming 25 02-19-2013 04:25 AM


All times are GMT. The time now is 09:00 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design