Welcome to SumatraScript
Why settle for regular coffee when you can get something slightly worse? Meet SumatraScript, inspired by JavaScript's greatest feats. Here, confusion is a feature, not a bug!
"Features"
- Undefined is Definitely a Value: No more guessing if it's a type or a value. It's both!
- Triple Equals is Not Enough: Introducing the quintuple equals (=====) for when you're not really sure.
- Automatic Global Leakage: Why declare variables when you can unintentionally make everything global?
- Loose Var Bindings: Forget var, let, and const. In SumatraScript, we introduce maybe, a declaration where the variable might or might not hold its value.
- NaN is a Number: Not just conceptually, but literally! Let's bask in the paradox.
- Callbacks within Callbacks: Experience callback inception. The deeper you go, the less you understand.
- Dynamic Data Types: Remember how JavaScript can be lenient with types? SumatraScript goes a step further with "SchrodingerVariables" – until you observe them, they're both a string and a number!
- More Var Types: Presenting "vague" and "ambiguous" in addition to "var". The more, the murkier!
- Truthy and Falsy: In JavaScript, values like 0, null, and undefined can be a bit confusing in boolean contexts. SumatraScript ups the ante with "SortaTruthy" and "MightBeFalsy" values. Let's keep those logical checks even more ambiguous!
The Legend of SumatraScript
Once upon a midnight's debugging session, as developers nodded, nearly napping, there came a tapping, as of someone gently rapping at the chamber of JavaScript's limitations. And the SumatraScript was born. It's the language everyone said shouldn't be made. But in a world filled with logic, who doesn't want a dash of absurdity?
Dive deep into the obscurity, embrace the confusion. Learn SumatraScript and let's make coding perplexing again!
Ecosystem
SumatraScript is best used in conjunction with SCS - because making web pages look consistent across browsers was just too mainstream.
Feeling even braver? Why not try out SumatraType today? Get typing, literally.
What are you waiting for? Get started today!