Weak Type Ability for Python

Dennis Lee Bieber wlfraed at ix.netcom.com
Wed Apr 12 22:47:17 EDT 2023


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.
x = 1;
  ........................................... rexxtry.rex on WindowsNT
y = "a";
  ........................................... rexxtry.rex on WindowsNT
say x||y;
1a
  ........................................... rexxtry.rex on WindowsNT


More information about the Python-list mailing list