baldur,
@baldur@toot.cafe avatar

We really don’t make enough of the fact that you don’t need JS to make a nice website. Just HTML and CSS

And, whatever most programmers say about them, HTML and CSS are absolutely much more accessible to learn than JS ever has been or will be

log,
@log@mastodon.sdf.org avatar

@baldur JS and CSS are enhancements, not replacements.

Worst of all are the sites that require JS to display a static text article or blog entry. Why do you need a client-side script to replace the work your HTTP daemon could be doing on the server with less bandwidth and fewer compute cycles?

residualentropy,
@residualentropy@c.im avatar

@baldur Not just accessible to learn, accessible in the normal sense too :)

There might be a place for crazy JS and meta-frameworks, but I've always found it wild how beginners are steered towards them.

And imo JS actually isn't that bad when you use it for small things that augment a mostly-HTML/CSS site, just like it was originally meant for.

alcinnz,
@alcinnz@floss.social avatar

@baldur Its worth emphasizing: These skills don't goes out-of-date! Browserdevs go out of our way to ensure the pages you've written yesterdecade still work!

New optional features have been added, & best practices have solidified since the 1990s... But still!

Having to periodically rewrite outdated code is something webdevs bring upon themselves! Having to keep ontop of the latest frameworks is something webdevs bring upon themselves!

teleclimber,
@teleclimber@social.tchncs.de avatar

@alcinnz @baldur Some skills do go out of date: coding a website layout using a bunch of floats is no longer relevant, but boy did I spend time learning that.

alcinnz,
@alcinnz@floss.social avatar

@teleclimber @baldur Oh yes, the cases where skills become outdated because we have better tools now!

teleclimber,
@teleclimber@social.tchncs.de avatar

@alcinnz @baldur Yes it's a good thing of course.

But we shouldn't pretend that everything we learn from standards is automatically relevant in the future. There are lots of new specs, and many specs get revisited and amended when it turns out it's lacking in some way. So as devs we often have to learn how to do something pre-spec, usually using a "trick" of some sort, and then unlearn that and re-learn the new standard way to do it. It can be a lot to keep up with.

baldur,
@baldur@toot.cafe avatar

@teleclimber @alcinnz So, the problem I have with this is that floats or tables for layout were not a standard. Blaming standards obscures the fact that floats and tables themselves, if you learned them all those years ago, still work without change. And by the time web specs are standard, they are remarkably stable

I reject the idea that you have to learn how to do something pre-spec. Don’t blame standards when it’s you memorising somebody’s work-in-progress

teleclimber,
@teleclimber@social.tchncs.de avatar

@baldur @alcinnz How did you do responsive fluid layouts before the CSS Grid spec became available?

alcinnz,
@alcinnz@floss.social avatar

@teleclimber As you said we used floats, which is a tool poorly suited for that purpose!

Yes, skills in bending it to your will has become outdated with the availability of better tools!

@baldur

baldur,
@baldur@toot.cafe avatar

@teleclimber My point was that you should not blame standards for skills in non-standard techniques becoming obsolete.

teleclimber,
@teleclimber@social.tchncs.de avatar

@baldur OK except I'm not blaming standards. I literally say in the post you replied to: "Yes it's a good thing of course" in reference to new standards.

I don't think I'm the only person who feels pressure and anxiety at all the new stuff that needs to be absorbed to do frontend using the latest specs.

@alcinnz seemed to imply that if you stick to standards you don't have the pressure to keep up. In my experience you do. That's all. Also I may not have interpreted Adrian's point correctly.

alcinnz,
@alcinnz@floss.social avatar

@teleclimber @baldur I'd say that the pressure's significantly reduced. Maybe absent depending on client, or your own, expectations.

I certainly don't think the pace of new standards is a good thing for all involved, but I am happy with many of the specs coming out now.

baldur,
@baldur@toot.cafe avatar

