From 410de7b8c396de217be954c0527f5343c57eaee0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20=C4=8C=C3=AD=C5=BE?= Date: Sun, 14 Nov 2021 14:55:14 +0100 Subject: [PATCH] Update --- throwaway_script.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 throwaway_script.md diff --git a/throwaway_script.md b/throwaway_script.md new file mode 100644 index 0000000..6b20c49 --- /dev/null +++ b/throwaway_script.md @@ -0,0 +1,7 @@ +# 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](ugly.md), badly written and don't have to follow [LRS](lrs.md) 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](game.md), 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](python.md) or [JavaScript](javascript.md).