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?
General - how are you able to focus on coding for a while?
-
- New member
- Posts: 2
- Joined: 09 Feb 2010, 08:42
- [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
- Lord Le Brand
- Website Team
- Posts: 223
- Joined: 08 Sep 2006, 15:44
- Real name: Leroy
- Location: Parkstad, Limburg, the Netherlands (GMT+1) [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: General - how are you able to focus on coding for a whil
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.
It is also a good idea to comment your code a lot, rather too much than too little.
- Mr. Bond
- Member
- Posts: 89
- Joined: 30 Mar 2008, 20:34
- Real name: Bobby
- Location: 127.0.0.1 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: General - how are you able to focus on coding for a whil
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.
• •
-
- 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
phpBB.com Development Team Member | |
Please do NOT contact for support via PM or email.
Please do NOT contact for support via PM or email.
Return to “phpBB Development discussion”
Who is online
Users browsing this forum: No registered users and 28 guests