Is there a name for this coding technique/practice

Solarion

Honorary Master
Joined
Nov 14, 2012
Messages
21,886
When I am quickly trying to put some results together on a form, I will sometimes just put SQL, parameters, sometimes hard code select statements inside the form itself just to pull a result and get the look and feel right.

After that I will separate the project into different sections, classes, db etc and make it more professional.

Does this type of coding have a name, getting it all together in one place asap.
 
Last edited:

patrick123

Expert Member
Joined
Apr 10, 2005
Messages
2,894
In the older days there was the Warnier/Orr method which essentially looks at the reports or output that you are after then works backwards to define what inputs are required.
 

Hamster

Resident Rodent
Joined
Aug 22, 2006
Messages
42,928
As in Proof Of Concept ? If you are trying to convince yourself I suppose :D
Well except for the stakeholders everything else making it a POC is there: crappy code, a big ball of spaghetti mess and Entity Framework.
 

etienne_marais

Honorary Master
Joined
Mar 16, 2008
Messages
15,093
Well except for the stakeholders everything else making it a POC is there: crappy code, a big ball of spaghetti mess and Entity Framework.

Haha, yes. I suppose you deal with that a lot from juniors from what I gather.
 

FarligOpptreden

Executive Member
Joined
Mar 5, 2007
Messages
5,396
Nah, Prototype encapsulates state with an instance and gets to be re-used/cloned to avoid expensive operations.
Not really no. A prototype will more often than not be discarded after a first attempt, or it will be refactored, expanded and formalised into a fully functioning system.

Note that I'm refering to the practice of prototyping, not the design patten.
 
Top