General - how are you able to focus on coding for a while?

Discuss the development of future releases of phpBB (phpBB 3.x minor releases) and MODing/Coding related questions.
Post Reply
SuperRoach
New member
New member
Posts: 2
Joined: 09 Feb 2010, 08:42

General - how are you able to focus on coding for a while?

Post by SuperRoach »

Like the topic says I guess. I find that when I'm trying to make a phpbb mod, that because its a hobby, I'm not actively learning the ins and outs of it. This means that I need to recap where I was, and what part I was actually changing. By the time I've done that, I get almost nothing actually done!

What have you done that helps you get more coding done?
User avatar
Lord Le Brand
Past Contributor
Past Contributor
Posts: 223
Joined: 08 Sep 2006, 15:44
Real name: Leroy
Location: Parkstad, Limburg, the Netherlands (GMT+1)

Re: General - how are you able to focus on coding for a whil

Post by Lord Le Brand »

I find it very useful to add bookmarks in my code editor and add todo blocks in comments (I made a habit of using the phpDoc format for this).
It is also a good idea to comment your code a lot, rather too much than too little.
Image
User avatar
Mr. Bond
Member
Member
Posts: 89
Joined: 30 Mar 2008, 20:34
Real name: Bobby
Location: 127.0.0.1

Re: General - how are you able to focus on coding for a whil

Post by Mr. Bond »

Comment everything, and I mean everything. Anything that does anything, comment it so that you will know exactly what it is doing if you need to go back and change it 6 months later. Just simple things like "this checks this and then does this to that" will help you get the feel of the code later on, and it will help anyone new that comes along and sees your code as well.
Twitter • Ohloh • GitHub
imkingdavid
Supporter
Supporter
Posts: 32
Joined: 12 Aug 2009, 16:16
Real name: David
Contact:

Re: General - how are you able to focus on coding for a whil

Post by imkingdavid »

SuperRoach wrote:Like the topic says I guess. I find that when I'm trying to make a phpbb mod, that because its a hobby, I'm not actively learning the ins and outs of it. This means that I need to recap where I was, and what part I was actually changing. By the time I've done that, I get almost nothing actually done!

What have you done that helps you get more coding done?

Sometimes I run into issues like this as well. I agree with the other comments; you should comment your code, leave bookmarks (if they are available in your editor), and have a to-do list that you update constantly as things need to be done or get finished.
phpBB.com Development Team Member | View My MODs | View My Website
Please do NOT contact for support via PM or email.
Post Reply