Except for some reason “2” is interpreted as a month, and the year is set to 2001.
Aight I’m out
I scored 10/28 on https://jsdate.wtf/ and all I got was this lousy text to share on social media.
Ha this is even worse than I could have imagined!
12/28
Surprised that I got this score when I only know python
This is just a good reminder of human nature to make bad choices (using JS) and stick with them forever.
If you’re not very familiar with JS, watch the Wat talk before taking the quiz to know what to expect from this wonderful language.
And then promptly get yourself familiar with how the language actually works. https://github.com/getify/You-Dont-Know-JS
People who complain about JS often assume it has features of other languages and fail to realize it has its own architecture and winding history.
Can we start a new web with a better language/platform already?
Google tried to do that with Dart, and failed. In fairness Dart 1 was much worse than Dart 2… So maybe that was a good thing because there’s no way they’d have been able to improve Dart as much as they have if it was part of the web.
For dates there finally is something better anyway: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Temporal
There’s wasm if you need to target browsers.
Why? Why not improve JS (e.g. with Temporal), especially given how excellent Typescript is?
JS is a lost cause.
How? It’s easy not to run into the common issues by using TS. What’s so bad about it that we should throw away the existing ecosystem?
Please give arguments instead of platitudes.
Nobody understands JavaScript. It’s the quantum mechanics of the software world.
9/28. WTF’ing through 90% of the questions.
I don’t like calling myself a JS/TS dev but my biggest project that I currently work on is written in it, so I had to try it.
16/28. I mean it’s incredible how I can throw a diabolical amount of variations of formatting at it and somehow get valid dates.
I scored 13/28 on https://jsdate.wtf/ and all I got was this lousy text to share on social media.
Oof. I’ve been a JS dev since 1998.
The quirks in this quiz aren’t even universal, and vary based on which browser you’re using. See the table at https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/parse#non-standard_date_strings
Also I got 13/28 😑
I got 10/28, but I was crying after the 7th question
7/28. Of course no one would ever do most of those things, they are interesting to think about but with little practical use.
I scored 17/28 on https://jsdate.wtf/ and all I got was this lousy text to share on social media.
Idk anything about Date but got pretty far with intuition of JS whackiness