1
I can't code. (lemmy.world)

Across this vast Fediverse, I have encountered a trend of people answering questions with esoteric programming language speaking in tongues that I don't understand, including under my own posts. I am a Boomer when it comes to coding and I am only 27. I don't even know where I would start to learn it because programming is so diverse. I want to feel like I know what's going on but I don't. Coding is the future and the future is now and I am lagging severely behind. I guess I'm asking where a bumbling novice like me can learn more about where to start when it comes to programming.

top 7 comments
sorted by: hot top controversial new old
[-] gornius@lemmy.world 1 points 1 year ago

Software engineering nowadays is really complex. There is no way you're going to know what's going on, nobody is.

It's just the more experience you have, the easier it is to figure out what's going on. If you want to learn coding, just start coding.

I will start from something no one mentioned - start with Linux. Windows has its own very "special" ways of compiling stuff, while Linux is very simple. If you start on Windows, you'll probably use IDE which will set up everything for you (cause setting up thing in Windows is messed up), and it will still be a black magic for you how the code transforms into binary.

Many people recommend python, but I would start with C (not C++, C++ sucks). It will give you the understanding of basic concepts like memory management.

Then start using something like javascript, which will get you wide range of libraries, which you can use to build anything.

Then at the end learn how infrastructure works, how are services communicating with each other, how to put your server to the public, learn Docker, set up reverse proxy, run stuff in cloud.

[-] zombie_kong@lemmy.world 1 points 1 year ago* (last edited 1 year ago)

My biggest problem is figuring out what I want to do with any coding skills. I have none, by the way, and I don't even know where to start.

Some of the usual responses when I state this:

"Automate your work" - I work in Salesforce. Have you seen Salesforce? I'm not a multi faceted systems administrator constantly updating DNS records or working in Active Directory.

"Write a cool app" - What cool app? What is "cool"?

"Open dev tools and look around" - Why? Specifically, why?

Also, learning programming is BORING. Most of the courses I've tried are so so stale and they aaallll end up explaining concepts in the same way.

"This is a fleeble and it holds the sping, the sping tells the plus plus that it must do what the herbug says".

k.

[-] Dnn@lemmy.world 1 points 1 year ago

learning programming is BORING

Then it's not for you. No shame in that. I don't understand the notion that everyone is supposed to be a coder now.

If anything, the low-level coding part is something AI models may well make obsolete relatively soon. Unlike any craftsmanship - why not learn masonry or carpentry instead?

[-] kklusz@lemmy.world 1 points 1 year ago

My biggest problem is figuring out what I want to do with any coding skills.

Honestly, why learn programming then?

I’m asking this as a programmer myself. I’m not trying to discourage you from learning it by any means, if that’s what you want to do. I’m just asking because it doesn’t sound as if you actually want to do it.

You’ve already tried learning it, and it’s a slog (whereas for me, I was immediately fascinated by it when I was introduced to it as a teenager, even though I was horrible at it). You don’t have any burning desires to create apps (whereas for me, there are so many ideas I want to explore, so many things I want to create that don’t exist yet, but alas I don’t have enough time or energy to work on it all). You don’t even have the desire to do it for purely career-related purposes, which is what I’d imagine drives most of the rest of people learning programming without enjoying it at all.

So why bother with learning something you neither enjoy nor have strong motivations to do?

[-] Sicklad@lemmy.world 1 points 1 year ago

I'm somewhat of a programmer, but there's ideas everywhere in life. My bank came out with an API so I built an app that pulls it all down, stores it in a database, and makes some pretty graphs. Had no experience in fullstack or backend development before (I'm a sysadmin/cloud engineer), so it took me a really long time and I was following a course but adapting it to my project for a lot of it.

The other day I picked up an old game (Mu online) that is soooo grindy it even gives you an in-game bot to play for you, but if you die you just respawn in a safe zone. So I've started writing a script that reads the screen (character position is shown in x, y coordinates on screen), and those coordinates are within a given area (the safe zone) it will alert me. Again, had no experience with any of the window controls or image to text conversion (tesseract), but got chatgpt to help me a bit. Will it save me time? Maybe a little. Will I stop playing this game in a month? More than likely. Did I learn something? Absolutely.

I'm self taught but working in tech there's obviously more work related use cases to actually start learning, but there's every-day stuff you can do too.

[-] MossBear@lemmy.world 1 points 1 year ago* (last edited 1 year ago)

Has anyone mentioned the free Harvard CS50 course? Start there and learn the very basics of computer science and programming. By the time you finish you'll have a solid idea of where to go next.

[-] TheBeege@lemmy.world 1 points 1 year ago* (last edited 1 year ago)

What are these answers...

Wrong place to ask, but whatever.

It depends on what you want to build. If you're not sure, start with Python. It's likely easiest to pick up and get running. There's a book called "Automate the Boring Stuff." I think there's an online version. (Edit: link - https://automatetheboringstuff.com/)

If you don't want to set up Python (or any language, really) on your computer, there's a tool called a REPL that you can find online. So you can just search "Python online REPL," and you'll get a functional online environment to code. Now, you won't be able to do stuff interacting with your local computer this way, like reading files, but it's good for learning the basics of the language.

In terms of software for writing code in on your local computer, Visual Studio Code (NOT to be confused with Visual Studio) is a free, lightweight code editor. It supports every language via plugins.

If you do go the Python route, make sure to learn about virtual environments before you do 'pip' or 'conda' anything. Also, unless you're doing data science things, stick to pip. (Maybe some personal bias there, but I hate anaconda.) If you're starting from nothing, it'll be awhile until you get there anyway, so don't worry too much about it.

Most importantly, find a community that welcomes new learners. Learning to code is absolutely fucking brutal, so having supportive people available makes a world of difference. Bonus points if you can find an offline meetup in your local area.

this post was submitted on 20 Jul 2023
1 points (66.7% liked)

Fediverse

27732 readers
287 users here now

A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).

If you wanted to get help with moderating your own community then head over to !moderators@lemmy.world!

Rules

Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy

founded 1 year ago
MODERATORS