[Prev][Next][Index][Thread]

Re: Newbie surveying the multitudes of Programming Langs...




>
>> In looking at Dylan, I see a lot of cool possibilities, but it does do
>> a few things Very differently.  ie. the way that different variables
>> referencing equal values will change each other's values when changed.
>
>If by "equal" you mean just similar objects/values then that isn't true.
>
>However, if by "equal" you mean the same object/value then that is true in
>other programming languages as well.
>
>Perhaps you could elaborate since I'm not sure I understand.
>

whoops!   actually that was a mixup!   That weird thing was a feature
of the Oz language ( a concurrant something or other language)..
Instead of assignin a value to a variable it binds a variable to a
value.  Say if you have a car class, and it has an odemeter property.
Make a car called car1 and have it's odometer = 10000.  Make Car2 =
car1.  change Car2's odemeter to equal 0 and you'll find that car1's
odometer is now 0 as well.  It just strikes my newbie brain as goofy.






Follow-Ups: References: