Block vars (some theory)

Hello Bill,

Wednesday, October 09, 2002, 4:31:37 PM, you wrote:

got its popularity?) So can anyone say about Pascal’s influence on
Ruby? Maybe yes, not at all, or a little bit?

algol → pascal and algol-68 → modula-2 → eiffel → ruby. it’s a path of
syntax-in-large of ruby. so you just know exact one cell of this chain
:slight_smile: and syntax-in-small of ruby (operators) are derived most from
C->Perl chain

on the other side, most languages in the world called pascal-like
(or algol-like), because these two languages set up very good
syntax, which don’t need to be improved

and such things as “()” equal to “begin…end” and “all operators
are expressions” is “sign of devil” of algol-68, so i think that
matz knows this language

In addition, with “:=” as a new operator, is there any case where it
will be confused with “the symbol of ‘=’”? (Does it look like that in
Ruby, the punctuations begin to have too many different, unrelated
meanings, just as the “static” keyword in C++?)

yes, i see two problems - it’s too small and this is reusing convenient
symbol for absolutely new purpose

···


Best regards,
Bulat mailto:bulatz@integ.ru

“Mauricio Fernández” batsman.geo@yahoo.com wrote in message
news:20021008163621.GE10843@student.ei.uni-stuttgart.de

This might sound wildly un-scientific, but I very much prefer matz’s
cautious approach, where features are added carefully and bad style
(such as the example you give) is discouraged by the language, to keeping
adding
feature after feature to Ruby until it becomes "interpreted Smalltalk +
Perl

  • CLU + Algol + Lisp + C++ + ??"

This is very true - but I also think it is reasonable to discuss new
features.

Yeah, I enjoy this sort of discussions as much as anybody… But I have
had the feeling for some time that I can trust matz to come up with a
beautiful language, for he knows more than me on this subject. I realized
that he’s not only creating a language, but a “programming style”. He’s
performed great so far, and I don’t see why he would not in the future. I
feel Ruby as a language is really outstanding (maybe cause I haven’t
be exposed to many, 15 perhaps, and have only touched LISP dialects like
Scheme a little), but it’s a shame its implementation isn’t the absolute
#1, like I’d like it to be.

So I think I’ll spend more time thinking about how to enhance the
implementation, where I think I might be more helpful, than forcing matz
to waste his time explaining me things I should have studied more
about on my own. His time is more valuable than mine, so I had better
leave him keep doing his great work.

I’ll limit my postings on extensions to Ruby, because most of them have
already been deeply considered previously. I am a newcomer and I will
RTFM. I’ll correct people only when I’m quite sure I’m not talking
nonsense.

Having said that, the post above was more a rant on Bulat(?)'s
“aggresive” approach. Things like the email where he told that this mail
list was a place for us all to ask about computer languages
and him, matz and Guy to answer to us, which is both

  • putting himself on matz’s (who has shown us the kind of things he’s
    capable of) and Guy (who is AFAIK very intimate with Ruby and its
    implementation, somebody about whom matz said that he’d like to be as
    clever as him)
  • stating that the ideas of everybody else aren’t worth his, and that
    he has nothing to learn from the discussion.

And the “Ruby for Real Programmers” name: I found it quite offensive in
its context.

I don’t know his background. He surely does know a lot more than me on
computer languages. That’s OK, that’s not my business anyway, and I’m
still studying. But I found the “combination” of his emails
disrespectful.

Good design is about considering a lot of different options. Most are
discarded but all contribute to illuminate the problem at hand. Often a more
general solution can be found this way.

I think it is not helpful to discourage suggestions to new Ruby features -
especially because we know they are not going to be implemented lightly.

That said, suggestions could be presented in one or a few mails. They need
not take up 90% of the bandwidth.

I agree with you, as I said before, this was more a reaction to Bulat’s
lack of “style” (IMHO). I enjoy this kind of discussions, a lot. But I
don’t want to make others waste their times, so I’ll RTFM.

···

On Wed, Oct 09, 2002 at 08:10:46AM +0900, MikkelFJ wrote:


_ _

