TrumpScript programming language wants to make Python great again

Hamish McPanji

Honorary Master
Joined
Oct 29, 2009
Messages
42,240
Reaction score
6,696
Location
Jhb
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.

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. There can be no numbers used in the code with a lower value than 1 million. 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, Trump’s favorite words, as well as current politician names.

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.”


Read more:http://www.digitaltrends.com/computing/trumpscript-will-not-admit-failures/#ixzz3yCZMgdvF
 
Top
Sign up to the MyBroadband newsletter
X