Trump: The Programming Language?

shutterstock_353116961

Whatever you think of Donald Trump’s attempt to become President of the United States, it’s hard to deny that he’s provoked a lot of, er, interesting responses. For example, there’s now TrumpScript, a (joking) variation on the Python programming language.

“We found that the current field of programming languages does not include any that Trump’s glorious golden combover would approve of,” according to the description accompanying the language’s repository on GitHub. “TrumpScript is our solution to this. It’s the programming language Trump would approve of.”

TrumpScript features no floating-point numbers, only integers, because (according to the description) “America never does anything halfway.” No import statements are allowed, and only “popular English words, Trump’s favorite words, and current politician names” can serve as variable names:

Screen Shot 2016-05-16 at 1.54.01 PM

For those programming sticklers out there, the language is “completely case-insensitive,” and won’t run in root mode “because America doesn’t need your help in being great.”

Do you like programming with platforms that will alert you to failures before they cascade into disasters? Then you’ll really hate TrumpScript. “Most importantly, Trump doesn’t like to talk about his failures,” the GitHub description also noted. “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.”

If you’re a longtime programmer, you’re well aware of the joke languages that crop up occasionally at the edges of GitHub. In the realm of entertainers-turned-politicians-turned-languages, who could forget ArnoldC, a code based on Arnold Schwarzenegger’s iconic one-liners? (If you ever wanted to type “YOU HAVE BEEN TERMINATED” in place of “EndMain,” ArnoldC is your chance to fulfill that rather esoteric wish.) Usually those languages attract a few programmers who enjoy toying around with novelties, before inevitably fading away; in light of that, it seems unlikely that TrumpScript will become yuge.

Image Credit: Joseph Sohm/Shutterstock.com, Inverse

Post a Comment

Your email address will not be published.