r/javascript • • Jun 30 '17

Days Since Last JavaScript Framework

https://dayssincelastjavascriptframework.com/
74 Upvotes

20 comments sorted by

31

u/[deleted] Jul 01 '17

Oh come on, everyone knows it should be NaN

32

u/cyberst0rm Jun 30 '17

this sounds like a cry for help...anyone want to mock up a framework to keep track?

15

u/broken_symlink Jul 01 '17

It would be nice if they had a link to what the new framework is.

6

u/Arkaad Jun 30 '17

Hours Since Last JavaScript Framework would be a better site.

4

u/Shaper_pmp Jul 01 '17

The joke is good, but god damn that's some fuck-ugly HTML.

I mean it's technically valid, but it's still unnecessarily gross.

2

u/tswaters Jul 01 '17

You mean the lack of container element, being minified or all the meta tags? It looks minimalistically beautiful to me.... except for all the meta tags, but such is life.

1

u/Shaper_pmp Jul 01 '17

You mean the lack of container element

Yes - the lack of html, head or body tags specifically, and trying to save a couple of bytes by not quoting HTML attributes, etc.

Although now you mention it, if you're trying to save space to the point you'll not quote attributes and leave out html/head/body to save a handful of bytes, why on earth would you then waste a hundred times as many absolutely stuffing the markup with more than 10 almost-useless meta tags like msapplication-tap-highlight and apple-mobile-web-app-status-bar-style?

Nothing about that markup makes any sense.

7

u/leeoniya Jun 30 '17

how awesome would everything be if this number was 7,000!

/s

23

u/SandalsMan Jun 30 '17

pretty shitty, we would have no innovation and be stuck with jQuery.

3

u/[deleted] Jun 30 '17

was expecting this to be more than just <strong>0</strong> :/

10

u/freebit Jun 30 '17
<span style="font-weight:700;">0</span>

There ya go! :)

14

u/[deleted] Jun 30 '17

needs more web scale:

const span = document.createElement('span');
span.style.fontWeight = '700';
span.textContent = '0';
document.body.insertBefore(span, document.body.firstChild);

6

u/brimhaven Jun 30 '17

mongodb is webscale

7

u/sfcpfc Jun 30 '17

/dev/null is webscale

3

u/here-to-jerk-off Jul 01 '17

lambda is webscale

2

u/danielhep Jun 30 '17

Maybe someone should write a library to help with that? I mean four lines of code for such a simple thing... come on.

3

u/beef2200 Jun 30 '17

I am curious how they keep track

0

u/[deleted] Jun 30 '17

[deleted]

2

u/[deleted] Jul 02 '17

Pretty sure this is 100%