"Hello, World" in 5 CURSED languages that no one should use

Dreams of Code12 minutes read

Esoteric programming languages like Brain and Intercal are unconventional and often require specific syntax and complex algorithms for basic tasks. These languages, such as Whitespace and Vato, challenge traditional coding norms by focusing on unique elements like whitespace characters or compiling MIDI files, creating a niche community of programmers.

Insights

  • Brain, a famous esoteric language, uses a simple design with 30,000 bytes and a byte pointer, requiring incrementing the first byte 72 times to write "Hello World."
  • Intercal, the first esoteric language, enforces specific syntax like "do" or "please" at the beginning of lines and employs a complex algorithm for determining ASCII values, with compilation needing a balance of politeness.

Get key ideas from YouTube videos. It’s free

Recent questions

  • What are esoteric programming languages?

    Unconventional, often considered cursed programming languages.

Related videos

Summary

00:00

"Unconventional Esoteric Languages: Intriguing and Cursed"

  • Esoteric programming languages, known as esol Langs, are unconventional and often considered cursed.
  • Brain is a famous esoteric language with a simple design involving an array of 30,000 bytes and a byte pointer.
  • Writing "Hello World" in Brain involves setting the first byte to 72 (ASCII value for H) and incrementing it 72 times.
  • Brain allows looping to make code concise, with loop counter calculations based on square roots.
  • Intercal, the first esoteric language, requires specific syntax like "do" or "please" at the start of each line.
  • Intercal's printing logic involves a complex algorithm to determine ASCII values for characters.
  • Intercal compilation using the "ick" compiler requires a specific balance of politeness in the code.
  • Whitespace, a language focusing solely on whitespace characters, uses spaces, tabs, and new lines for code.
  • Stuck, a code golfing language, automatically translates an empty source file to "Hello World" for a zero-byte solution.
  • Vato, a challenging language, compiles MIDI files instead of text-based source code, making it complex for non-musicians.
Channel avatarChannel avatarChannel avatarChannel avatarChannel avatar

Try it yourself — It’s free.