Ralf Hemmecke <[EMAIL PROTECTED]> writes:

[...]

| > | The aldor compiler also doesn't let me have two variables with the
| > | same name and different type in the scope. And I would like to
| > | understand why it is allowed for constants but forbidden for
| > | variables. Where is the problem?
| 
| > I cannot speak for the Aldor language.
| 
| I didn't ask you to speak for the Aldor language.

Then why are you talking about what the Aldor compiler let you do or
not, and ask

  # And I would like to understand why it is allowed for constants but
  # forbidden for variables. Where is the problem?

?


| > I can only express *my opinion* for OpenAxiom.
| 
| Then do so.

I believe I've done that.  Please, accept my apologies for not speaking
German.

| Do you see a problem with two variables with the same name and with
| different types in the same scope?

I think I've said my preference, which I will reproduce in case it
was lost in the Atlantic Ocean:

   My view on scoping is that

     b: Integer := 1
     b: Float := 2.3
   
   in the same scope should be an error.

-- Gaby

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
open-axiom-devel mailing list
open-axiom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open-axiom-devel

Reply via email to