you are viewing a single comment's thread
view the rest of the comments
[–] 3 points 7 months ago (8 children)

cobol? fortran? c? assembly? so many options

  • source
  • parent
  • hideshow 8 child comments
  • [–] 3 points 7 months ago (3 children)

    C.

    I exaggerate a bit. C99 lets you declare variables anywhere inside the block, not just the top.

    Which still got me into an argument with a coworker who wanted me to declare every variable at the top of the block “in case” we port the code to a compiler that doesn’t support it.

    C99 was 20 years old at that point.

    Newer versions of C have generics “support” but I haven’t seen it in the wild yet.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 2 points 7 months ago (3 children)

    Fortran has a 2018 release. Assembly is tied to the cpu, so I assume it changes every iteration.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 1 point 7 months ago (2 children)

    I just consider it's origin to be ancient...

  • source
  • parent
  • hideshow 2 child comments