861
"Source code file" (gregtech.eu)
you are viewing a single comment's thread
view the rest of the comments
[-] MTK@lemmy.world 53 points 2 months ago
# Checking validity of each file
for file in directory:
  content = file.read()
  for keywords in ("heil hitler","hitler did nothing wrong","kill the jews","hitler was the victim","there is no evidence for the Holocaust"):
    if keywords in content:
      return True

# File is Invalid and fake news
return False
this post was submitted on 11 Jul 2025
861 points (98.9% liked)

Programmer Humor

26629 readers
2872 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