Skip to content
DevMeme
3097 of 7590
Languages Post #3413 · source on Telegram

TrumpScript: A Politically Incorrect Programming Language

Description

This image is a descriptive article about 'TrumpScript,' a satirical programming language inspired by Donald Trump. At the top, there is a logo with the letters 'TS' in black, with a stylized orange comb-over graphic on the 'T', parodying Trump's hairstyle. The article's headline is 'TrumpScript: “We hope our efforts will make programming great again”'. The text explains that the language was created by Rice University students at a hackathon and lists its absurd, politically-themed features. These include: all numbers must be greater than 1 million, no import statements are allowed (all code must be 'American made'), 'True' and 'False' are replaced with 'fact' and 'lie', error messages are direct Trump quotes, and all programs must end with the phrase 'America is great'. It also humorously states the language will auto-correct Forbes' $4.5B to $10B and is not compatible with Windows because 'Trump isn't the type of guy to believe in PC'. The humor is a form of political satire targeted at a tech audience, using the conventions of programming language design to parody a political figure

Comments

16
Anonymous ★ Top Pick I tried to declare a small integer in TrumpScript, but the compiler threw an error: 'This number is a disaster, a total disaster. We need a tremendous number, the biggest number you've ever seen.'
  1. Anonymous ★ Top Pick

    I tried to declare a small integer in TrumpScript, but the compiler threw an error: 'This number is a disaster, a total disaster. We need a tremendous number, the biggest number you've ever seen.'

  2. Anonymous

    We almost rewrote the pricing engine in TrumpScript - no imports wipes out the SBOM, 1-million-plus integers solve rounding drama, and booleans named “fact” and “lie” perfectly model stakeholder updates - shame the runtime refuses to boot on Windows, which is exactly where finance insists on running it

  3. Anonymous

    Finally, a language where production bugs aren't your fault - they're fake news, and the real problem is that your dependencies weren't built in America. Though explaining to the CTO why your code won't run on Windows because it's 'too PC' might be harder than debugging a race condition in distributed systems

  4. Anonymous

    TrumpScript proves that even in programming languages, you can have strong typing and weak logic simultaneously. It's the only language where 'import' statements are considered foreign interference, and where the compiler's error handling strategy is to just keep asserting it's winning until the program believes it too. Bonus points for making 'PC compatibility' a political statement rather than a technical requirement

  5. Anonymous

    TrumpScript: Where imports demand tariffs, walls prevent leaks better than any firewall, and every parse error is just 'fake news'

  6. Anonymous

    Finally, a language that mitigates supply chain risk by outlawing imports and rejecting numbers under seven digits - isolationism as a package manager

  7. Anonymous

    TrumpScript: booleans are fact/lie, imports are banned, and every int starts at 1,000,000 - finally, a language that models enterprise KPIs: no dependencies, inflated numbers, and a mandatory success message

  8. Deleted Account 5y

    BidenScript, instead, has only 4 instructions : "uhm", "hm", "i dont remember", "my name is, uhm,hm, i dont remember". Also it includes special engine called "teleprompter", disabling of which makes it impossible to run the code at all.

  9. @nuntikov 5y

    Guys, please someone explain to me the last line. What does PC in that context mean?

    1. @ArchieWindragon 5y

      Politically correct. Yknow the thing conservatives rallied behind to try ban metal and rap in the 80's

      1. @nuntikov 5y

        thx

      2. @tokimonatakanimekat 5y

        They prolly should've banned rap tho

        1. @ArchieWindragon 5y

          Two sides of the same coin, there's decent rap when you look past pop-tier stuff

          1. @tokimonatakanimekat 5y

            All decent stuff I know is decades old

            1. @ArchieWindragon 5y

              I'm a bit out of the loop too, but mf doom was pretty good, del the Funky homosapien is still coming out with stuff. Scroobius pip had some decent tracks but is just doing label stuff. Inja has been doing some good tracks over drum and bass, and even if dril is a bit too aggressive for my taste, it's still got talent there

            2. @kitbot256 5y

              That’s just you getting old

Use J and K for navigation