On Thu, 04 Nov 2004 21:13:39 -0600, Michael Halcrow <[EMAIL PROTECTED]> wrote:
On Thu, Nov 04, 2004 at 01:07:46PM -0700, Soren Harward wrote:
We run an operating system that most of our peers haven't even heard of. Many of us could already program when we started college. I'm trying to represent the larger group that sees something like:
for (n=0; n<10; n++) { cout << n << endl; }
and can't even begin to tell you what it does.
Oh, that's easy. It does the exact same thing as this:
let rec t lst x = match x with 0 -> 0::lst | y -> (t (y::lst) (y-1)) in List.map (function x -> print_string ((string_of_int x)^"\n")) (t [] 9)
And some people say Perl looks like line noise...
:-)
Bryan
Being one of the resident Ruby bigots, I couldn't let this opportunity slide... :)
10.times { |i| puts i }Don't forget: tomorrow at 7pm in 120 of the TMCB, I'll be presenting the Ruby-on-Rails web framework (http://www.rubyonrails.org).
Also, if you want an introduction to the Ruby language before the meeting, show up at room M205 in building B77 at 3pm tomorrow (Tuesday). (B77 is the old UVSC building--the high-school-looking building across from Helaman Halls. It has a playground in the front.)
- Jamis
-- Jamis Buck [EMAIL PROTECTED] http://www.jamisbuck.org/jamis
____________________
BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
