Hacker ApprovedDepartments

Modula-2

Hacker Approved

Shares rank 74 of 163 programming languages by recommenders

Recommended for its safety over C and Pascal and its design for systems programming, and for teaching core concepts. Most common caveat: little use in finding a job.

Recommended for its safety over C and Pascal and its design for systems programming, and for teaching core concepts. Most common caveat: little use in finding a job.

21 people gave an opinion

recommend it
16
criticize it
5
approval share
76%
Each figure is one person. RecommendsCriticizes

Recommended in 11 of 13 months

  1. November 2025: recommended
  2. December 2025: recommended
  3. January 2026: not recommended
  4. February 2026: recommended
  5. March 2026: recommended
  6. April 2026: recommended
  7. May 2026: recommended
  8. June 2026: recommended
  9. July 2026: recommended
  10. August 2026: recommended
  11. September 2026: recommended
  12. October 2026: recommended
  13. November 2026: not recommended (month in progress)

Why it carries the badge

  • 16 people recommend itNeeds 10 or more, met.
  • 3.2 recommenders for every criticNeeds 2 to 1 or better, met.
  • Recommended in 11 of 13 monthsNeeds 4 or more, met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Designed for systems programming

    “ignoring that Modula-2 came out already in 1978, designed for systems programming and fixing Pascal initial flaws”

    Comment from 27 Sep 2026 in “Modern Object Pascal Introduction for Programmers”

    “Modula-2 was already available, taking care of those pain points, designed for systems programming”

    Comment from 14 Nov 2025 in “Rust in Android: move fast and fix things”

    “being the language Wirth actually designed for systems stuff”

    Comment from 3 Jun 2026 in “QBE – Compiler Back end: Version 1.3”
  • Safer than C and Pascal

    “My criteria is being as safe as Modula-2 and Object Pascal, as bare minimum.”

    Comment from 15 Nov 2025 in “How to write generics in C”

    “Modula-2 / Objective Pascal like safety was great during the last century”

    Comment from 9 May 2026 in “Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc”

    “Heap memory handling in Pascal, Modula-2, Ada, is much safer than C”

    Comment from 6 Feb 2026 in “C Isn't a Language”
  • Fixed Pascal's flaws

    “ignoring that Modula-2 came out already in 1978, designed for systems programming and fixing Pascal initial flaws”

    Comment from 27 Sep 2026 in “Modern Object Pascal Introduction for Programmers”

    “Some of the things you listed (dangling else, variant records, Wirth has fixed in Modula-2 or Oberon)”

    Comment from 13 Mar 2026 in “Dijkstra's Crisis: The End of Algol and Beginning of Software Engineering (2010) [pdf]”

    “Modula-2 was already available, taking care of those pain points, designed for systems programming”

    Comment from 14 Nov 2025 in “Rust in Android: move fast and fix things”
  • Good for learning core concepts

    “It was useful for teaching core concepts, but very limited use in terms of finding a job.”

    Comment from 24 Jul 2026 in “Modula-3 History Collection on Computer History Museum”

    “Everyone seemed to pick up the language just fine.”

    Comment from 8 Feb 2026 in “ga68, the GNU Algol 68 Compiler – FOSDEM 2026 [video]”

    “I learned first on Pascal & Modula-2”

    Comment from 25 Feb 2026 in “PL/0”

Other programming languages people recommend

The four most recommended other programming languages, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

Modula-2 compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
Rust2,03997368%134 yrs118 ownersApproved
Go1,25465166%135.9 yrs63 owners—
Python1,06782157%1218 yrs64 owners—
Zig74344962%121 yr27 owners—
Modula-2This page16576%11—Approved
See all 163 programming languages, ranked

What people said

34 of the 38 comments that mention it, newest first. Each links to the original comment.

“we as industry should have long replaced both of them with something better, since Ada and Modula-2 came to be”

MixedComment from 6 Oct 2026 in “Type Safe Generic Data Structures in C (2025)”

“ignoring that Modula-2 came out already in 1978, designed for systems programming and fixing Pascal initial flaws”

RecommendsComment from 27 Sep 2026 in “Modern Object Pascal Introduction for Programmers”

“using both for a while sure made me a better programmer”

RecommendsComment from 26 Sep 2026 in “Modern Object Pascal Introduction for Programmers”

“what we lost leaving behind languages like Modula-2 and Object Pascal”

RecommendsComment from 19 Sep 2026 in “What Zig felt like, coming from Rust”

“After Pascal Niklaus Wirth designed Modula-2 and then Oberon which is even tidier.”

MixedComment from 12 Aug 2026 in “Delphi 13 Community Edition Is Now Available”

“a total architecture manifestation that Pascal (nor Modula) could ever reach”

CriticizesComment from 6 Aug 2026 in “Why Pascal Is Not My Favorite Programming Language (1981) [pdf]”

