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

Programmer Humor

24670 readers
257 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
 
top 10 comments
sorted by: hot top controversial new old
[–] sylver_dragon@lemmy.world 14 points 8 months ago (1 children)

Someone is trying to re-create the virus from Snow Crash

[–] shalafi@lemmy.world 1 points 8 months ago

The opening lines were prophetic:

"... When it gets down to it–we're talking trade balances here–once we've brain-drained all our technology into other countries, once things have evened out, they're making cars in Bolivia and microwaves in Tadzhikistan and selling them here–once our edge in natural resources has been made irrelevant by giant Hong Kong ships and dirigibles that can ship North Dakota all the way to New Zealand for a nickel–once the Invisible Hand has taken all those historical inequities and smeared them out into a broad global layer of what a Pakistani bricklayer would consider to be prosperity–y'know what? There's only four things we do better than anyone else:

  • music
  • movies
  • microcode (software)
  • high-speed pizza delivery
[–] Hack3900@lemy.lol 11 points 8 months ago (1 children)
[–] qaz@lemmy.world 2 points 8 months ago
[–] xmunk@sh.itjust.works 5 points 8 months ago

You need to use a language with powerful macros (like LISP) so you can avoid English entirely.

[–] A_Union_of_Kobolds@lemmy.world 4 points 8 months ago

I think that's how you summon actual demons

I know one extremely burnt out dude who would absolutely try it

[–] AVincentInSpace@pawb.social 3 points 8 months ago* (last edited 8 months ago) (1 children)

what language is that

it looks like an unholy fusion of Python and Rust

[–] qaz@lemmy.world 2 points 8 months ago
[–] fool@programming.dev 1 points 8 months ago* (last edited 8 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");
  }
}
[–] pelya@lemmy.world 1 points 8 months ago

One big problem is font size. Smaller features of many scripts like CJK are barely visible, and this example shows the same problem.