857
"Source code file" (gregtech.eu)
you are viewing a single comment's thread
view the rest of the comments
[-] MTK@lemmy.world 53 points 6 days 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
857 points (98.9% liked)

Programmer Humor

25059 readers
779 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