“we get people amazed to rediscover Modula-2, Object Pascal compiler execution speed”

RecommendsComment from 28 Jul 2026 in “Zig's Incremental Compilation Internals”

“It was useful for teaching core concepts, but very limited use in terms of finding a job.”

MixedComment from 24 Jul 2026 in “Modula-3 History Collection on Computer History Museum”

“All those limitations were sorted out in 1978 with Modula-2 and open arrays”

RecommendsComment from 21 Jun 2026 in “Linux Eliminates the Strncpy API After Six Years of Work, 360 Patches”

“Modula-2 was born into a time when 8-bit char sets with upper- and lowercase letters were common place”

MixedComment from 14 Jun 2026 in “FreeOberon – Open-Source, Cross-Platform, Free Pascal/Turbo Pascal-Like Language”

“being the language Wirth actually designed for systems stuff”

RecommendsComment from 3 Jun 2026 in “QBE – Compiler Back end: Version 1.3”

“I would faster get back to Modula-2 or Object Pascal.”

RecommendsComment from 31 May 2026 in “Zig ELF Linker Improvements Devlog”

“"Explicit casts only" worked fine in Modula-2”

RecommendsComment from 20 May 2026 in “Everything in C is undefined behavior”

“The Modula I compiler wasn't very space-efficient.”

CriticizesComment from 18 May 2026 in “The foundations of a provably secure operating system (PSOS) (1979) [pdf]”

“Given the restrictions of the day, all three were incredible.”

RecommendsComment from 14 May 2026 in “DBase: 1979-2026”

“Modula-2 / Objective Pascal like safety was great during the last century”

RecommendsComment from 9 May 2026 in “Bun's experimental Rust rewrite hits 99.8% test compatibility on Linux x64 glibc”

“Modula-2 like safety is still better than C will ever be”

RecommendsComment from 15 Apr 2026 in “Zig 0.16.0 Release Notes”

“the successor, Modula-2, was a hugely influential language too”

RecommendsComment from 14 Apr 2026 in “Show HN: Oberon System 3 runs natively on Raspberry Pi 3 (with ready SD card)”

“assuming that is stretching it”

CriticizesComment from 13 Apr 2026 in “Show HN: Oberon System 3 runs natively on Raspberry Pi 3 (with ready SD card)”

“Some of the things you listed (dangling else, variant records, Wirth has fixed in Modula-2 or Oberon)”

MixedComment from 13 Mar 2026 in “Dijkstra's Crisis: The End of Algol and Beginning of Software Engineering (2010) [pdf]”

“Nowadays you can enjoy it on GCC, as it is now an officially supported frontend”

RecommendsComment from 4 Mar 2026 in “On the Design of Programming Languages (1974) [pdf]”

“I learned first on Pascal & Modula-2”

RecommendsComment from 25 Feb 2026 in “PL/0”

“except we know better 40 years later for the use cases they still had no answer for.”

MixedComment from 19 Feb 2026 in “Zero-day CSS: CVE-2026-2441 exists in the wild”

“I found myself being annoyed by small features.”

MixedComment from 8 Feb 2026 in “ga68, the GNU Algol 68 Compiler – FOSDEM 2026 [video]”

“the whole of intro was "get Kim King's Modula-2 book"”

RecommendsComment from 8 Feb 2026 in “ga68, the GNU Algol 68 Compiler – FOSDEM 2026 [video]”

“Everyone seemed to pick up the language just fine.”

RecommendsComment from 8 Feb 2026 in “ga68, the GNU Algol 68 Compiler – FOSDEM 2026 [video]”

“Especially it's fibres/coroutine features.”

RecommendsComment from 7 Feb 2026 in “ga68, the GNU Algol 68 Compiler – FOSDEM 2026 [video]”

“Heap memory handling in Pascal, Modula-2, Ada, is much safer than C”

RecommendsComment from 6 Feb 2026 in “C Isn't a Language”

“I've long agreed with her assessment”

RecommendsComment from 15 Dec 2025 in “A fictional interview with Frances Allen”

“alongside languages like Modula-2 and Object Pascal”

MixedComment from 10 Dec 2025 in “Rust in the kernel is no longer experimental”

“The first thing that annoys me is the requirement of the original 1982 specification to capitalize all keywords.”

CriticizesComment from 1 Dec 2025 in “The Origins of Scala (2009)”

“Algol 68 and Modula-2 are getting more contributions than Go”

MixedComment from 23 Nov 2025 in “GCC SC approves inclusion of Algol 68 Front End”

“My criteria is being as safe as Modula-2 and Object Pascal, as bare minimum.”

MixedComment from 15 Nov 2025 in “How to write generics in C”

“Modula-2 was already available, taking care of those pain points, designed for systems programming”

RecommendsComment from 14 Nov 2025 in “Rust in Android: move fast and fix things”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.