Giter Site home page Giter Site logo

old-programming-idioms's Introduction

I want to write about the typical idioms you find in old-style FORTRAN programs:

  • What do they mean?
  • What are modern equivalents?

This will typically be the common things from FORTRAN 77 onwards, but perhaps also a wee bit about FORTRAN 66 (like one-pass loops?)

These are the keyword/subjects I am thinking about:

  • array(*) versus array(:)
  • array(10) as the starting point
  • COMMON blocks and BLOCK DATA, named and blank COMMON
  • history of computers:
    • hardware
    • memory management
    • tools like source code control systems
    • connections between computers, Internet
  • equivalence
  • constants as actual arguments
  • intent
  • temporary arrays - non-contiguous arrays
  • implicit types
  • double precision versus kind
  • checking interfaces
  • separate compilations, the misunderstanding of one routine per file
  • fixed form and spaces
  • standard input and output
  • LU-numbers 5 and 6 (and 7)
  • command-line arguments for file names
  • real do-variables
  • entry
  • SAVE-attribute and SAVE as compiler property
  • ASSIGN
  • arithmetic IF
  • computed GOTO
  • F66: one-pass do-loops
  • statement functions
  • six characters
  • numerical binary representations versus IEEE (IBM, Cray, Convex)
  • big-endian and little-endian
  • double complex
  • unformatted versus binary files
  • list-directed input and output - also: /
  • narrow formats
  • input formats with decimals - F5.1 and there is no decimal point in the input
  • double precision :: x = 1.01 not the same as double precision :: x = 1.01d0
  • use of d00 in input
  • format statements

old-programming-idioms's People

Contributors

arjenmarkus avatar arjenmarkusdeltaresnl avatar everythingfunctional avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

old-programming-idioms's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.