Re: Slick or Slack
- From: e p chandler <epc8@xxxxxxxx>
- Date: Wed, 28 May 2008 23:13:00 -0700 (PDT)
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
.
- Follow-Ups:
- Re: Slick or Slack
- From: Bil
- Re: Slick or Slack
- References:
- Slick or Slack
- From: Bil Kleb
- Re: Slick or Slack
- From: Damian
- Slick or Slack
- Prev by Date: Re: problem with very small numbers - g95 versus gfortran
- Next by Date: Re: problem with very small numbers - g95 versus gfortran
- Previous by thread: Re: Slick or Slack
- Next by thread: Re: Slick or Slack
- Index(es):
Relevant Pages
|
|