__ __ | | ___ _ __ ___ __ _ _ __
'_ \ / | __/ __| '_ _ \ / ` | ’ \
) | (| | |
__ \ | | | | | (| | | | |
.__/ _,
|_|/| || ||_,|| |_|
Running Debian GNU/Linux Sid (unstable)
batsman dot geo at yahoo dot com

No, that’s wrong too. Now there’s a race condition between the rm and
the mv. Hmm, I need more coffee.
– Guy Maor on Debian Bug#25228

well, i must use more scientific language:

it's a joke ?

proposition of having several nested execution contents at the same
time :slight_smile: like the non-perlish "with" operator. now better? :slight_smile:

read the archive : http://www.ruby-talk.org/

Guy Decoux

Hi,

···

In message “Re: Any Pascal’s Influence on Ruby?” on 02/10/09, “Bulat Ziganshin” bulatz@integ.ru writes:

and such things as “()” equal to “begin…end” and “all operators
are expressions” is “sign of devil” of algol-68, so i think that
matz knows this language

I know little about Algol 68. I was a baby back then. I learned
these “signs of devil” from Lisp.

						matz.

Hi,

Thank you for your attitude. I like trolling about language features
a lot. But it also is time consuming.

···

In message “Re: block vars (some theory)” on 02/10/10, Mauricio Fernández batsman.geo@yahoo.com writes:

And the “Ruby for Real Programmers” name: I found it quite offensive in
its context.

Ruby is primarily designed for me. And I am not a “real programmer”.
My first “high level” language was Pascal. I don’t program in FORTRAN
nor in assember. So naturally, there can be space for “Ruby twisted
for real programmers”.

						matz.

Hello ts,

Tuesday, October 08, 2002, 4:33:03 PM, you wrote:

well, i must use more scientific language:

it’s a joke ?

no, it is just the same proposition

proposition of having several nested execution contents at the same
time :slight_smile: like the non-perlish “with” operator. now better? :slight_smile:

read the archive : http://www.ruby-talk.org/

in current ruby there is just one execution context and instance_eval
just switches this context. may be we need a syntax for “fast context
switching” (ATTENTION! this is not current ruby and pigeon cannot eat
THIS):

strlist.map{{downcase}}

equal to

strlist.map{|a| a.instance_eval{downcase}}

···


Best regards,
Bulat mailto:bulatz@integ.ru

Hello Yukihiro,

Wednesday, October 09, 2002, 5:21:01 PM, you wrote:

and such things as “()” equal to “begin…end” and “all operators
are expressions” is “sign of devil” of algol-68, so i think that
matz knows this language

I know little about Algol 68. I was a baby back then. I learned
these “signs of devil” from Lisp.

lisp don’t have begin/end, afair. if you reinvented this equivalence
independent from algol-68, it’s a very cool :slight_smile:

···


Best regards,
Bulat mailto:bulatz@integ.ru

Ruby is primarily designed for me. […]

matz.

An irony, really. I bet you never have time to use it, only create it (and,
that most cursed of time-wasters, maintain it)!

Like that quote: “I would rather write a program that writes programs than
write a program.” (Source forgotten.)

Gavin

···

From: “Yukihiro Matsumoto” matz@ruby-lang.org

Hello Yukihiro,

Thursday, October 10, 2002, 5:25:25 AM, you wrote:

And the “Ruby for Real Programmers” name: I found it quite offensive in
its context.

Ruby is primarily designed for me. And I am not a “real programmer”.

well, next time i will make smiles bigger

  *    *
_   !!   _
···

-______-


Best regards,
Bulat mailto:bulatz@integ.ru

Hello Yukihiro,

Thursday, October 10, 2002, 5:25:25 AM, you wrote:

Ruby is primarily designed for me. And I am not a “real programmer”.

yes, i always knows that ruby implementation was inspired by god

···


Best regards,
Bulat mailto:bulatz@integ.ru

Yukihiro Matsumoto wrote:

Ruby is primarily designed for me. And I am not a “real programmer”.
My first “high level” language was Pascal. I don’t program in FORTRAN
nor in assember. So naturally, there can be space for “Ruby twisted
for real programmers”.

  					matz.

Hey, thats really strange. You designed it for me as well!

And I have programmed FORTRAN and assembler and Lisp and Prolog and
COBOL and …

Yukihiro Matsumoto wrote:

Ruby is primarily designed for me. And I am not a “real programmer”.
My first “high level” language was Pascal. I don’t program in FORTRAN
nor in assember. So naturally, there can be space for “Ruby twisted
for real programmers”.

Frank Lloyd Wright designed houses based on his beliefs and tastes.
Forget about the so-called real programmers Matz, stick to designing for
yourself. Don’t even think of changing Ruby on account of other people’s
desires and wants. You have done a fine job by being true to yourself.

Thanks for Ruby,

Randy

Hi,

···

In message “Re: Any Pascal’s Influence on Ruby?” on 02/10/09, “Bulat Ziganshin” bulatz@integ.ru writes:

lisp don’t have begin/end, afair. if you reinvented this equivalence
independent from algol-68, it’s a very cool :slight_smile:

Scheme does have “begin” (no “end” though).

						matz.

I think Matz was referring to “all operators are expressions” aspect.

···


Justin Johnson

“Bulat Ziganshin” bulatz@integ.ru wrote in message
news:17773325833.20021009172543@integ.ru

Hello Yukihiro,

Wednesday, October 09, 2002, 5:21:01 PM, you wrote:

and such things as “()” equal to “begin…end” and “all operators
are expressions” is “sign of devil” of algol-68, so i think that
matz knows this language

I know little about Algol 68. I was a baby back then. I learned
these “signs of devil” from Lisp.

lisp don’t have begin/end, afair. if you reinvented this equivalence
independent from algol-68, it’s a very cool :slight_smile:


Best regards,
Bulat mailto:bulatz@integ.ru

Hello Gavin,

Thursday, October 10, 2002, 5:30:58 AM, you wrote:

Like that quote: “I would rather write a program that writes programs than
write a program.” (Source forgotten.)

camel book, larry wall about perl history

···


Best regards,
Bulat mailto:bulatz@integ.ru

Like that quote: “I would rather write a program that writes
programs than
write a program.” (Source forgotten.)

I’d rather write programs to write programs than write programs. –
Dick Sites

···

=====

Use your computer to help find a cure for cancer: http://members.ud.com/projects/cancer/

Yahoo IM: michael_s_campbell


Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com

Hi –

···

On Fri, 11 Oct 2002, Michael Campbell wrote:

Like that quote: “I would rather write a program that writes
programs than
write a program.” (Source forgotten.)

I’d rather write programs to write programs than write programs. –
Dick Sites

Shades of Gertrude Stein :slight_smile:

David


David Alan Black | Register for RubyConf 2002!
home: dblack@candle.superlink.net | November 1-3
work: blackdav@shu.edu | Seattle, WA, USA
Web: http://pirate.shu.edu/~blackdav | http://www.rubyconf.com