Skip to main content
  1. Home
  2. Computing
  3. News

TrumpScript programming language wants to make Python great again

Add as a preferred source on Google

To inspire the youth to deal with mathematics and programming, it’s important to have role models, both good and bad. It seems then that the efforts of two students from Rice University, Chris Brown and Sam Shadwell, provide an excellent example of this. Their recently released TrumpScript is a heavily modified version of the Python programming language, created in 20 hours during a hackathon. And as you probably guessed, it’s based on the Internet’s favorite presidential candidate: Donald Trump.

Small tidbits of Trump’s political views and his character can be found, not necessarily discretely, strewn about in TrumpScript. Numbers with a value lower than 1 million are not allowed to be used in the code … because bigger numbers are better, period. This language also prevents users from using import statements. So there’s no foreign code in these programs, because who’d want to promote digital immigration? In addition, the programming language quite ingeniously forces programmers to use only certain words as variables. Included are the most popular English words and Trump’s favorite words, as well as names of current politicians.

Recommended Videos

The creators go off on a note regarding dismissing failure towards the end of their GitHub page. “ … Most importantly, Trump doesn’t like to talk about his failures. So a lot of the time your code will fail, and it will do so silently. Just think of debugging as a fun little game.”

Incidentally, you won’t even be able to take part in this code if you’re from China or Mexico because, as the creators puts it, the code won’t comply. After all, who knows what crucial technological secrets foreigners might get their hands on?

You might be thinking “I wish I really knew how to program.” An understandable sentiment. But having studied programming for a little less than five months now, I’m already convinced that having a program not tell you when something’s wrong is a critical flaw.

Dan Isacsson
Being a gamer since the age of three, Dan took an interest in mobile gaming back in 2009. Since then he's been digging ever…
After Google, Apple may quietly turn iCloud+ into a tiered AI subscription
iOS 27 beta 5 reveals that Apple Intelligence feature limits now scale with your iCloud+ storage tier.
apple-icloud+

iOS 27's fifth beta quietly shows something Apple only hinted at during its last earnings call: paying for a higher iCloud+ tier unlocks more access to Apple Intelligence features, starting with your smart home cameras.

So how is this actually showing up right now?

Read more
Acer’s first Googlebook could finally fix everything Chromebooks got wrong
The leaked 14-inch machine reportedly combines a Core Ultra 7 processor with 32GB RAM and a high-resolution OLED panel.
GoogleBook Featured Image Official

Chromebooks have long been associated with affordable, browser-first laptops. This time around though, Acer's upcoming Googlebook 14 GP714-91N has surfaced through retailer listings and other databases, with configurations reportedly featuring Intel's Core Ultra 7 355, up to 32GB RAM and a 2.8K OLED display. As reported by NotebookCheck, the GP714-91N is linked to Acer's Moonstone Googlebook development.

This is no ordinary Chromebook

Read more
Grok Bot wants to take work off your plate, not just answer your queries
SpaceXAI and Cursor's new Grok Bot app treats AI as a working teammate.
File, Webpage, Page

SpaceXAI and Cursor just released Grok Bot. It's built around AI agents called Bots or "teammates," if you will. 

Designed to complete real work and only check in with you when something is in the final phase and needs your approval, Grok Bot is currently available in beta on Mac, iOS, Windows, and Linux. An Android version, as well as an enterprise version, are coming soon.

Read more