this post was submitted on 29 Oct 2026
41 points (87.3% liked)

Ask Lemmy

42162 readers
1486 users here now

A Fediverse community for open-ended, thought provoking questions


Rules: (interactive)


1) Be nice and; have funDoxxing, trolling, sealioning, racism, toxicity and dog-whistling are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them


2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?


3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.


4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either !asklemmyafterdark@lemmy.world or !asklemmynsfw@lemmynsfw.com. NSFW comments should be restricted to posts tagged [NSFW].


5) This is not a support community.
It is not a place for 'how do I?', type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.


6) No US Politics.
Please don't post about current US Politics. If you need to do this, try !politicaldiscussion@lemmy.world or !uspolitics@lemmy.world


7) No Hit-and-Run questions.
Please don't delete your post for no apparent reason. If you plan on deleting a question later, say so in the post, or if you feel that you have a good reason to remove it, message a mod beforehand. It's not fair to the ones who took their time to answer, and it's not in the spirit of the community.


8) No Bots.
Posts or comments from bots, LLM's, AIs, Neural Networks, Transformers, or Marvin the Paranoid Android are not welcome in AskLemmy. Real humans only please.


Reminder: The terms of service apply here too.

Partnered Communities:

Tech Support

No Stupid Questions

You Should Know

Reddit

Jokes

Ask Ouija


Logo design credit goes to: tubbadu


founded 3 years ago
MODERATORS
 

Heyy, I'm learning programming and trying to choose a focus, I saw you can make web/backend w node, desktop (bloatware but discord uses it so if it works it works), games (not AAA and not optimized for performance but it shouldn't matter for indie too much) Is there anything that compares? I wanna focus on one thing instead of spreading myself over a ton of languages, I do feel js is interesting for this, but I'm just starting out, so looking to hear some thoughts of people more familiar with programming.

(page 2) 30 comments
sorted by: hot top controversial new old
[–] Zwuzelmaus@feddit.org 2 points 3 days ago (1 children)

I would not recommend to choose JS as your first language. Yes, it is versatile, but it has many varieties, good and bad ones, and it can easily cause bad habits in your coding.

So you better choose one of the more strict languages. Maybe Kotlin. Or python, or rust.

Or good old C, as some others have suggested. C is a great teacher for good habits, because it's outright dangerous to make certain mistakes there. But it is not so much used anymore.

[–] SlayersFan@lemmy.world 1 points 3 days ago (3 children)

seems python is super popular too, can you build nice UI's with it? I mostly see python on AI stuff and cli

[–] Zwuzelmaus@feddit.org 1 points 3 days ago

Good UIs are not made in good programming languages, but in good UI builder tools.

That's because the UI should be somewhat separated from the logic "below". You can still use python, no problem at all, if your UI tool supports it.

[–] waldfee@feddit.org 1 points 3 days ago (1 children)

Yes, there are some to choose from. Though if you want to make games you probably want to use Godot instead. It's language, gdscript, is like python

[–] SlayersFan@lemmy.world -1 points 3 days ago (1 children)

Oh I know godot, I met the guy who made it... on grindr of all places haha

load more comments (1 replies)
[–] THE_GR8_MIKE@lemmy.world 2 points 3 days ago

I'd imagine it's Python. I have limited programming knowledge but like to experiment. During covid I messed with C, Javascript, Python, and even Commodore BASIC just to mess around with stuff. Python is by far the most user friendly modern language, I feel. The hardest part of Python for first time users is getting the IDE and PATH all set up.

[–] dreadbeef@lemmy.dbzer0.com 2 points 3 days ago* (last edited 3 days ago)

I think so. If you want to target as many platforms as possible it isn't a bad choice. JS is unmatched, imo, for prototyping applications as well as being capable of turning them into something worthy of shipping to production. Lots of resources, isn't going anywhere anytime soon. Server languages all compete for dominance in usage. JS doesn't compete with anything and probably never will unless WASM really gets popular, which it isn't close at all yet.

[–] grue@lemmy.world 2 points 3 days ago* (last edited 3 days ago) (1 children)

"When all you have is a hammer, everything looks like a nail."

[–] SlayersFan@lemmy.world 1 points 3 days ago

mhmm! that's the basic rationale i had when trying to learn one general language at the beginning, It won't be optimal but who cares? I'd rather be able to build more mediocre things broadly than only knowing one thing. Kinda how you start out with Ryu or Ken on street fighter games even if they are in the middle of the tierlist just because they have a bit of everything on their kit

[–] melsaskca@lemmy.ca 0 points 2 days ago (2 children)

Powershell? Is that a language? I used that to propel a lot of my projects in the past. I could do almost anything with it.

load more comments (2 replies)
[–] some_guy@lemmy.sdf.org 1 points 3 days ago

Web apps are probably the most accessible way to distribute games. I dislike Javascript. But I only write code that processes text and files. I'm not your intended audience.

No. Not the most anything. As a sibling commenter noted, no lang is king / queen. They all have their pros and cons. For native apps, learn a C variant or Rust or Go of something. Depends on your platform.

[–] panda_abyss@lemmy.ca 1 points 3 days ago

Sort of. I’d say JavaScript is well distributed for sure. Being the only first class browser language and 25 years of R&D from the biggest companies in the world have made JavaScript usable for a lot of things you mention.

Versatility of a programming language is usually inversely related to the size of its standard library. See C vs Python.

So in my opinion languages that are versatile may not be the most productive, so it’s always good to learn new ones and incorporate the ideas they can teach you.

[–] chunes@lemmy.world 1 points 3 days ago

No. There is no one-does-it-all language. Learning Javascript will be great for webapps but most importantly it will make it easier to learn a language more suitable for making games or backends.

[–] HubertManne@piefed.social 1 points 3 days ago

scripting languages tend to be easy to get things going since you don't need a compile and versatile. Its what I know best as most of my things is what they call operations now. It tends to be sorta light for development though.

[–] toiletobserver@lemmy.world 1 points 3 days ago (2 children)
load more comments (2 replies)
[–] unmagical@lemmy.ml 1 points 3 days ago

Most popular languages have relevant libraries to help you build what you're trying to build, but that doesn't mean a language is particularly good at doing such a diverse list of things. JavaScript is, bluntly, a crutch with so many different tools to bring it to a variety of different ecosystems, but fundamentally you're still probably writing web stuff with it (unless you're using something like NodeGui).

As a student your top priority is to learn the fundamentals. Learning a specific language is secondary (and once you've learned a couple, new ones are easier to pick up). If you are just looking for a single language to start with, I'd choose something typed and compiled which will help you build an understanding of what is actually going on more than JS's magical black box of working until it doesn't. Languages like C#, C++, Go, and Rust fit this bill. Of those, I'd personally choose C# if you're looking for one language to do web stuff, gaming, mobile, and desktop applications.

[–] jimmy90@lemmy.world -1 points 2 days ago

rust is now the most versatile language. however it is not yet the most popular or easiest language

it's pretty great tho

load more comments
view more: ‹ prev next ›