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 thread.
View all comments
-1 points

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

permalink
report
reply
2 points
*

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.

permalink
report
parent
reply
3 points
*

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.

permalink
report
parent
reply
1 point

Why java

permalink
report
parent
reply
2 points
*

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?

permalink
report
parent
reply
1 point

Because it’s 2003

permalink
report
parent
reply

Programming

!programming@programming.dev

Create post

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



Community stats

  • 3.5K

    Monthly active users

  • 1.6K

    Posts

  • 26K

    Comments