this post was submitted on 07 Jun 2024
32 points (88.1% liked)

Programming

16144 readers
63 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 [email protected]



founded 1 year ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] Anticorp -1 points 3 weeks ago (5 children)

You're probably looking for Java. Not JavaScript, Java.

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

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.

[–] Anticorp 3 points 2 weeks ago* (last edited 2 weeks 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.

load more comments (3 replies)