Just figured out that, when the spec says “type-bound procedure”, they mean “method”. And when they say “NOPASS”, that’s their way of saying
“static method”.
I prefer a more clear description over the typical cryptic language
design. "type-bound procedure" spells it out clearly. Fortran has
always leaned towards greater clarity, less obfuscation.
On Sun, 25 Feb 2024 08:48:52 -0600, Gary Scott wrote:LOL, if you understand english, it is quite explicit and clear.
I prefer a more clear description over the typical cryptic language
design. "type-bound procedure" spells it out clearly. Fortran has
always leaned towards greater clarity, less obfuscation.
“Type-bound procedure” is not a term used anywhere else, and has to be explained. Other languages adding OO features stick to well-known
terminology like “method”.
On 2/25/2024 2:23 PM, Lawrence D'Oliveiro wrote:
“Type-bound procedure” is not a term used anywhere else, and has to be >> explained. Other languages adding OO features stick to well-known
terminology like “method”.
LOL, if you understand english, it is quite explicit and clear.
On Sun, 25 Feb 2024 17:32:48 -0600, Gary Scott wrote:
On 2/25/2024 2:23 PM, Lawrence D'Oliveiro wrote:
“Type-bound procedure” is not a term used anywhere else, and has to be >>> explained. Other languages adding OO features stick to well-known
terminology like “method”.
LOL, if you understand english, it is quite explicit and clear.
Note also that both “TYPE” and “CLASS” occur in Fortran, with different
meanings, while methods are normally associated with classes. Just to add
to the confusion ...
"type-bound procedure" really tells what it is, much more than "method".
Le 01/03/2024 à 02:51, Lawrence D'Oliveiro a écrit :
On Fri, 1 Mar 2024 00:14:06 +0100, pehache wrote:
"type-bound procedure" really tells what it is, much more than
"method".
It’s a mouthful though, isn’t it. Unlike the concise, and common, term >> used by every other OO language out there.
Fortran is by far not an OO language, it just incorporates *some* OO
features on the top of a procedural language. C++ isn't either, by the
way.
That's the point : very few languages fully follow the OOP paradigm
without mixing it with the more classical procedural approach.
Sysop: | DaiTengu |
---|---|
Location: | Appleton, WI |
Users: | 1,027 |
Nodes: | 10 (1 / 9) |
Uptime: | 29:41:52 |
Calls: | 13,319 |
Calls today: | 2 |
Files: | 186,574 |
D/L today: |
291 files (83,267K bytes) |
Messages: | 3,352,922 |
Posted today: | 1 |