On 2023年04月13日 08:25:51 -0700, Grant Edwards wrote: > On 2023年04月13日, Cameron Simpson <cs at cskk.id.au> wrote: > > 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. >> So does PHP. Not in this case. Like Perl (Not PERL) it has different operators for concatenation and addition. So $a + $b is always addition, never concatenation. Well, at least numbers and strings. For arrays its a (somewhat bizarre) union. hp -- _ | Peter J. Holzer | Story must make more sense than reality. |_|_) | | | | | hjp at hjp.at | -- Charles Stross, "Creative writing __/ | http://www.hjp.at/ | challenge!" -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: <https://mail.python.org/pipermail/python-list/attachments/20230414/48632030/attachment.sig>