Everything else is just a lot of lies. They pretend it's not strongly
typed, but in the real world you will only encounter a lot of issue if
you believe that.
... there are a lot of libraries helping developers.
On 13 Dec 2025 11:55:35 GMT, Stéphane CARPENTIER wrote:
Everything else is just a lot of lies. They pretend it's not strongly
typed, but in the real world you will only encounter a lot of issue if
you believe that.
Think about why both JavaScript and PHP need a “===” operator, while Python does not.
It’s because Python is strongly typed.
... there are a lot of libraries helping developers.
Other languages have done that before. Why do you think Python has been
able to leapfrog every prior language in this regard? Perl had a lot of libraries to its name (still does), and yet that no longer seems to be a good enough reason to continue using Perl, simply because Python now does
it better.
It’s because Python has such a strong core language on which to build extensions. The libraries tend to make heavy use of this.
Lawrence D’Oliveiro <ldo@nz.invalid> wrote at 02:05 this Sunday (GMT):
Think about why both JavaScript and PHP need a “===” operator, while
Python does not.
It’s because Python is strongly typed.
I thought it was because JS was too liberal with type-casting to make
things true, and the JS devs didn't want to break compatibility.
On Fri, 19 Dec 2025 13:30:03 -0000 (UTC), candycanearter07 wrote:
Lawrence D’Oliveiro <ldo@nz.invalid> wrote at 02:05 this Sunday (GMT):
Think about why both JavaScript and PHP need a “===” operator, while >>> Python does not.
It’s because Python is strongly typed.
I thought it was because JS was too liberal with type-casting to make
things true, and the JS devs didn't want to break compatibility.
Is there some other interpretation of “strongly typed”?
Lawrence D’Oliveiro <ldo@nz.invalid> wrote at 02:05 this Sunday (GMT):
On 13 Dec 2025 11:55:35 GMT, Stéphane CARPENTIER wrote:
Everything else is just a lot of lies. They pretend it's not
strongly typed, but in the real world you will only encounter a lot
of issue if you believe that.
Think about why both JavaScript and PHP need a “===” operator, while
Python does not.
It’s because Python is strongly typed.
I thought it was because JS was too liberal with type-casting to make
things true, and the JS devs didn't want to break compatibility.
candycanearter07 <candycanearter07@candycanearter07.nomail.afraid>Well, I kind of liked PICK system ... everything was
writes:
Lawrence D’Oliveiro <ldo@nz.invalid> wrote at 02:05 this Sunday (GMT):
On 13 Dec 2025 11:55:35 GMT, Stéphane CARPENTIER wrote:
Everything else is just a lot of lies. They pretend it's not
strongly typed, but in the real world you will only encounter a lot
of issue if you believe that.
Think about why both JavaScript and PHP need a “===” operator, while >>> Python does not.
It’s because Python is strongly typed.
I thought it was because JS was too liberal with type-casting to make
things true, and the JS devs didn't want to break compatibility.
“No implicit type conversion” is one of the definitions of strong
typing, at least back to the 1970s[1]. And JavaScript is certainly
weakly typed in that sense:
> 'a' + 1
'a1'
> 1/false
Infinity
What dividing by a boolean could possibly mean is a mystery, but
JavaScript will do it anyway.
Python fits this definition of strong typing up to a point:
Another property suggested in [1] for ‘strong typing’ is that
functions can only be called with with arguments matching a declared
type. In Python, function arguments do not have declared types[2]
and does not even infer them; anything goes. You will only hit an
exception if you try to use the arguments in the wrong way.
Well, I kind of liked PICK system ... everything was equal, always
represented as a string. Numbers, chars, whatever - instantly/easily
converted between each other.
NO 'types'.
I would say that although Python does have some aspects of strong
typing, it is mostly weakly typed.
| Sysop: | DaiTengu |
|---|---|
| Location: | Appleton, WI |
| Users: | 1,090 |
| Nodes: | 10 (1 / 9) |
| Uptime: | 59:51:55 |
| Calls: | 13,948 |
| Calls today: | 1 |
| Files: | 187,035 |
| D/L today: |
2,695 files (773M bytes) |
| Messages: | 2,461,298 |