POV-Ray : Newsgroups : povray.off-topic : Really epic : Re: Really epic Server Time
11 Oct 2024 05:19:30 EDT (-0400)
  Re: Really epic  
From: nemesis
Date: 14 Feb 2008 15:40:00
Message: <web.47b4a67c9e92b6c266f20de80@news.povray.org>
Nicolas Alvarez <nic### [at] gmailisthebestcom> wrote:
> begin
>      readln("Number of Apples", apples);
>      readln("Number of Carrots", carrots);
>      readln("Price for 1 Apple", a_price);
>      readln("Price for 1 Carrot", c_price);
>      writeln("Total for Apples", a_total);
>      writeln("Total for Carrots", c_total);
>      writeln("Total", total);
>      total := a_total + c_total;
>      a_total := apples * a_price;
>      c_total := carrots + c_price;
> end;
>
>   * Me: "Well, your program can't print correct results before they're
> computed."
>   * Him: "Huh? It's logical what the right solution is, and the computer
> should reorder the instructions the right way."

a functional programmer with no prior exposure to the imperative paradigm?!
Haskell is creating mindless monsters! :D


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.