When I sit down to code I usually have a pretty clear idea of how I want the program/function to work when I finish it. But I don’t just jump into it. What I normally do is start out the basics, using set variables. I then complete all the basic features, such as having the proper returns come out, or the proper fields update.
I will then make the script dynamic. Such as read all the incoming information from a database, or XML doc and that it is returning the information again to the proper place.
And then I put the polish onto the pieces such as tweaking equations, removing little bugs, making it look pretty, etc etc.
So how do you generally go about writing a script? Do you jump in with all the advance features from the start or do you do it slowly like me? Or do you have another way?