Repetitive coding

  • Thread starter Thread starter JJ
  • Start date Start date
J

JJ

When I'm creating a new web site project, I tend to spend a lot of time
repeating the same code, but with different variable names and types. This
is when I am setting up the business, and data layers in particular. Even
the SQL stored procedures are much the same (except for the names and
types).

My question is, is it possible to automate this task? It would save a huge
amount of time.

Thanks,
JJ
 
Sure, get codesmith http://www.codesmithtools.com/


Dave Bush
http://blog.dmbcllc.com




-----Original Message-----
From: JJ [mailto:[email protected]]
Posted At: Friday, November 23, 2007 12:58 PM
Posted To: microsoft.public.dotnet.framework.aspnet
Conversation: Repetitive coding
Subject: Repetitive coding

When I'm creating a new web site project, I tend to spend a lot of time
repeating the same code, but with different variable names and types.
This
is when I am setting up the business, and data layers in particular.
Even
the SQL stored procedures are much the same (except for the names and
types).

My question is, is it possible to automate this task? It would save a
huge
amount of time.

Thanks,
JJ
 
Code snippets work, but you would still have to supply some variables and
possibly dink the code a bit. There are also code generators, as Dave Bush
has suggested.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

*************************************************
| Think outside the box!
|
*************************************************
 
Back
Top