← Home ← Back to /g/

Thread 106928109

24 posts 8 images /g/
Anonymous No.106928109 >>106928129 >>106928259 >>106928335 >>106928410 >>106928570 >>106928611 >>106928683 >>106928812 >>106929112
Ok cut the bullshit, how the fuck do I learn how to program/code?

I already have every single ebook and video tutorial (they all use python to teach noobs) but either they suddenly bring advanced concepts and i get lost, or they dont know their audience and dont hold your hand as much as they should, either way it becomes impossible fast.

Not to mention the practice exercises which are a nightmare.


Wat do?
Anonymous No.106928129 >>106928206
>>106928109 (OP)
I have found that the best way to learn it is to have a project in mind.

Programming is a tool to achieve something, not an end on its own. What would you like to achieve? Make a game? Scrape a website? Generate files? Images? Make reports? Automate boring job? Pick something and don't give up until you achieve it.
Anonymous No.106928206 >>106928254 >>106928293 >>106928313
>>106928129
Im a manual qa and would like to get into automation, but that brings another complexity which means first i need to learn python and god knows when i will be decent enough to try or learn a framework like selenium or playwright which just makes me lose more hope
Anonymous No.106928254
>>106928206
Do not lose hope. On the contrary, that's a great motivator.

https://learnpythonthehardway.org/book/advice.html
Anonymous No.106928259
>>106928109 (OP)
Google: ossu
Anonymous No.106928293
>>106928206
n8n can help but idk about if it is for companies
love you have fun
Anonymous No.106928309
samefag
codedex.io for actual handholding I think if you get the sub you get access to a discord with programmers ready to help you if you struggle
website itself is good too
W3 schools for everything else
Anonymous No.106928313
>>106928206
playwright is actually pretty easy just ask the llms to explain it to you like a retard, man.
literally just take any question you have about playwright, the context of your situation and be like
>dont give me any code but explain how this will work, how easy will this be for me to get started

then do stuff like
>start with a simple script that goes to a website, saves a screenshot in a page
and u just learn to write scripts, run them, and the AI(LLM) will help you.
Anonymous No.106928335
>>106928109 (OP)
Piece by piece, hour by hour, day by day you practice just a little bit every day. It takes time but so does everything worth doing
Anonymous No.106928403 >>106928432
Build an actual understanding of how computers work from the ground up, meaning understanding the CPU and memory and how it relates to assembly code. Then work your way up to learning C to see how a higher level abstraction is created from the low level.
Then, learn how OS, networking and stuff like browsers & http work. In my opinion it's super important to learn OS theory because you then understand how the thing you're always using as a user (desktop environment and windows etc, running multiple programs at once) gets built from the hardware and low level code.

On the side, learn and practice with basic python so you do actually get experience with coding and a feel for how logic structures work and how they solve problems.

Both are very important, and it's a grave error for beginners to not start learning the low-level stuff right away. just knowing js & python is for nocoders. don't mistake this for python and js being bad langs (js is but besides the point), it's about the fact that they are higher level programs.

Learn about concepts like abstraction, highlevel vs lowlevel, algorithms. talk with chatgpt about how this dead box in front of you (computer) is actually able to read instructions, and how it all flows together to make a coherent system.
Anonymous No.106928410
>>106928109 (OP)
Read SICP and watch the lectures. You don't even have to finish it the first time if it's too fast. Then program fun stuff you like. You don't have to finish those at first either, just write something.
Anonymous No.106928432
>>106928403
https://www.youtube.com/watch?v=LfaMVlDaQ24&pp=ygUEY3M1MA%3D%3D
This is a great start to learning the concepts.
Hacking: The art of exploitation is a great book for knowing the low-level stuff. Don't begin with it, practice and learn for 6 months, then start with the book. If you understand this book you have a better understanding of code than most corpo js ghouls and the like, and learning new stuff will be so much easier from that point on. don't skip the low level stuff, but dive in immediately to get it out of the way. it will grind your gears at first but don't give up.
And again, on the side learn python and start coding basic projects so you actually get some results for yourself and are actually coding stuff. Leetcode etc is also great to practice.
Anonymous No.106928480
Its simple install arch by hand the rest can be done by ai
Anonymous No.106928570
>>106928109 (OP)
>step 1 - don't be a retard
>step 2 - watch/read some college courses on how computers work, what hardware it consists of, what software runs on it and how (was called computer engineering 101 in my school, but idk what they're calling it now)
>step 3 - watch/read some college courses on algorithms and data structures
>step 4 - start following online tutorials for w/e language and application domain you're interested in
>step 5 - try actually building something using the knowledge and skills you acquired
Congratulations, you've finished a (very) abridged version of a CS degree
Anonymous No.106928611 >>106928646
>>106928109 (OP)
Here's something nobody will tell you:

There's a huge skill gap between noob books and tutorials and pro level.
Noob level stuff is something you are supposed to do as kid or teenager or within like 1 year if you are an adult, and then you go to university, or get a job and grind there.

For self learning, the best is to either to copy the code from git and try to reimplement it or or ask AI. You won't learn mathematics that way tho.

A lot of current coders are lower class people who got there thanks to education, and have a false sense of elitism, not super clever high iq prodigies or people from middle class families. We are onto more abstract jobs by now.
Anonymous No.106928646 >>106928679 >>106928741
>>106928611
more abstract jobs such as?
Anonymous No.106928679 >>106928759
>>106928646
Not sharing the secrets, on /g/. We have to gatekeep anything better than codemonkeying.
You could be a jeet or normie trying to weasel his way, into our current thing.
Anonymous No.106928683
>>106928109 (OP)
Put in the hours.
You already know how to program, just get better at it.
There is no 'a-ha!' moment.
Anonymous No.106928741 >>106928830
>>106928646
He's being a cryptic Gaylord but he means specializing in some capacity
Anonymous No.106928759 >>106928830
>>106928679
np, your picrel revealed the answer anyway; a dick-taking furry sysadmin faggot.
Anonymous No.106928812
>>106928109 (OP)
Can't even imagine learning on Python. When I went through school it was 100% C, entire CS program in C.

I'd recommend learning generic algorithms/flowcharts/pseudocode. From here, you start coding C. Once you have a grasp of the syntax and a foundation, then you move to data structures. I'd also toss in some discrete math, more along the lines of boolean math in the foundation. If you can pick up C up through data structures, everything else becomes trivial to learn.

Warning - If you learn C well enough, you'll realize OOP is steaming hot shit that poured out of Satan's asshole.
Anonymous No.106928830
>>106928741
>>106928759
Yes, obviously sysadmin and specializing is the secret! Please don't do that.
Anonymous No.106929076
First you gotta fuck off and do something
Anonymous No.106929112
>>106928109 (OP)
I've spend hundreds of hours on renpy and similar engines with scripting and I just don't get a single thing. I just wish I had a girlfriend so I wouldn't have to dabble on these programs.