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…
Apple’s next Mac Studio could get a new M5 Ultra chip and a cooler upgrade
The desktop workstation is tipped to receive an M5 Ultra this year, an M7 Ultra later, and a redesigned heat sink.
Apple Mac Studio Featured

Apple's Mac Studio may not be getting a fresh new look anytime soon, but it could be getting a meaningful upgrade where it matters most. According to Mark Gurman in the latest edition of his Power On newsletter, Apple is preparing an M5 Ultra-powered Mac Studio as early as this year, while an even more powerful M7 Ultra version is already on the company's roadmap for 2028. Interestingly, the report also claims Apple is redesigning one component most users will never see: the heat sink.

More power is coming, and Apple wants to keep it cool

Read more
Apple’s historically high tax for RAM upgrades on Macs has now become absurd
Mac RAM upgrade prices have doubled amid the global memory crunch
MacBook Pro.

Apple’s Mac RAM upgrades were already expensive enough to raise eyebrows. After the company’s latest round of price hikes, some of them now look ridiculous.

Apple recently raised prices across its Mac and iPad lineup, along with other products, citing rising memory and storage costs. The supply crunch is real, but Mac buyers were paying steep premiums for RAM and SSD upgrades long before this jump. Recent MacBook Pro configuration screenshots shared by 9to5Mac show how much worse the upgrade path has become.

Read more
Windows 11 is getting a new Screen Tint mode, and your eyes might thank Microsoft
Users can apply custom color overlays to reduce screen intensity and visual fatigue.
Windows 11 on a laptop

Microsoft is testing a new accessibility feature for Windows 11 called Screen Tint, and it could be one of those small additions that make a surprisingly big difference. Instead of changing your display's color temperature like Night Light, Screen Tint applies a customizable color overlay across the entire screen, making bright displays easier on the eyes during long work or gaming sessions.

A softer screen for tired eyes

Read more