CodeArchaeology
  • Home
  • Languages
  • Encyclopedia
  • Blog
  • Getting Docker
  • About

Cobol

Hello World in COBOL

December 24, 2025 cobolhello-worldbeginnergetting-started

Every programming journey starts with Hello World. Let’s write our first COBOL program using modern free-format syntax with GnuCOBOL.

The Code

Create a file named hello.cob:

1
2
3
4
5
6 …

Read more →

Why 0.1 + 0.2 ≠ 0.3: How Programming Languages Handle Numbers Differently

January 26, 2026 programming-languagesnumeric-precisionfloating-pointcoboljavascriptpython

Open your browser’s developer console right now and type 0.1 + 0.2. Go ahead, I’ll wait.

You expected 0.3, didn’t you? Instead, you got:

0.30000000000000004

This isn’t a …

Read more →

The Oldest Programming Languages Still in Production Use

January 19, 2026 programming-languageshistorylegacy-systemscobolfortranlisp

Somewhere right now, a FORTRAN program written in the 1970s is predicting tomorrow’s weather. A COBOL system is processing your credit card transaction. A Lisp-based AI is helping plan a …

Read more →

CodeArchaeology

Exploring programming languages from the popular to the obscure - proving they all still run on modern machines

Quick Links

  • Home
  • Languages
  • Encyclopedia
  • Blog
  • Getting Docker
  • About

Recent Languages

  • AWK
  • SNOBOL
  • Raku
  • Dylan
  • Perl

© 2026 CodeArchaeology. All rights reserved.

Built with Hugo | Examples on GitHub