@teleclimber @alcinnz Apologies. I misunderstood what you said in the rest of that post. It sounded like you were blaming standards for float- or table-based layouts or other “tricks” becoming obsolete. Sorry. 🙂

jontromans,
@jontromans@vivaldi.net avatar

@teleclimber @alcinnz @baldur Floats! Try nested tables for layouts 😂

mensrea,
@mensrea@freeradical.zone avatar

@jontromans @teleclimber @alcinnz @baldur doesn't mean you can't do it or that it wont work. there's just better ways now

Meyerweb,
@Meyerweb@mastodon.social avatar

@baldur @alcinnz @jontromans @teleclimber Tables? You kids didn’t know how good you had it! When I was a lad, we had to just structure the content and each user’s settings controlled how everything looked, but did you hear us complaining? Not a bit of it!

fancysandwiches,
@fancysandwiches@urbanists.social avatar

@teleclimber @alcinnz @baldur Yes, but as pointed out above a site built with those skills a decade ago will still render correctly today. It can be hard to get a JS based web project to compile if you walk away from it for 6 months.

teleclimber,
@teleclimber@social.tchncs.de avatar

@fancysandwiches @alcinnz @baldur True of course but I was responding to the statement that skills don't go out of date. They do.

Farbs,
@Farbs@mastodon.social avatar

@baldur

JS has 48 keywords.
CSS has over 500 properties.

Neither is especially accessible, but CSS is especially inaccessible.

baldur,
@baldur@toot.cafe avatar

@Farbs This comparison is nonsense. It’s like saying that English is harder to learn than Icelandic just because its vocabulary is much larger. Icelandic has a much smaller vocabulary, but it’s grammar is more complex and many of the most common words in use (which you have to learn) are irregular, meaning the learning curve to get from zero to productive is much steeper.

The JS versus CSS comparison is similar. JS is much more complex and “irregular” and requires a much steeper learning curve

0x5DA,
@0x5DA@fosstodon.org avatar

@baldur
JS isn't so bad if you are using it to aument HTML, as it was always meant to. i wrote a simple library in like 100LoC and with that especially every useful minimal operation is trivial.

cogdog,
@cogdog@cosocial.ca avatar

@baldur Plus such sites are portable and endure, my 1990s era HTML tutorial has had a long life https://mcli.cogdogblog.com/tut

For your amusement, it was once translated into Icelandic by a teacher from Ísafjörður -- who I even got to visit in 2000
https://web.archive.org/web/20010802112213/http://www.vma.is/tut/

baldur,
@baldur@toot.cafe avatar

@cogdog That’s absolutely brilliant 😄

FalkAppel,
@FalkAppel@digitalcourage.social avatar

@baldur as someone with such a homepage (probably not that nice, but adaptive layout and translation) I can tell you the main benefit: lowest maintenance costs possible. I only change something when the content has to change.
No language and dependency updates.
No tooling dependencies.
And browser take care to be backward compatible.
Additionally loading super fast.
Team only 🤓

baldur,
@baldur@toot.cafe avatar

@FalkAppel 🙂👍🏻

alda,
@alda@topspicy.social avatar

@baldur I just can't see how either of those isn't programming.

baldur,
@baldur@toot.cafe avatar

@alda They absolutely are. They’re just more accessible than JS, IMO

alda,
@alda@topspicy.social avatar

@baldur I don't think the dudebros have even seen how CSS animations work.

baldur,
@baldur@toot.cafe avatar

@alda 😄

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • InstantRegret
  • ethstaker
  • magazineikmin
  • GTA5RPClips
  • rosin
  • modclub
  • Youngstown
  • ngwrru68w68
  • slotface
  • osvaldo12
  • kavyap
  • mdbf
  • thenastyranch
  • JUstTest
  • everett
  • cubers
  • cisconetworking
  • normalnudes
  • Durango
  • anitta
  • khanakhh
  • tacticalgear
  • tester
  • provamag3
  • megavids
  • Leos
  • lostlight
  • All magazines