less_retarded_wiki

main page, file list (581), source, all in md+txt+html+pdf, report abuse, stats, random article, consoomer version

Throw Away Script

Throw away script is a script for one-time job which you "throw away" after its use. Such scripts may be ugly, badly written and don't have to follow LRS principles as their sole purpose is to quickly achieve something without any ambition to be good, future-proof, readable, reusable etc.

For example if you have a database in some old format and want to convert it to a new format, you write a throw away script to do the conversion, or when you're mocking an idea for a game, you write a quick throw away prototype in JavaScript to just test how the gameplay would feel.

For throw aways cripts it is acceptable and often preferrable to use languages otherwise considered bad such as Python or JavaScript.


Powered by nothing. All content available under CC0 1.0 (public domain). Send comments and corrections to drummyfish at disroot dot org.