home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.fortran      Putting John Backus on a giant pedestal      5,127 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 4,844 of 5,127   
   baf to Lynn McGuire   
   Re: I am getting a strange error when co   
   12 Nov 24 14:01:21   
   
   From: baf@nowhere.com   
      
   On 11/12/2024 12:43 PM, Lynn McGuire wrote:   
   >>>>>   
   >>>> If all of your general purpose subroutines and functions are in   
   >>>> modules, you don't need interfaces for them (one of the advantages   
   >>>> of modules).   
   >>>   
   >>> I have 6,000 subroutines in 5,000 files.  All I did was put   
   >>> interfaces for about 2,600 of the subroutines into a single module.   
   >>>   
   >>> Lynn   
   >>>   
   >> A better alternative would be to put the subroutines in the module and   
   >> USE the module. Then you don't need the interfaces (the compiler gets   
   >> all of the interface information "automagically").   
   >   
   > 850,000 lines of code in a single file ?  That would be a mess.   
   >   
   > Lynn   
   >   
   I wasn't suggesting a single module. Partition the subprograms into   
   meaningful subgroups. Also, as was indicated, you can use submodules to   
   avoid cascading compilation issues with a large number of modules.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca