Talk:Josephus problem: Difference between revisions

From Rosetta Code
Content added Content deleted
(→‎failings of languages not working with other languages: where REXX programs should be shown)
Line 25: Line 25:


:::::;The Rexx programs that carry my name should work on all REXXes ( I cannot test them on others since I don't have any other - I had TSO Rexx till 12/2012)
:::::;The Rexx programs that carry my name should work on all REXXes ( I cannot test them on others since I don't have any other - I had TSO Rexx till 12/2012)
Many of GS's REXX programs won't work on ooRexx because they use the things I mentioned: $ etc. as variable names and x= instead of x='' for assignment of the null string. When I try one of these programs I make the necessary little changes (c/$/d/* * and add the '') and I am off (and learn a lot from them)
Many of GS's REXX programs won't work on ooRexx because they use the things I mentioned: $ etc. as variable names and x= instead of x="" for assignment of the null string. When I try one of these programs I make the necessary little changes (c/$/d/* * and add the '') and I am off (and learn a lot from them)
I dare not alter these programs though on rosetta (In one instance Gerard did it). And as already said: I see the proper place for my Rexx programs that don't use oo under REXX and those that do under ooRexx. By the way, I suggest that you look a little into Rexx, if I may. It's one of the best languages! --[[User:Walterpachl|Walterpachl]] ([[User talk:Walterpachl|talk]]) 15:07, 9 May 2013 (UTC)
I dare not alter these programs though on rosetta (In one instance Gerard did it). And as already said: I see the proper place for my Rexx programs that don't use oo under REXX and those that do under ooRexx. By the way, I suggest that you look a little into Rexx, if I may. It's one of the best languages! --[[User:Walterpachl|Walterpachl]] ([[User talk:Walterpachl|talk]]) 15:07, 9 May 2013 (UTC)

Revision as of 15:09, 9 May 2013

Perl 6 Why do you start with prisoner 2 ??? Walterpachl 09:28, 15 November 2012 (UTC)

Isn't prisoner 2 the third prisoner, 0 being the first, and 1 being the second? --Grondilu 10:28, 15 November 2012 (UTC)
Thanks. I was misled by Scala (which should then be corrected Walterpachl 11:41, 15 November 2012 (UTC)

failings of languages not working with other languages

I don't feel that the criticism of REXX version 2 (mentioned in REXX version 1) not working for ooRexx serves any constructive purpose.   Rexx version 2 was written for Classic REXX (and indeed, was entered for REXX, not ooRexx);   ooRexx is a different language with different syntactic rules.   If this is agreeable, then there will be no need to criticize ooRexx programs that don't work with Classic REXXes,   C programs that don't work with C++,   BASIC programs that don't work with Run BASIC, etc.   Pointing out that a language won't work for another language has no useful purpose here, that's why there are different language entries (even among the same "language"),   using the least common denominator of statements may not reflect the richness or extensions of a language, those differences were created/implemented for some useful purpose.   There is no need to state that one program language won't work with a different program language, that observation should be obvious. -- Gerard Schildberger (talk) 05:29, 9 May 2013 (UTC)

For some reason category oorexx diverts to category REXX as if someone else has taken the decision to treat them alike. One moment... ...this was done here. Maybe you could leave a note for a chat with ShinTakezou? --Paddy3118 (talk) 06:06, 9 May 2013 (UTC)
To me and many others ooRexx *IS* not only a Rexx++ as you may call it but also a valid (classic) Rexx interpreter. Minor syntactic "glitches" as I would call them have been removed from the language definition by the ANSII REXX Committee. I tried to document all the little differences somewhere.

See the extensive discussion at http://rosettacode.org/wiki/Rosetta_Code:Village_Pump/Dialects#REXX.2C_ooRexx.2C_and_others

I shall remove the "criticism right now. My words were meant to help other users. Yet I DO insist that Rexx programs that don't use the ++, i.e., the oo features, do have their proper place in the REXX category and only those that do (use them) should and do appear under ooRexx. --Walterpachl (talk) 07:42, 9 May 2013 (UTC)

Is there anyone else interested in this particular language topic and could they voice their

opinion(s)? Thanks. --Walterpachl (talk) 07:59, 9 May 2013 (UTC)

I don't know REXX and its versions, but it seems that if this has been debated before and their is no resolution as yet then may I suggest that REXX ooREXX and netREXX etc be treated as separate languages the way the BASICs are? With separate Category: pages that might want to add that the other versions should be checked for compatability notices. If someone knows for example, that an ooREXX solution works for REXX then maybe they could add that as a note in the ooREXX solution. The idea being to have the REXXs have solutions where it would become common for people to add notes on what happened when they tried it on another version of REXX.
If it is possible to modify one version to work on multiple versions - and you check that it does; then this should be noted too.
Just a thought. --Paddy3118 (talk) 14:11, 9 May 2013 (UTC)
The Rexx programs that carry my name should work on all REXXes ( I cannot test them on others since I don't have any other - I had TSO Rexx till 12/2012)

Many of GS's REXX programs won't work on ooRexx because they use the things I mentioned: $ etc. as variable names and x= instead of x="" for assignment of the null string. When I try one of these programs I make the necessary little changes (c/$/d/* * and add the ) and I am off (and learn a lot from them) I dare not alter these programs though on rosetta (In one instance Gerard did it). And as already said: I see the proper place for my Rexx programs that don't use oo under REXX and those that do under ooRexx. By the way, I suggest that you look a little into Rexx, if I may. It's one of the best languages! --Walterpachl (talk) 15:07, 9 May 2013 (UTC)