this post was submitted on 28 Nov 2024
1354 points (99.5% liked)

Comic Strips

12961 readers
1588 users here now

Comic Strips is a community for those who love comic stories.

The rules are simple:

Web of links

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 181 points 3 weeks ago (6 children)

I don't know why she's nervous, she clearly knew the spec well and didn't have to resort to modern abstraction frameworks to serve a simple static site.

[–] [email protected] 2 points 1 day ago

It's better than most of my sites.

[–] [email protected] 81 points 3 weeks ago

And she did it all in notepad

[–] [email protected] 34 points 3 weeks ago* (last edited 3 weeks ago) (2 children)

yeah, but if you don't use wordpress to serve 3 static webpages, how will you get repeated business when it doesn't get hacked in 3 years?

[–] [email protected] 22 points 3 weeks ago (1 children)

You obviously include a busy loop in JavaScript that takes exponentially more time each year. Then every few years you change the base year

[–] [email protected] 7 points 3 weeks ago (1 children)

Just make sure the exponential growth is faster than Moore's law, or they might never notice it.

[–] [email protected] 5 points 3 weeks ago (1 children)

Moore's law has stalled for years now. Single thread performance is still going up but taking around 1 decade to double.

[–] [email protected] 4 points 3 weeks ago

That's not what Moore's law is, that's one of the (former) effects of it. Moore's law is about transistor density, and its increase remains roughly constant.

[–] [email protected] 22 points 3 weeks ago (2 children)

The absolute horseshit that things like Facebook consist of make me wonder if half the people who work on it have even made an HTML page from scratch.

[–] [email protected] 14 points 3 weeks ago
[–] [email protected] 2 points 3 weeks ago

Some of the pieces of information on posts is drawn with the canvas element.

[–] [email protected] 5 points 3 weeks ago
[–] [email protected] 1 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

It's overkill for static sites, but credit should be given to JSX for being a decent way to create DOM nodes dynamicly. You can use a JSX transformer without using React, too.

[–] [email protected] -2 points 3 weeks ago (1 children)

Or hear me out, nobody should give random credit to any framework for no reason whatsoever

[–] [email protected] 2 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

JSX is a language, not a framework...