this post was submitted on 06 Aug 2023
117 points (93.3% liked)

Programmer Humor

19450 readers
721 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.

top 7 comments
sorted by: hot top controversial new old
[–] [email protected] 14 points 1 year ago (1 children)

I'm disappointed that there's not E089 PROGRAMMER IS NOT BEING SINCERE

[–] [email protected] 4 points 1 year ago

PLEASE PLEASE PLEASE PLEASE PLEASE DO .3 <- !3˜#15’$!3˜#240

[–] [email protected] 11 points 1 year ago (1 children)
[–] [email protected] 6 points 1 year ago

Omg that's so evil I love it

[–] [email protected] 6 points 1 year ago (1 children)

The Internet Historian learned how to program. Neat

[–] [email protected] 5 points 1 year ago (1 children)

Why do I need to be polite to a computer? Who is ’?.1$#256’˜’#256$#256’? And just what is E275 DON’T BYTE OFF MORE THAN YOU CAN CHEW? All this and more on this episode of In The Program

[–] [email protected] 3 points 1 year ago

This episode is brought to you by Surfshark VPN