DEV Community

Cover image for 🧱 TrumpScript — The Programming Language That Speaks Like a Campaign Speech

🧱 TrumpScript — The Programming Language That Speaks Like a Campaign Speech

What is TrumpScript?

TrumpScript is a joke programming language created by Sam Shadwell and friends in 2016. It was designed as a parody of political speech patterns, especially those associated with Donald Trump. The language imitates exaggerated statements, slogans, and dramatic phrasing instead of using traditional syntax. TrumpScript focuses on bold claims, lack of subtlety, and humorous restrictions that mimic the tone of campaign rhetoric.

The language intentionally prevents negativity, uncertainty, or anything considered “weak.” It rewrites programming rules to sound overly confident, patriotic, and intentionally absurd. It is not meant to be practical—it is meant to be comedy in the form of code.


Specs

Language Type: Joke / Satire

Released: 2016

Creator: Sam Shadwell & contributors

Syntax Style: Political speech patterns and slogans

Execution Model: Imperative

Typing: Dynamic with intentional limitations


CODE EXAMPLE (Hello World)

America is great.
We will build a wall.
Make America great again.
Hello World.
Enter fullscreen mode Exit fullscreen mode

(Some syntax varies across versions. Many references are intentionally inconsistent.)


How It Works

  • TrumpScript uses dramatic and exaggerated keywords instead of normal ones.
  • Certain language rules are forced:
    • No floating-point numbers (because "America doesn’t do decimals").
    • Only English is allowed.
    • "Weak" or "negative"-sounding commands are blocked.
    • Comparisons must feel bold and assertive.
  • Comments often reference political humor or iconic slogans.

It behaves more like theatrical scripting than traditional logic.


Strengths

  • Extremely funny for programmers who enjoy satire.
  • Memorable and entertaining to experiment with.
  • Good for humorous presentations or coding meme challenges.
  • Demonstrates how culture can influence programming language design.

Weaknesses

  • Not stable or consistent.
  • Behavior varies between implementations.
  • Impossible to maintain serious projects.
  • Interpreter support is limited and sometimes intentionally broken.

Where to Run

TrumpScript can be run through GitHub-source interpreters or unofficial online environments. Some versions exist on TIO.run.


Should You Learn It?

For a job: No

For memes, humor, and fun experimentation: Yes

For writing real applications: No

For making developers laugh: Absolutely


Summary

TrumpScript is programming satire turned into a language. It exaggerates political speech patterns and enforces comedic restrictions to create a ridiculous yet entertaining coding environment. It’s not useful, stable, or serious—but it succeeds perfectly at what it was created for: making developers laugh at how extreme a programming language can become when built around personality rather than logic.

Top comments (0)