×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
I use snippets, generally once in a program. I have several that I use to create the basic structure of the program, then make changes until it works. I also have a set of procedures that I use when I am using a cursor (open, close, fetch). I will insert that snippet once per cursor (usually only one per program). I don't use them to collect business rules though. That I put into service programs.
Mark Murphy
STAR BASE Consulting, Inc.
mmurphy@xxxxxxxxxxxxxxx
-----Buck Calabro <kc2hiz@xxxxxxxxx> wrote: -----
To: wdsci-l@xxxxxxxxxxxx
From: Buck Calabro <kc2hiz@xxxxxxxxx>
Date: 11/05/2015 03:53PM
Subject: Re: [WDSCI-L] Code Snippets and Templates
On 11/5/2015 3:01 PM, David Larsen wrote:
I am interested in Code Snippets and Templates and trying to implement them
to make coding easier and faster.
-snip-
Are there any resources or repositories of examples of code snippets or
templates that can be shared?
If you know of any such resources, could you please pass them along or
publish them somewhere.
You could put them into the wiki...
I've had an on again / off again relationship with snippets. Some days
I'm sure I need to use snippets in order to use design patterns better.
Then I work with them some more and I talk myself into the idea that
hard copying code-as-templates is an indication that I'm missing a more
general function that I should be writing.
What's a snippet / template that you find yourself using often?
As an Amazon Associate we earn from qualifying purchases.