Re: Slick or Slack



On May 28, 11:55 pm, Damian <dam...@xxxxxxxxxx> wrote:
On May 28, 3:59 pm, Bil Kleb <Bil.Kleb-use...@xxxxxxxx> wrote:

My Fortran snippets posted tohttp://slickorslack.comare
not fairing too well.  Is it Fortran, me, or both?

Regards,
--http://twitter.com/bil_kleb

For the uninitiated, can you give a little background onhttp://slickorslack.com?
The link you sent took me to a list of seemingly unrelated code
snippets: a Haskell program for computing the Fibonacci sequence, a
Ruby program related to encryption, a Fortran program for finding an
available file unit, etc.  What's the common thread and what's the
purpose of this site?

It's not Fortran, but one of my favorite little ditties is this short
program in AWK:

{a[$0]++}END{for(i in a)print a[i],i}

It tabulates the frequency of input data, as would be done by

sort | uniq -c

I use this several times each year to find the most popular zip codes
in my office's mailing list.

If you're trying to win a popularity contest by Fortran against other
languages, you're climbing an extremely steep hill.  There is so much
uninformed bias against Fortran that it's almost impossible to get a
fair hearing unless you know you're talking to a friendly audience.

Damian

IMO, for short and obscure code, there's nothing like APL.

Other than Bill's example posted on the web site, does anyone have a
really "neat" but short program in Fortran?

- e


.



Relevant Pages

  • public comments
    ... Secondly, those programming using Fortran ... in long papers where they were overlooked. ... The draft is 08-007r2.pdf available from the web site. ...
    (comp.lang.fortran)
  • Re: A petition to J3 apropos FORTRANs future
    ... mine nor is it my web site. ... think I would make that claim for Fortran as it stands now, ... though it is my language of choice and I've been using it for almost ... this this petition are from Colorado. ...
    (comp.lang.fortran)
  • Re: Retrieving files with FORTRAN?
    ... >> reads the text file line by line, downloads every data file that exists, ... >> FORTRAN, and if so, how? ... > wget is my favorite program to download from a web site. ... I agree that the use of SYSTEM and wget is the best solution in this ...
    (comp.lang.fortran)
  • Re: Retrieving files with FORTRAN?
    ... John Cody wrote: ... >I need to retrieve a set of data from a web site. ... David Frank has written some Fortran 90 codes using Compaq Visual Fortran ...
    (comp.lang.fortran)
  • Which Compiler to Purchase
    ... I'm new to FORTRAN and looking for a compiler to purchase. ... Intel Visual FORTRAN - hard to tell how good it was from the site, and I didn't have Visual Studio .NET for the demo, though I can probably get it. ... tough to tell from the web site. ...
    (comp.lang.fortran)