Donald Trump will get his personal blustery programming language
Have you ever ever questioned what code would appear to be if it have been dictated by a presidential candidate’s grandiose statements fairly than such radical ideas as accuracy and logic? No? Properly, you are going to discover out regardless. Rice College college students Chris Brown and Sam Shadwell have created TrumpScript, a Python-based mostly programming language that takes Donald Trump’s philosophy slightly too actually. For a begin, it will not cope with both floating level numbers or any quantity smaller than 1 million — America does not do something midway or cope with the small stuff, you see. It additionally will not permit customers from China or Mexico (you possibly can’t even use import statements), insists on ending packages with “America is nice” and refuses to confess to most of its failures.
You possibly can tinker with the TrumpScript code proper now, though the creators warn that it won’t work correctly. That is not shocking provided that it was whipped up in lower than 20 hours as a part of a hackathon. Nevertheless, the presence of supply code allows you to not solely repair flaws your self, however add your personal options — you do not have to attend to slide Trump’s newest audacious soundbite into your syntax. No matter you consider the person, it is clear that Arnold Schwarzenegger is not the one properly-recognized political determine together with his personal pc code.
[Image credit: Ethan Miller/Getty Images]