Questions tagged [throwaway]
3 questions
8
votes
10 answers
Good strategies for developing throwaway code?
I frequently write throwaway code (in a research environment) - for example to explore an algorithm or a model for a scientific property or process. Many of these "experiments" are one-off but sometimes I find that I need to use a few later. For…

peter.murray.rust
- 37,407
- 44
- 153
- 217
2
votes
3 answers
When do you throw a prototype away and start over?
When you're prototyping a new system, what guideline(s) do you use to mark a stop-and-start-over point?

Mike Burton
- 3,010
- 24
- 33
1
vote
4 answers
Should I fully declare throw-away objects?
If I need to do something like this:
var connection = new Connection(host);
connection.Execute(Commands.Delete);
Is there anything wrong in doing this:
(new Connection(host)).Execute(Commands.Delete);
The first example may be more readable, but…

jamesrom
- 866
- 3
- 10
- 19