this post was submitted on 07 Jun 2024
35 points (88.9% liked)

Programming

17418 readers
195 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
 

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@lemmy.world -1 points 5 months ago (2 children)

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

[–] tatterdemalion@programming.dev 2 points 5 months ago* (last edited 5 months 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@lemmy.world 3 points 5 months ago* (last edited 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.

[–] diy@sh.itjust.works 1 points 5 months ago (2 children)
[–] Anticorp@lemmy.world 2 points 5 months ago* (last edited 5 months ago)

I missed the part where you said you're also interested in building a website. Java is a popular and powerful programming language for desktop and mobile development. You can also use it with a framework for back-end website development, but there are better options out there. If you want something that does everything you posted then JavaScript is actually a good option. You'll need frameworks for back-end website development and desktop development, but it's kind of a beginner friendly language, and ChatGPT can help you set up the frameworks. It does get complicated working in the different stacks though. What do you want to build first?

[–] g_the_b@lemmy.world 1 points 5 months ago

Because it's 2003