this post was submitted on 06 Aug 2023
118 points (93.4% liked)

Programmer Humor

19512 readers
313 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 

cross-posted from: https://gekinzuku.com/post/188827

INTERCAL is an esoteric programming language which was purposely designed to be confusing and not visually aesthetic. It has two maintained implementations in C-INTERCAL and CLC-INTERCAL. C-INTERCAL's compiler is invoked by the ick command, and CLC-INTERCAL's compiler is invoked by the sick command.

Some highlights of INTERCAL include

  • Programmers must use PLEASE before statements to avoid compile errors due to being insufficiently polite, but not too many PLEASE statements or the compiler will report errors due to being overly polite.
  • Every call to a random number generator will introduce a random chance of the code failing to compile and report E774 RANDOM COMPILER BUG, and this chance to fail increases with the number of random number generator calls.
  • If compiling in INTERCAL-72 mode, the compiler will report E111 COMMUNIST PLOT DETECTED if the programmer uses features that are newer than INTERCAL-72.

The full list of compiler errors and warnings for C-INTERCAL, as well as related documentation, can be found in the intercal/doc/ick.txi file under the "Errors and Warnings" chapter. If you want to quickly scroll through them, each of the entries are preceded by an @ieanchor tag.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] aequitas@lemmy.world 11 points 1 year ago (1 children)
[โ€“] graham1@gekinzuku.com 6 points 1 year ago

Omg that's so evil I love it