To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.off-topic.geekOpen lugnet.off-topic.geek in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Off-Topic / Geek / 2030
2029  |  2031
Subject: 
Re: Is it perl or C? (was: Re: Programming Brain Teaser)
Newsgroups: 
lugnet.off-topic.geek
Date: 
Wed, 13 Sep 2000 17:34:32 GMT
Viewed: 
154 times
  
In lugnet.off-topic.geek, Tobias Möller writes:
When looking at this, I can't believe I actually wanted to learn how to
program ^-^

I thought it was much more simple, like AppleScript or the POV-ray scene
description language.

--Tobias

Well, this is an example of horrific code, because it was purposely written so
that it would parse, compile, and run in two different languages ... actual C
code or Perl code is usually much nicer to look at and understand.

BUT, let it be said that IF YOU WANT TO, you can make horrific programs in
Perl because of all the special variables, default cases, etc. If you really
want to be confused, check out the obfuscated Perl contest :) Someone wrote a
program to print out an ASCII Mandelbrot set (a fractal) in only 2 lines of
Perl (might have been 1 or 3... I forget offhand... I was totally baffled)

DaveE



Message is in Reply To:
  Re: Is it perl or C? (was: Re: Programming Brain Teaser)
 
When looking at this, I can't believe I actually wanted to learn how to program ^-^ I thought it was much more simple, like AppleScript or the POV-ray scene description language. --Tobias David Eaton wrote: <SNIP> (...) (24 years ago, 13-Sep-00, to lugnet.off-topic.geek)

19 Messages in This Thread:







Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR