Time Well Spent, Learning Programming
Browsing through DZone, I stumbled on an interesting illustration – the Programmer’s Food Pyramid.
The Pyramid illustrates the different activities that someone generally engages in while learning to program. While looking at the pyramid, I thought, “Do I do all these things?”
For the most part, I do on a daily basis.
Writing About Code and Writing Code
I spend a decent amount of timing writing about code – or thinking about writing about code. That’s a lot of what this website is about, and it’s also why I spend a lot of time on forums like DaniWeb and Digital Point.
As a high school teacher, I know all too well that you learn best by teaching. So I spend a lot of timing writing about what I’m trying to figure out – so I can help others learn it, but also so I can figure it out myself.
On the pyramid, “Writing About Code” and “Writing Code” are separated into two different categories – but for me they’re pretty synonymous. If I spend time writing some code, I usually devote some time to writing about it. It helps me gain a deeper understanding of what I did.
Reading, Revising, and Reading About Code
Likewise, the pyramid divides these into three different tasks – but I’d say they mostly occur at the same time for me.
I spend a lot of time trolling around the PHP sections of webmaster forums (like DaniWeb, DigitalPoint, etc). I like to see what problems other people are having… and then try to solve them.
In the process, I generally end up reading someone’s code, fixing errors in it, and searching the internet to solutions to deeper problems. A small problem in a forum post can easily drive me to learn more about a topic I didn’t know a lot about.
For example, someone posted a question about using preg_replace(). I never used the function much, because I never had a reason to use it over str_replace(). Instead of directing the person to str_replace() like most other respondents did, I spent some time learning how to use preg_replace() and I fixed the error in the original poster’s code.
Reading Environmental Code
If there’s one thing I hate, out of all the bits included in the pyramid, it’s reading environmental code.
For example, I operate another site using CMS Made Simple (Babel). I wrote some modules for the website to make it do exactly what I wanted… and that meant spending a lot of time mucking through the CMS’ source code.
Like most projects, the source code was not well commented or documented. The code didn’t follow the highest standards of coding, either, and I found myself wanting to stop and fix little problems in it as I went.
No, I definitely find it an annoying chore to read through someone else’s code when it’s not well-written and well-documented. That’s part of the reason I always try to make my own code as clear as possible, with documentation throughout.
Tags: development, learning, php, programming
hotels in kanchipuram said this on July 10th, 2011 at 4:44 am
Good One
Know More About hotels in kanchipuram At Kanchipuram Portal
Leonel Storie said this on July 15th, 2011 at 4:13 am
In my opinion you are not right. Write to me in email, we will communicate.
infinite gallery6 said this on July 15th, 2011 at 11:16 am
infinite gallery 515…
aaa b b…
infinite gallery26 said this on July 15th, 2011 at 2:27 pm
infinite gallery 2515…
aaa b a dsb…
infinite gallery256 said this on July 15th, 2011 at 6:16 pm
infinite gallery 25151…
aaa ba a dsb…
benjamin tan said this on July 17th, 2011 at 4:50 pm
benjamin tan…
I LOVE YUN…
BBW said this on July 18th, 2011 at 12:58 am
some truly great information, Gladiolus I discovered this.
july said this on July 18th, 2011 at 9:23 am
Good ¡V I should certainly pronounce, impressed with your site. I had no trouble navigating through all tabs as well as related info ended up being truly easy to do to access. I recently found what I hoped for before you know it in the least. Quite unusual. Is likely to appreciate it for those who add forums or something, website theme . a tones way for your customer to communicate. Excellent task..
infinite2allery2556 said this on July 19th, 2011 at 8:14 am
infinite gallery5541…
aaa ba a ds531b…
DreneFepvet said this on July 19th, 2011 at 10:47 am
знакомства для создания бизнеса
themafiaboss said this on July 23rd, 2011 at 2:19 pm
I would like to thank you for the efforts you’ve put in writing this web site. I’m hoping the same high-grade blog post from you in the upcoming also. In fact your creative writing abilities has encouraged me to get my own web site now. Actually the blogging is spreading its wings rapidly. Your write up is a good example of it.
Mirabel Jensen said this on July 26th, 2011 at 3:08 pm
Hello ,
Cool post !
Thanks for share with me !
BTW , Check Out My New Site :
http://thegiftworlds.com
Florentino Probst said this on August 8th, 2011 at 2:48 pm
I have been absent for a while, but now I remember why I used to love this web site. Thanks, I will try and check back more often. How frequently you update your website?
belleair said this on August 19th, 2011 at 4:40 am
I wanted to follow along and allow you to know how considerably I appreciated discovering your web site today. I’d personally consider it an honor to operate at my place of work and be able to utilize the tips provided on your site and also be involved in visitors’ opinions like this. Should a position associated with guest article author become offered at your end, i highly recommend you let me know.
Peter said this on August 26th, 2011 at 7:58 am
Such an excellent write-up! No idea how you wrote this text..it’d take me weeks. Well worth it though, I’d assume. Have you considered selling ads on your blog?
Hello said this on September 6th, 2011 at 6:15 pm
http://successismineonline.com
Portland Insulation said this on September 17th, 2011 at 4:23 pm
Awesome read. I just passed this onto a friend who was doing some research on that. He just bought me lunch because I found it for him! Thus let me rephrase: Thanx for lunch!
Soundproof Drywall said this on September 25th, 2011 at 10:55 pm
I realize this is off subject, but I to see what you all take into consideration it. The gangs in Mexico are obtaining crazy. Did you see the news about the police who located a woman’s decapitated body in a Mexican border city on Saturday, alongside a handwritten indication saying she was killed in retaliation for her postings on a social networking internet site. So insane! What do you all think about it?
http://www.nflcustomizedshop.com/products/NFL-Customized-Jerseys-18/Green-Bay-Packers-Customized-Jersey-427/{Packers said this on October 31st, 2011 at 2:04 pm
where to buy Premier and Stitched Spain jerseys ??…
[...]we adivce go to this website to see more about Spain jerseys and others. [...]…
unix vps said this on December 10th, 2011 at 4:05 am
I’m still learning from you, as I’m improving myself. I definitely love reading everything that is written on your blog.Keep the tips coming. I loved it!