101
submitted 10 months ago by hades@lemm.ee to c/programming@programming.dev
you are viewing a single comment's thread
view the rest of the comments
[-] Anticorp@lemmy.ml 7 points 10 months ago* (last edited 10 months ago)

JavaScript. I can't think of anything else that can be used for everything. It's a back-end language, a front-end language, it can be used for styling and animation, it can be an OOP language or a scripting language, and can make database queries & submissions. Is there another language that is as versatile for website development? I can't think of one.

[-] Thrift3499@lemm.ee 1 points 10 months ago

Yeah Rust can do all of those things as well, JavaScript is obviously much more common.

[-] Shinji_Ikari@hexbear.net 4 points 10 months ago

a front-end language

I love rust but this requires killing the web app and using basic html. which i'm also pro.

[-] BatmanAoD@programming.dev 5 points 10 months ago

Well, not quite, since Rust got WebAssembly support quite early.

[-] Shinji_Ikari@hexbear.net 5 points 10 months ago

Web assembly isn't quite the same as a js frontend though, is it?

It's typically for complex single page apps and has some weirdness with normal usecases, no?

I could be wrong but I was looking into it a few months ago and it seemed immature.

[-] BatmanAoD@programming.dev 5 points 10 months ago

Yes, it's largely for SPAs, but you said "requires killing the web app", and most web apps are SPAs.

[-] Shinji_Ikari@hexbear.net 2 points 10 months ago

I should take another look into it. Thanks!

this post was submitted on 13 Nov 2023
101 points (92.4% liked)

Programming

17026 readers
139 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS