Lazy Programming

From Uncyclopedia, the content-free encyclopedia.
Jump to: navigation, search
Now this is what I'm talking about. Embedded programming...

Lazy programming is an extremelly old but efficient programming technique (it was invented before the computers themselves) that consists in writing random code until your program runs as (apparently) expected. For example, if you don't know where to call a recursive function, you try it everywhere it fits.

10 LET info = lazyprogramming
20 PRINT info
30 GOTO bed

Most programs are written before they're actually needed. This is too much like hard work.

Better is to say you've written it, but not get round to it until someone notices it's missing. You can get away with this, but you need a Just-in-time compiler.

Certain more advanced lazy programs exist, that use recursive methods to write the code itself one such example could be:


 namespace lazyprogram
 {
    class lazyness
    {
         static void main(string[] args)
         {
             this = WriteCode();
         }
         static string WriteCode()
         {
             return WriteMethod();
         }
         static string WriteMethod()
         {
             return WriteCode();
         }
    }
 }

ehem... WriteWiki();

See Also[edit]

Monabeanhalffinished.jpg This article has a good idea and concept, but isn't finished. You can do something about it.

Lazy Programming is a real coding style, this takes it all the way!