from Hacker News

A Quine in Fortran 90

by orph4nus on 12/6/15, 9:05 PM with 12 comments

  • by emson on 12/10/15, 3:56 PM

    Great, every language needs a Quine. Here's one we created in Elixir: http://elixirgolf.com/articles/elixir-quine-self-replicating...
  • by randlet on 12/7/15, 2:05 PM

    Enjoyed the article. It made me pine for the days when I had time to dedicate a day to just play with code.
  • by verandaguy on 12/7/15, 3:23 PM

    I may be missing something, but isn't a quine trivial when you use a language that allows for file I/O (which I believe Fortran does have)? Or is the point of the "challenge" to avoid using file I/O?
  • by ISISIS on 12/7/15, 5:21 PM

    print "(2a, 2('2459093414108622880,2821560280312525352,3180149544576887847,1684956475', a))",2459093414108622880,2821560280312525352,3180149544576887847,1684956475;end
  • by mkj on 12/7/15, 1:41 PM

    I suppose string handling isn't Fortran's strong point!