Rake Friday?

E

Edward Kenworthy

Hi All

I've been programming for more years than I care to remember and am
enjoying programming in Ruby (especially on Rails). So far I've found
nothing "new" (to me) in Ruby, with the exception of the lisp-like
features and that's something I'd really like to explore.
Unfortunately, unless I've overlooked it, neither the pick-axe book
nor "the ruby way" seem to cover this. I'm particularly interested
in which common problems these features let me solve in a more
elegant and concise way than using regular structured/oo approaches.

Anyone able to point me to a resource please?

Edward
 
J

James Britt

Edward said:
Hi All

I've been programming for more years than I care to remember and am
enjoying programming in Ruby (especially on Rails). So far I've found
nothing "new" (to me) in Ruby, with the exception of the lisp-like
features and that's something I'd really like to explore.

Could you explain what you mean by "lisp-like features"?

Also, you may want to search the list archives for "lisp", as there have
been a number of threads related to it.
 
E

Edward Kenworthy

Thanks for all that David :)

D=C5=88a Nede=C4=BEa 12 Febru=C3=A1r 2006 18:38 Edward Kenworthy = nap=C3=ADsal:

Well, Ruby is a strongly derivative language, there's not THAT much =20=
 
J

James Edward Gray II

Anyone able to point me to a resource please?

I'm currently reading Higher-Order Perl by Mark Jason Dominus, which
is really just a functional programming techniques handbook for
Perl. I'm writing about what I'm finding along the way, and
translating much of the code. It probably makes a lot more sense if
you read the book first, but here are the links, in case they help:

http://blog.grayproductions.net/articles/2006/01/17/recursion-and-
callbacks
http://blog.grayproductions.net/articles/2006/01/17/dispatch-tables
http://blog.grayproductions.net/articles/2006/01/20/caching-and-
memoization
http://blog.grayproductions.net/articles/2006/01/31/iterators-
chapters-4-and-5

I'll have the infinite streams article up soon...

James Edward Gray II
 
Y

Yukihiro Matsumoto

Hi,

In message "Re: Ruby's lisp features."

|I've been programming for more years than I care to remember and am
|enjoying programming in Ruby (especially on Rails). So far I've found
|nothing "new" (to me) in Ruby, with the exception of the lisp-like
|features and that's something I'd really like to explore.

|Anyone able to point me to a resource please?

Ruby is a language designed in the following steps:

* take a simple lisp language (like one prior to CL).
* remove macros, s-expression.
* add simple object system (much simpler than CLOS).
* add blocks, inspired by higher order functions.
* add methods found in Smalltalk.
* add functionality found in Perl (in OO way).

So, Ruby was a Lisp originally, in theory.
Let's call it MatzLisp from now on. ;-)

matz.
 
D

David Vallner

D=C5=88a Pondelok 13 Febru=C3=A1r 2006 05:43 Yukihiro Matsumoto nap=C3=ADsa=
l:
Ruby is a language designed in the following steps:

* take a simple lisp language (like one prior to CL).
* remove macros, s-expression.
* add simple object system (much simpler than CLOS).
* add blocks, inspired by higher order functions.
* add methods found in Smalltalk.
* add functionality found in Perl (in OO way).

You forgot adding onions to taste.
So, Ruby was a Lisp originally, in theory.
Let's call it MatzLisp from now on. ;-)

I always thought of it as a Smalltalk / Perl crossbreed. Might be because S=
T=20
ripped off the same features of lisp as Ruby does...

MatzLisp... MatzLisp... MatzLisp...
Cor, let's stay with "Ruby", I don't have enough paper tissues to wipe spit=
=20
off people if I had to pronounce that ;)

David Vallner
 
J

Jim Weirich

James said:
In the interim, any chance of the Rake wiki being restored from spam
hell?

http://rake.rubyforge.org/wiki/wiki.pl

(I've never bothered using the wiki for any of my RubyForge projects, so
I don't know if fighting spam there is a lost cause.

The wiki is a lost cause. It was way to much work to keep it despammed.
I disabled it from the rubyforge interface, but apparently the wiki is
still running if you got there directly with the URL.

All the information that used to be on the wiki is available (in one
form or another) at http://docs.rubyrake.org/.

I will update the main wiki page to point people to the new docs, but
chances are that spammers will just overwrite it.
 
J

Jim Weirich

James said:
Ah. Sad.



Can you lock it with chmod?

Lacking shell access on rubyforge makes this difficult to do stuff like
that. However, I see Tom has seen this thread. Perhaps he will be
gently nudged to do something :)
Oh, and why I went to the wiki in the first place:

How can I call one Rake task from inside another task?

Just for you, I started a FAQ section in the User Guide. See
http://docs.rubyrake.org/read/chapter/10#page38.

Does that answer your question?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,202
Messages
2,571,057
Members
47,663
Latest member
josh5959

Latest Threads

Top