Weak Type Ability for Python

gene heskett gheskett at shentel.net
Thu Apr 13 19:15:17 EDT 2023


On 4/13/23 13:34, Dennis Lee Bieber wrote:
> On Thu, 13 Apr 2023 12:21:58 +1000, Cameron Simpson <cs at cskk.id.au>
> declaimed the following:
> 
>> On 12Apr2023 22:12, avi.e.gross at gmail.com <avi.e.gross at gmail.com> wrote:
>>> I suspect the OP is thinking of languages like PERL or JAVA which guess
>>> for
>>> you and make such conversions when it seems to make sense.
>>
>> JavaScript guesses. What a nightmare. Java acts like Python and will
>> forbid it on type grounds (at compile time with Java, being staticly
>> typed).
>>
> 
> 	REXX -- where everything is considered a string until it needs to be
> something else.
> 
> REXX-ooRexx_5.0.0(MT)_64-bit 6.05 23 Dec 2022
>    rexxtry.rex lets you interactively try REXX statements.
>      Each string is executed when you hit Enter.
>      Enter 'call tell' for a description of the features.
>    Go on - try a few...            Enter 'exit' to end.

You missed the best REXX, Dennis.

ARexx for the amiga's. Bill Hawes wrote in a link to everything amigados 
had and we wrote, in ARexx, stuff that Amigados didn't have starting 
with a cron, a better cron than Paul Vixies. Worst, Bill never got a 
dime from commode-door for the best language it had,  We served our WDTV 
web page with it in the middle 90's. Using ARexx and early php. Now its 
farmed out and 99% commercial junk.

> x = 1;
>    ........................................... rexxtry.rex on WindowsNT
> y = "a";
>    ........................................... rexxtry.rex on WindowsNT
> say x||y;
> 1a
>    ........................................... rexxtry.rex on WindowsNT

Cheers, Gene Heskett.
-- 
"There are four boxes to be used in defense of liberty:
  soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
  - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>



More information about the Python-list mailing list