3 ms·
Fortran does ok without generics.
by foldr 8y ago
Fortran does ok without generics.
- pjmlp 8y agohttp://www.msg.ucsf.edu/local/programs/IBM_Compilers/Fortran/html/pgs/lr60.htm http://www.msg.ucsf.edu/local/programs/IBM_Compilers/Fortran...
- foldr 8y ago>In Fortran 90, user-defined procedures can be placed in generic interface blocks. This allows the procedures to be referenced using the generic name of the block. I don't know Fortran, but I'm fairly sure that you just googled "fortran generics" and pasted the first result without checking it :)
- pjmlp 8y agoFortran got simplified generics in 2003, I pasted the wrong link by mistake. https://cug.org/5-publications/proceedings_attendee_lists/2005CD/S05_Proceedings/pages/Authors/Long-0517-1100/Long-0517-1100_paper.pdf https://cug.org/5-publications/proceedings_attendee_lists/20... https://software.intel.com/en-us/node/692037 https://software.intel.com/en-us/node/692037
- simias 8y agoSo does C but you don't expect the same things from a language from the 70's. I don't think C or Fortran would be very popular if they were released today.
- foldr 8y agoSure, I'm not denying that generics are useful sometimes. It's just that people sometimes exaggerate how big of a problem it is not to have them.
- yiyus 8y agoI won't argue with that, but I'd just like to say that the newest Fortran versions actually make a quite modern language. Most of its quirks are related with compatibility with older versions. If a new version without that handicap was released today, it may look nicer than most people think.