Table Of Contents
If you want to see Donald Trump in action through a programming language, TrumpScript is for you
With Donald Trump making headlines as he continues his rants on how he is going to make America great again, a team of coders have actually managed to create something else entirely and we have to admit that it is quite clever. These coders have managed to a release a new library on Github that contains a working programming language built on Python that actually mimics the behavior of the presidential candidate and billionaire Donald Trump.
The coders have stated that at its core functionality, it works in exactly the same manner as any other language, with the only difference being that it uses some particular syntax and rules in order to make programming great again, which is clearly the words that these coders took out from the book of the candidate. One other clever addition to this programming language is that if you manage to make a mistake while coding, then you will get to hear a famous quote from Trump, which will actually be in the form of an error message. We are wondering if the highly infamous ‘You’re fired’ quote will be present in the directory or not. Looks like we are going to have to make a mistake and find out for ourselves.
What are the features of TrumpScript
There are several features included and thanks to Inverse, they have been listed below:
• 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 home-grown 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.
• And of course, the Github community is joining in by contributing to the development of the language.
• But user be warned: “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.”
This clever idea was concocted by junior computer science majors Sam Shadwell and Chris Brown at a Rice University hackathon. Tell us what you thought about their latest addition to the programming universe.