this post was submitted on 21 May 2025
66 points (95.8% liked)

Ask Lemmy

31764 readers
885 users here now

A Fediverse community for open-ended, thought provoking questions


Rules: (interactive)


1) Be nice and; have funDoxxing, trolling, sealioning, racism, and toxicity 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 !askusa@discuss.online


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 2 years ago
MODERATORS
 

I've always wanted to understand what is actually meant by this. I have wanted to get into programming for years, did some basic python and c, but could never really progress. Not necessarily a linux question but I know since most distros come with libraries already, it's popular to use for programming.

I have trouble understanding what people are actually programming if it isn't their job. Like, you go to your computer and start working on...what? I don't know enough to make an entire program or debug a game, so im just unsure what people do especially when starting out.

Also I don't really want to learn it for a job. I just want to learn it to know it. But im not sure how to apply it to anything realistic.

you are viewing a single comment's thread
view the rest of the comments
[–] Zarxrax@lemmy.world 5 points 19 hours ago* (last edited 19 hours ago)

I do some programming as a hobby. I'm far from being an expert or even competent at it. You work on whatever you WANT to work on. Sometimes this can be born from necessity, you need your computer to do something, but you can't find any existing application that does the specific thing that you need. Sometimes maybe you just want to create something, just because it seems interesting to you, or just because.

So just for example, one of my hobbies involves working with video. Years ago, I was frustrated with the options available for encoding my videos into h264, so I ended up creating my own GUI around FFMPEG. It was easy enough and effective for what I needed, that the tool became quite popular among others in my hobby.

Recently, machine learning has made it possible to do cool stuff like remove the background from a video clip. A lot of this stuff is really difficult to even get working, let alone to use effectively. So a current project I'm working on is a GUI for such a tool to make it really easy to use.

So yeah... First I would say you need to figure out what you want to do. Why do you want to write a program? What do you want to accomplish?

Then you need to learn the basics of programming in whatever language you intend to use. And just gain a basic understanding of how programming works in general. Once you know enough to be dangerous, you can start working on something. Getting started is the hardest part, and involves really thinking about your problem, breaking it down into smaller parts, and considering how to solve each of those small parts. This can involve lots of research, lots of googling, and finding frameworks or libraries that might help you accomplish what you need.

LLMs like chatgpt have also been amazing in helping people like me to create something much more quickly than before. I can ask it for thoughts on how to accomplish a specific thing, or even have it write entire sections of code for me. Just yesterday, I had it create a script for me which I estimate would have taken me 10-20 hours to write on my own. However, they don't always give right answers, so it's really important to have a basic level of understanding of programming so that you can understand the code that it gives you. I don't use any code until I understand how it works. The LLM can also help explain the code to you!