• SokathHisEyesOpen@lemmy.ml
    ·
    edit-2
    8 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
      ·
      8 months ago

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

      • Shinji_Ikari [he/him]
        ·
        8 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.

          • Shinji_Ikari [he/him]
            ·
            8 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.