[#16113] Strange idea... exporting from a scope — "Hal E. Fulton" <hal9000@...>

Hello...

33 messages 2001/06/01

[#16364] Re: Garbage Collection? — Michael Davis <mdavis@...>

Windows 2000 and linux (RedHat 6.2). I have run these tests on both OSs.

12 messages 2001/06/09

[#16400] Symbolic Computation III — Mathieu Bouchard <matju@...>

14 messages 2001/06/11

[#16502] Playing with Ruby Syntax (was: Initial thoughts about Ruby From a Smalltalk Programmer) — jweirich@...

Michael> Hi Everyone, I have to say I'm utterly fascinated by Ruby

9 messages 2001/06/15

[#16661] Problem running irb with Ruby 1.6.4 under FreeBSD 4.0 — Bob Alexander <balexander@...>

I've installed Ruby 1.6.4 on a FreeBSD 4.0 machine, and get the

11 messages 2001/06/20

[#16686] opening db files made by apache dbmmanage — Fritz Heinrichmeyer <fritz.heinrichmeyer@...>

14 messages 2001/06/21

[#16801] rb_define_class() vs Class.new() — Kero van Gelder <kero@...4050.upc-d.chello.nl>

Hi,

18 messages 2001/06/23
[#16802] Re: rb_define_class() vs Class.new() — ts <decoux@...> 2001/06/23

>>>>> "K" == Kero van Gelder <kero@d4050.upc-d.chello.nl> writes:

[#16841] RE: national characters is strings — "Aleksei Guzev" <aleksei.guzev@...>

Next week I'll try to rebuild Ruby with Unicode strings. But it would be

15 messages 2001/06/25
[#16842] Re: national characters is strings — matz@... (Yukihiro Matsumoto) 2001/06/25

Hi,

[#16843] Re: national characters is strings — "Aleksei Guzev" <aleksei.guzev@...> 2001/06/25

That's good enough. But I'm afraid this could ( not would ) cause string

[#16868] Something strange with Ruby's inheritance mechanism — Eric Jacoboni <jaco@...>

As Ruby beginner, i try some "canonical" OO scripts. Doing so, I've

14 messages 2001/06/25
[#16873] RE: Something strange with Ruby's inheritance mechanism — "Aleksei Guzev" <aleksei.guzev@...> 2001/06/26

[#16879] Re: Something strange with Ruby's inheritance mechanism — Mathieu Bouchard <matju@...> 2001/06/26

On Tue, 26 Jun 2001, Aleksei Guzev wrote:

[#16869] Something strange with Ruby's inheritance mechanism — Eric Jacoboni <jaco@...>

As Ruby beginner, i try some "canonical" OO scripts. Doing so, I've

12 messages 2001/06/25

[#16881] — "Aleksei Guzev" <aleksei.guzev@...>

32 messages 2001/06/26
[#16916] Re: Method overloading (option) Was: Re: — "Wayne Blair" <wayne.blair@...> 2001/06/26

[#16920] Re: Method overloading (option) Was: Re: — matz@... (Yukihiro Matsumoto) 2001/06/26

Hi,

[#16888] finalizers, destructors and whatnot — "David Leal" <david@...>

Hi all,

16 messages 2001/06/26

[#17037] keeping an Exception object alive — David Alan Black <dblack@...>

Hello --

19 messages 2001/06/28
[#17055] Re: keeping an Exception object alive — matz@... (Yukihiro Matsumoto) 2001/06/29

Hi,

[#17066] RCR: Exception methods (was: Re: Re: keeping an Exception object alive) — David Alan Black <dblack@...> 2001/06/29

Hello --

[#17076] Re: RCR: Exception methods (was: Re: Re: keeping an Exception object alive) — matz@... (Yukihiro Matsumoto) 2001/06/29

Hi,

[#17079] Re: RCR: Exception methods (was: Re: Re: keeping an Exception object alive) — David Alan Black <dblack@...> 2001/06/29

Hello --

[#17138] Re: RCR: Exception methods (was: Re: Re: keeping an Exception object alive) — matz@... (Yukihiro Matsumoto) 2001/07/02

Hi,

[#17141] Re: RCR: Exception methods (was: Re: Re: keeping an Exception object alive) — David Alan Black <dblack@...> 2001/07/02

Hello --

[#17142] Re: RCR: Exception methods (was: Re: Re: keeping an Exception object alive) — ts <decoux@...> 2001/07/02

>>>>> "D" == David Alan Black <dblack@candle.superlink.net> writes:

[ruby-talk:16107] RCR: coexistent ruby versions installed by default

From: "Guy N. Hurst" <gnhurst@...>
Date: 2001-06-01 01:58:15 UTC
List: ruby-talk #16107
"Hal E. Fulton" wrote:
> ...
> > |If we're not going to have both, I'd vote for: Change the meaning of the
> > ||...| notation, fix all the old code that it breaks, and move on.
> >
> > This is a price for a mistake I made.  I feel really sorry that YOU
> > have to pay the price.
> 
> Speaking only for myself... this guilt is surely misplaced.
> 
> You gave us a great language. OK, it has a quirk or two.

As for me, I accept the apology. I did spend considerable time
trying to figure out this particular quirk. Time isn't free.

On the other hand, I agree to allow old code to break...

... 
> There comes a point when "backward" compatibility... is exactly that.
> 
> The syntactic beauty of Ruby is assured the same way the semantic
> beauty is... by looking ahead, not back.
> 

I agree with you on this.  If something has been determined as
a mistake, I would rather it be fixed and require all past code
to continue to use the older version of ruby until they can be updated.

** Don't we already make this decision everytime we upgrade Ruby? **

When we upgrade from say 1.6.2 to 1.6.3, our code is already subject
to incompatibilities. That's right, 'patch level' changes are not even 
fully backwards-compatible, which is why I maintain separate versions 
of ruby 1.4.0, 1.4.1, ... 1.6.3.  And each script I make is made to run 
with a particular patch level (usually the most recent one).

#!/usr/local/bin/ruby163

I don't have time to go back and change all scripts when I upgrade
from 1.6.x to 1.6.(x+1), and I can't really afford to upgrade the
default way and watch random scripts stop working right.

Just consider the blade ruby-talk system, which already uses
multiple versions of ruby. Wonder why it hasn't been distributed yet?

This is also an issue with other languages, such as perl, python, or php.

RCR?
----
I think it would do everyone a favor to change the default installation
of Ruby to allow concurrent multiple versions of Ruby to exist.
That means, instead of Ruby automatically installing 1.6.3 over 1.6.2,
to install it separately such that they coexist.  This would also facilitate
a versioning system to work with Ruby.  Sure, you can do this now by
manually installing it to a particular destination, but why not make
it do that by default?  Less surprises for those with scripts that
happen to be using one of the non-backward-compatible changes that
occur between 'patch-level' versions (aka TEENY). Not everyone can do 
their own installs, either. And if you wrote an old script that didn't
check the ruby version, you easily fix it by changing the shebang on top.


I think this will help pin down a way to handle versioning in scripts,
both of which are a prerequisite to building a decent CPAN- or debian-like 
system for creating/managing RAA.succ. 


Guy N. Hurst

-- 
HurstLinks Web Development    http://www.hurstlinks.com/
Norfolk, VA  23510            (757)623-9688 FAX 623-0433
PHP/MySQL - Ruby/Perl - HTML/Javascript

In This Thread