Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Using Switch with Words ??/C/C++

From: tim::johnsons-web::com at: 1-Nov-2001 7:58

On Thu, Nov 01, 2001 at 05:31:51AM -0600, Joel Neely wrote:
FYI: I have designed (and am teaching some) a 4 course curriculum that is being taught online at a local school district. Semester 1: Intro to programming using rebol Semester 2: Python, with tkinter and objects Semester 3: Perl (someone else designed that) Semester 4: C/C++ first half is using Ansi C with ABSTRACT DATA TYPES second half is building C++ classes on top of the abstract C data types. Semester 4 will use examples in rebol and interfaces to rebol. and will have as a prerequisite some knowledge of rebol.
> Given that the same thing can be coded in C as > > printf "%d\n", value; > > it's easy to see what an improvement C++ is... ;-)
That's arguable.... :>) case-by-case basis. I recommend reading this argument:
> -jn-
Joel, if you don't teach you should. You would be wonderful at it. Tim
> ; sub REBOL {}; sub head ($) {@_[0]} > REBOL [] > # despam: func [e] [replace replace/all e ":" "." "#" "@"] > ; sub despam {my ($e) = @_; $e =~ tr/:#/.@/; return "\n$e"} > print head reverse despam "moc:xedef#yleen:leoj" ; > -- > To unsubscribe from this list, please send an email to > [rebol-request--rebol--com] with "unsubscribe" in the > subject, without the quotes.
-- Tim Johnson <[tim--johnsons-web--com]>