I’m looking for a programming language that can help me build a desktop application for Windows, macOS, and Linux that’s not big but not small either. Additionally, I’d like to be able to build a website with the same language. I’ve been considering Ruby, Python, Golang and JavaScript. Python seems to be mainly used for scripting and ai, so I’m not sure if it’s the best fit. JavaScript has a lot of negative opinions surrounding it, while Ruby sounds interesting. Can anyone recommend a language that meets my requirements?

  • tatterdemalion@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    5 months ago

    They explicitly said they want to build a website. Not that you can’t go far with a Java server + HTML(X) but JS is the de facto standard for interactive websites.

    • AwkwardLookMonkeyPuppet@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      5 months ago

      Idk how I missed that. I only saw the desktop program part and the languages listed after it. I completely overlooked the website part, unless it was edited or something. But yeah, for websites JavaScript is the go-to for front-end and there are even some decent back-end options these days, although development and deployment gets a lot more complicated if you go that route. Java is still popular as a backend language for website development, and there are frameworks that have out of the box components that give you the JavaScript for free, but they’re typically expensive enterprise solutions like Adobe Experience Manager.

      Edit: I just checked and it was edited, so they might have added that part after I wrote my reply.