(j3.2006) Why is the Passed-Object Argument Explicit?

Tom Clune Thomas.L.Clune
Tue Feb 4 15:11:21 EST 2014


Fortunately the python community can at least share our pain on this one.   

But I do frequently (figuratively) weep over elegant code that is uglified with a "this%" on each line.   


On Feb 4, 2014, at 3:04 PM, Bill Long <longb at cray.com> wrote:

> 
> On Feb 4, 2014, at 1:49 PM, Craig Dedo <craig at ctdedo.com> wrote:
> 
>> Everyone:
>>            Yesterday, on the Intel Visual Fortran (IVF) Developers Forum, Jim Dempsey asked this question:
>> [Quote]
>> Do you know why the Fortran standards committee did not choose to make the ?this? arg implicit?  (like most other OO languages)
>> [End of quote]
> 
> Would that cause ?this? to be a reserved variable name?  That would seem very un-Fortran.
> 
> Cheers,
> Bill
> 
>> 
>>            Although I was present during the development of the OOP features, my memory is hazy as to why the passed-object argument is explicit rather than implicit.  Could one or more persons refresh my memory?  Malcolm, you headed up the OOP effort, could you please contribute your insight?
>> 
>> Sincerely,
>> Craig T. Dedo
>> 17130 W. Burleigh Place
>> P. O. Box 423                         Mobile Phone:  (414) 412-5869
>> Brookfield, WI   53008-0423    E-mail:  <craig at ctdedo.com>
>> USA
>> Linked-In:  http://www.linkedin.com/in/craigdedo
>> 
>> _______________________________________________
>> J3 mailing list
>> J3 at mailman.j3-fortran.org
>> http://mailman.j3-fortran.org/mailman/listinfo/j3
> 
> Bill Long                                                                       longb at cray.com
> Fortran Technical Suport  &                                  voice:  651-605-9024
> Bioinformatics Software Development                     fax:  651-605-9142
> Cray Inc./ Cray Plaza, Suite 210/ 380 Jackson St./ St. Paul, MN 55101
> 
> 
> _______________________________________________
> J3 mailing list
> J3 at mailman.j3-fortran.org
> http://mailman.j3-fortran.org/mailman/listinfo/j3

Thomas Clune, Ph. D. 					<Thomas.L.Clune at nasa.gov>
Chief, Software Systems Support Office		Code 610.3
NASA GSFC								301-286-4635
MS 610.8 B33-C128						<http://ssso.gsfc.nasa.gov>
Greenbelt, MD 20771





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.j3-fortran.org/pipermail/j3/attachments/20140204/408320cc/attachment-0001.html 



More information about the J3 mailing list