this post was submitted on 10 Oct 2024
124 points (100.0% liked)

Programmer Humor

19813 readers
485 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 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 2 points 2 months ago* (last edited 2 months ago)

Feeling mischievous?

Python 3.12.6.
>>> ๐’Ž=3
>>> ๐’Ž**๐’Ž
27
#include <iostream>

int main() {
  int ๐’‡ค = 2;
  std::cout << (๐’‡ค + ๐’‡ค) << std::endl;
  return 0;
}
$ ./a.out
4
touch ๐’‡ค.java
nvim ๐’‡ค.java
public class ๐’‡ค {
 public static void main(String[] args) {
    System.out.println("LMAO");
  }
}