There's a New Programming Language Based on Donald Trump And It's Hilarious

Two Rice University students have created "TrumpScript," a programming language Donald Trump would approve of.

A few weeks ago, I argued that learning a programming language makes people better thinkers. It develops in us a way of breaking down problems into smaller, more manageable tasks, thereby giving us more confidence in dealing with seemingly overwhelming challenges. That’s all well and good. But, how does it “make America great again”? To be sure, it doesn’t. Until now. This week, some bright, enterprising developers from Rice University released a new scripting language, dubbed TrumpScript, that is the programming language “[Donald] Trump would approve of.”


According to the developers:

“TrumpScript is language based upon the illustrious Donald Trump. As the undeniably best presidential candidate in the 2016 language, we found that the current field of programming languages does not include any that Trump's glorious golden comb-over would approve of.

TrumpScript is our solution to this. It's the programming language Trump would approve of. Just like he is making America great again, we hope our efforts will make programming great again.”

Based on Python, TrumpScript has some unique features. The Verge reports that if you use a word that’s been banned from usage in the language, you’ll get the error, “Trump doesn’t want to hear it,” or if you use a word that’s not common English, “We have a country where to assimilate you have to speak English."

Other features of TrumpScript:

+ No floating point numbers, only integers. America never does anything halfway.
+ All numbers must be strictly greater than 1 million. The small stuff is inconsequential to us.
+ There are no import statements allowed. All code has to be homegrown and American made.
+ Instead of "True" and "False," we have "fact" and "lie."
+ Only the most popular English words, Trump's favorite words, and current politician names can be used as variable names.
+ Error messages are mostly quotes directly taken from Trump himself.
+ All programs must end with "America is great."
+ Our language will automatically correct Forbes' $4.5B to $10B.
+ In its raw form, TrumpScript is not compatible with Windows, because Trump isn't the type of guy to believe in PC.
+ The language is completely case-insensitive.
+ If the running computer is from China or Mexico, TrumpScript will not compile. We don't want them stealing our American technological secrets.
+ Warns you if you have any Communists masquerading as legitimate "SSL Certificates" from China on your system.
+ Won't run in root mode because America doesn't need your help being great. Trump is all we need.

In an Inverse interview, Sam Shadwell and Chris Brown, the two junior Rice University computer science students who created TrumpScript, report designing the language to “act like Donald Trump.”

“That morning I had watched that weird, that strange video that’s like “The Trump Song,” or something? It made me uncomfortable,” Shadwell said.  “And I was like, ‘Man, that’s really weird. Boy, I would love to just satirize this guy.’”

If you find yourself wanting to learn how to code, and you’re a fan of Trump, this might be your chance to program the application of your dreams. But get prepared for things not to work. Brown and Shadwell are improving TrumpScript to more accurately represent its namesake.

“In what I would consider proper TrumpScript style: 80 percent of the words you write should probably get dropped by the compiler and be completely unnecessary to the program,” Brown said.

--

LinkedIn meets Tinder in this mindful networking app

Swipe right to make the connections that could change your career.

Getty Images
Sponsored
Swipe right. Match. Meet over coffee or set up a call.

No, we aren't talking about Tinder. Introducing Shapr, a free app that helps people with synergistic professional goals and skill sets easily meet and collaborate.

Keep reading Show less

4 reasons Martin Luther King, Jr. fought for universal basic income

In his final years, Martin Luther King, Jr. become increasingly focused on the problem of poverty in America.

(Photo by J. Wilds/Keystone/Getty Images)
Politics & Current Affairs
  • Despite being widely known for his leadership role in the American civil rights movement, Martin Luther King, Jr. also played a central role in organizing the Poor People's Campaign of 1968.
  • The campaign was one of the first to demand a guaranteed income for all poor families in America.
  • Today, the idea of a universal basic income is increasingly popular, and King's arguments in support of the policy still make a good case some 50 years later.
Keep reading Show less

Why avoiding logical fallacies is an everyday superpower

10 of the most sandbagging, red-herring, and effective logical fallacies.

Photo credit: Miguel Henriques on Unsplash
Personal Growth
  • Many an otherwise-worthwhile argument has been derailed by logical fallacies.
  • Sometimes these fallacies are deliberate tricks, and sometimes just bad reasoning.
  • Avoiding these traps makes disgreeing so much better.
Keep reading Show less

Why I wear my life on my skin

For Damien Echols, tattoos are part of his existential armor.

Videos
  • In prison Damien Echols was known by his number SK931, not his name, and had his hair sheared off. Stripped of his identity, the only thing he had left was his skin.
  • This is why he began tattooing things that are meaningful to him — to carry a "suit of armor" made up the images of the people and objects that have significance to him, from his friends to talismans.
  • Echols believes that all places are imbued with divinity: "If you interact with New York City as if there's an intelligence behind... then it will behave towards you the same way."
Keep reading Show less