News for hackers. Stuff that matters.
Re:Go 2 Draft Designs by foldr on Tuesday August 28, 2018 @05:41PM (#17863155)
Fortran does ok without generics.
Re:Go 2 Draft Designs by simias on Wednesday August 29, 2018 @03:44AM (#17866449)
So 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.
Re:Go 2 Draft Designs by yiyus on Wednesday August 29, 2018 @09:33AM (#17868068)
I 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.

Re:Go 2 Draft Designs by foldr on Wednesday August 29, 2018 @06:12AM (#17867074)
Sure, 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.
Re:Go 2 Draft Designs by pjmlp on Tuesday August 28, 2018 @05:44PM (#17863180)
Re:Go 2 Draft Designs by foldr on Tuesday August 28, 2018 @06:08PM (#17863376)
>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 :)

Re:Go 2 Draft Designs by pjmlp on Wednesday August 29, 2018 @03:14AM (#17866322)
Fortran got simplified generics in 2003, I pasted the wrong link by mistake.

https://cug.org/5-publications/proceedings_attendee_lists/20...

https://software.intel.com/en-us/node/692037

Re:Go 2 Draft Designs by foldr on Wednesday August 29, 2018 @06:11AM (#17867069)
Fair enough, I didn't know about that feature. However, people were using Fortran successfully for writing huge numeric libraries waaaaayyy before that.
Re:Go 2 Draft Designs by pjmlp on Wednesday August 29, 2018 @06:45AM (#17867190)
I was successfully using Z80, 68000 and 80x86 Assembly 30+ years ago as well.