Menu
Legacy code: Code written by anyone else.
Home
Hot
Random
Search
Browse
AI
AWS
Agile
Algorithms
Android
Apple
Azure
Backend
Bash
C++
Cloud
All Categories
HTTP 418: I'm a teapot
The server identifies as a teapot now and is on a tea break, brb
HTTP 418: I'm a teapot
The server identifies as a teapot now and is on a tea break, brb
Syntax-horror Memes
Posts tagged with Syntax-horror
Pointers Are The Real Devils
C++
Programming
Debugging
1 year ago
416.9K views
1 shares
Someone said "C isn't hard" and then proceeded to demonstrate the exact opposite. That syntax is the programming equivalent of those Russian nesting dolls, except each doll inside is progressively more haunted than the last. Nothing says "beginner-friendly" like declaring an array of pointers to functions that return pointers to functions that return void. I've seen clearer instructions written in ancient Sumerian.
The Parentheses Paradox
Javascript
Programming
Frontend
Debugging
1 year ago
449.1K views
0 shares
Looking at ( ( ) ) => { } ) ( ) ; and wondering how it works is like staring into the abyss of JavaScript's syntax flexibility. It's just nested parentheses, curly braces, and arrows having an existential crisis together. After 15 years of development, I still get cold sweats when I see code like this in production. Somewhere, a senior dev is nodding knowingly while secretly Googling "what does extra parenthesis in arrow function do" in an incognito tab.
A Cursed Language Was Born Out Of Nowhere
Programming
Webdev
Linux
1 year ago
404.9K views
0 shares
This is what happens when developers get bored at midnight. Some maniac just casually invented a cursed programming language by combining HTML syntax with kernel-level access and wrapped it in nonsensical tags. The best part? The horrified reaction from their friend who's watching this abomination unfold in real-time. It's like witnessing a car crash in slow motion, but with code. The suggestion to "USE KERNELSCRIPT" at the end is just the chef's kiss of chaotic evil. This is exactly how programming languages nobody asked for are born - in Discord chats at 11:30 PM when someone's brain has officially left the building.
My Friend Showed Me This Code
C++
Python
Programming
Debugging
1 year ago
464.4K views
0 shares
Ah, the classic "I'll mix five languages in seven lines and call it a day" approach! This monstrosity has C++ syntax with iostream and std::cout , but wrapped in Python-style def () function declaration, no parameter names, and curly braces like it's Java or C#. Then there's that mathematical abomination calculating "e" with nested exponents that would make a calculator have an existential crisis. And the cherry on top? Outputting variable x that doesn't even exist while calculating e that's never used. Whoever wrote this clearly graduated from the "chaotic evil" school of programming.
Let's Create A Programming Nightmare
Programming
C++
php
Javascript
Java
1 year ago
538.8K views
1 shares
The programming community's favorite pastime: creating yet another language nobody asked for! Imagine taking JavaScript's type coercion, PHP's inconsistent naming conventions, C++'s memory management, Python's GIL, and Java's verbosity—then mashing them into one horrific Frankenstein's monster of a language. The compiler would generate 200 warnings just to print "Hello World" and the documentation would be written exclusively in regex. The only thing more terrifying than using this language would be explaining it during a job interview.
Just Because You Could Doesn't Mean You Should
Python
C++
Programming
1 year ago
346.4K views
0 shares
Oh the beautiful abomination of mixing Python with C++ syntax! This code is the programming equivalent of putting pineapple on pizza AND dipping it in chocolate sauce. The madlad imported iostream in Python and then used C++'s cout << syntax inside a Python function. The most cursed part? It actually works! The terminal shows the output "Hello" because Python's flexible import system let this crime against nature run successfully. This is what happens when you know too many languages and decide to play god with syntax. Your code reviewer is probably having a seizure right now.
Today's picks
Keychron V5 Max Custom Wireless Mechanical Keyboard, 96% with Number Pad | 2.4 GHz/Bluetooth/USB-C, QMK Launcher Programmable, Hot-Swap Gateron Red Switch, PTB Keycaps RGB for Mac/Windows/Linux
Affiliate
$89.24
Programmers be like
Programming
98.1K views
4 years ago
When Programmers Try To Date
Programming
349.9K views
1 year ago