Posts: 3,985
Name: Abel Mohler
Location: Asheville, North Carolina USA
|
It's midday, and I find myself looking at a few hundred lines of code, the product of a few hours work. I know because of the scope of this project, and how much more lies ahead, there's going to be a lot of need for optimizing what I'm creating. I find myself constantly tweaking it here and there, not only trying to make it more clean and readable, but smaller and more efficient.
I write a lot of JavaScript, mostly within jQuery or Prototype, and making things work efficiently is pretty important. I don't have a routine for testing how efficient my work is, but I do usually have a good feeling for what is working and what isn't.
Does anyone have any tips for how to write efficient code, or want to share experiences that have been helpful to you in this area? I'm interested in hearing about any platform or language.
|