As the new dawn comes around, Donald Trump era too moves nearer. The incredible King of America would be inspiring a Programing language which does actually makes sense.
Developers well know about the toughened Language Python and how rigid the language could be trying to make it act on your behalf. Seriously, Since the take over if computers. Python had been some kinda prominent parr of the computer world but I would newer developers quiet find it difficult to know as the case night be.
Now as the new dawn approaches the development world, then its gonna just be a lesser headache or in fact none for developers. Well, its an introduction to Trump Script!
Its elegant syntax and feedback to bugs makes it a good language for beginners to learn as an introduction to programming, which is exactly what TrumpScript — a programming language based on Python but inspired by Donald Trump — is not. But as the case might be, the intervention of “The Verge” would he making the case very easy to go with. Let’s just see what’s up now.
To code in TrumpScript is to write in malformed sentences consisting of only pre-approved words (all other words are stripped out) and only a small subset of logical operators afforded in other programming languages. “True” or “false” are instead “fact” or “lie,” and error messages only criticize your code rather than help track down your bug.
For example, if you use a word that’s been banned, the error message will read:
“Trump doesn’t want to hear it”
Or if you use a word that’s not common English (e.g. not one of the 2,164 approved words):
“We have a country where to assimilate you have to speak English”
Some more “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 home-grown and American made.In its raw form, TrumpScript is not compatible with Windows, because Trump isn’t the type of guy to believe in PCThe language is completely case insensitive.
If you haven’t figured it out yet, TrumpScript is satirical. Created in under 24-hours at a Rice University hackathon by a team of undergraduate computer science students, not all the features are working yet. It’s still short of the perfection that Trump would likely seek in something that has his name on it. But like Trump, the language won’t admit to its failures.
TrumpScript didn’t win the hackathon’s grand prize, but it’s managed to at least find a lifeline outside the hackathon weekend. Since the project was posted to Github, dozens of suggestions have been made to make the language more “Trump worthy,” including that the language require an SSL certificate from machines that interact with it or implementing the ability to deport modules.
If you want to try TrumpScript, follow the instructions on the project’s Github page to set up. And once you’ve installed, try this TrumpScript program I’ve written for you!
Source: The Verge