sigma7: Sims (nowiamdead)
([personal profile] sigma7 Jan. 29th, 2005 11:22 pm)
It took me a week, but phpNonsense is done. By "done" I mean that it's successfully parsing all of the templates I'm throwing at it without error or notice and that it has met every expectation I had for it to begin with.

This little project reminded me of a few basic tenets of programming I'd either forgotten or just failed to adequately remember in the last few non-programming months. Tidbits of valuable knowledge such as....

  • The first 90% of a project takes 90% of the development time. The last 10% takes the other 90% of the time.

  • Regexes are your friend. They can move mountains and carve valleys. I spent quite a bit of time bouncing between browser, text editor and the Regex Coach. If you do any programming at all, you should use this program. Fantastic piece of work.

  • Remember that "=" means "assignment" and "==" means "evaulates as equivalent."

  • Variable scope. Don't forget variable scope. If you're at a dead-end and you think you've exhausted every avenue of debugging, it's probably variable scope. Note: this is mainly for me, because, you know, it is.


Links to follow. Wanna kinda pretty-up the website.
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org

.

Profile

sigma7: Sims (Default)
sigma7

Most Popular Tags

Powered by Dreamwidth Studios

Style Credit

Expand Cut Tags

No cut tags