[Talk] Question about scripts

Andrew Wentzell talk@flux.org
Thu, 7 Sep 2006 13:17:46 -0400


On 9/7/06, Danny Rathjens <dannyr@wirespring.com> wrote:
> I'd expect a chance to redo it "in the spirit", though, if told a hard-coded
> answer is unacceptable.

If you do get the chance, take the source of some other large-ish
program you've written (must be your own work, because after all, you
don't want to plagiarize), strip the newlines, and bury a function in
it that programmatically calculates and prints said digits.

Or, bury a function in it that prints the hard-coded digits. Maybe use
a rot13 algorithm to prevent the instructor from searching for the
string "3.14". I bet they won't notice.

Small wonder I'm no longer a student. :)