If you had to start learning to program from scratch, how would you do it?

proxysolid1

Junior Member
Jr. VIP
Joined
Dec 31, 2023
Messages
140
Reaction score
53
I have always wanted to learn to program, and now I have a lot of free time, but I always see that there are so many languages, I want to learn more than everything about creations, web page design, front, bag and API, what would you recommend if I had to learn everything from scratch?
 
I have always wanted to learn to program, and now I have a lot of free time, but I always see that there are so many languages, I want to learn more than everything about creations, web page design, front, bag and API, what would you recommend if I had to learn everything from scratch?
Make the table what you want to learn there after start 1 by 1 with practise
 
I have always wanted to learn to program, and now I have a lot of free time, but I always see that there are so many languages, I want to learn more than everything about creations, web page design, front, bag and API, what would you recommend if I had to learn everything from scratch?
The first thing I would do is have a goal and purpose.

I'll be honest, it looks like you are aiming to learn everything about everything and that's a strategy for failure.

First learn a language. A general purpose language that works for almost all domains and is beginner friendly. Something like Python, or Node/Js, or Java.
Not something like Rust or C++

Then Pick a domain, what do you want to build. Do you want to make a website? Do you want to make a mobile app? Do you want to make automation scripts?
Choose one and start learning. You might need to learn a language or two more to work in that domain. (Like SQL and html/CSS in the web world)
 
The best tip I can give you is to never rush when learning your first language
 
Do you want to make automation scripts?
I love it.

web world
I hate it.

So I would start with automation and forget WordPress and other web dev things.

I like puppeteer. Sometimes, if it's possible, I like requests. I like to scrape a little bit of data for myself.

Web dev - people literally can do it for free for you. This is deadend of programming. :D Unless it's something super complex, you can usually get all your web dev stuff from the internet for free or at very low costs.

Custom automation on the other hand isn't that easy to obtain. Really isn't.

I would learn basics of JavaScript, then go to node.js. And I would keep my focus on this.

When I started I learned about 6 or 7 frameworks and languages?! I don't use any of that today. Big mistake, sort of. Shit took 3 years of my life. I was really distracted... doing one technology, another pops up and it would never end. I even started learning Scala. Not a good idea.
 
Last edited:
I have always wanted to learn to program, and now I have a lot of free time, but I always see that there are so many languages, I want to learn more than everything about creations, web page design, front, bag and API, what would you recommend if I had to learn everything from scratch?
what do you like ?
Web => reactjs
APP => Python
most popular now.
 
PHP is the ugliest language. But React is the wackiest library out there.

Try Angular. It's from Google. Google is smarter than Facebook (React).

If you mind delivery speed, django might be good.
 
PHP is the ugliest language. But React is the wackiest library out there.

Try Angular. It's from Google. Google is smarter than Facebook (React).

If you mind delivery speed, django might be good.
Well I see a lot of things here which I do not agree with.

1. You have not probably tried php after 5.6. It has changed a lot. To say php is the ugliest language is simply being ignorant.

2. The maker of Angular was Miško Hevery, who since then moved on with other projects. He is the same person who later developed Qwik. Yes Google owns Angular, doesn't mean it is better than the competitors. React, Qwik, Solid.js, Vue - these are all pretty good ITO what they offer. Angular has also gotten better over the years, but it is not correct to say because google owns Angular, it is objectively better.

3. I have worked with django, and I would say that this is not a correct statement, especially for someone new to programming. Or atleast, it is debatable which one is the fastest in terms of time. To me personally, yii framework is the quickest in terms of getting shit done. Could be different for someone else.
 
1. Pick a project that really interests you so you stay motivated.
2. Pick JavaScript as your first language. It is most versatile and you can do almost anything with it. Forget about TypeScript for now.
3. Use nodejs as back-end and if you need a front-end use React and Next.js
4. Go to GPT-4 (only 4, not chat GPT or 3.5) and ask it for directions step-by-step and really try to understand what you are doing.
If you don't understand it even after speaking with GPT-4, search online and ask in communities.
Always try to do the code in the best way. Also speak with GPT-4 about best practices.
 
Honestly, it's mostly just to learn website creation and design, plus API creation, I've been seeing that phyton is like the most used actually, or some like that.

But shouldn't you learn some more basic HTML styling or stuff?

1. Pick a project that really interests you so you stay motivated.
2. Pick JavaScript as your first language. It is most versatile and you can do almost anything with it. Forget about TypeScript for now.
3. Use nodejs as back-end and if you need a front-end use React and Next.js
4. Go to GPT-4 (only 4, not chat GPT or 3.5) and ask it for directions step-by-step and really try to understand what you are doing.
If you don't understand it even after speaking with GPT-4, search online and ask in communities.
Always try to do the code in the best way. Also speak with GPT-4 about best practices.
That is an excellent idea, about the GPT, if I do not understand something.

The first thing I would do is have a goal and purpose.

I'll be honest, it looks like you are aiming to learn everything about everything and that's a strategy for failure.

First learn a language. A general purpose language that works for almost all domains and is beginner friendly. Something like Python, or Node/Js, or Java.
Not something like Rust or C++

Then Pick a domain, what do you want to build. Do you want to make a website? Do you want to make a mobile app? Do you want to make automation scripts?
Choose one and start learning. You might need to learn a language or two more to work in that domain. (Like SQL and html/CSS in the web world)
Yes I was reading, phyton is one of the most friendly, but, I should have to learning first HTML or some about programing, or the first thing Phyton?
 
1. Off topic but Multi-quote is your friend, please use it when making consecutive replies on this forum.
2. Dont let procrastination half your progress. Pick a language and make it your goal to learn it for a set period - maybe 3 months. Then re-assess. Does it matter too much which language you pick, probably not - best just to get cracking with it otherwise you will spend too long deliberating over which language to pick and you wont get any closer to your goals.
 
1. You have not probably tried php after 5.6. It has changed a lot. To say php is the ugliest language is simply being ignorant.
So which is the ugliest?

edit: just checked YII and laravel 9
Still ugly.
2. The maker of Angular was Miško Hevery, who since then moved on with other projects. He is the same person who later developed Qwik. Yes Google owns Angular, doesn't mean it is better than the competitors. React, Qwik, Solid.js, Vue - these are all pretty good ITO what they offer. Angular has also gotten better over the years, but it is not correct to say because google owns Angular, it is objectively better.
You win. I should have said, Angular is better because it's a framework and not a library giving more strict guidelines and structure to work with.

As a beginner I learned some frameworks cause I thought they have some magical powers.

Unfortunately, they neither made me more money nor made me a happier person.

I just had to learn the same thing in a different packaging.

Turns out most of the time I need plain javascript and having own set of project specific classes.

I can reinvent the wheel the way I think should be reinvented for my specific case.
3. I have worked with django, and I would say that this is not a correct statement, especially for someone new to programming. Or atleast, it is debatable which one is the fastest in terms of time. To me personally, yii framework is the quickest in terms of getting shit done. Could be different for someone else.
Yes. If you have super fine tuned model for writing C, you might be the fastest with C.

Yes I was reading, phyton is one of the most friendly, but, I should have to learning first HTML or some about programing, or the first thing Phyton?
What type of project / product / app do you want to create?

Answer this question, so we can make better suggestions.
 
Last edited:
So which is the ugliest?
I am going to get some heat for saying this, but IMHO python takes the crown. It is ugly as hell, atleast DX wise.

edit: just checked YII and laravel 9
Still ugly.
They are just frameworks on top of PHP. PHP itself is not bad atall, even performance and DX wise. You have to play around a little more to know what I am talking about. :D

You win. I should have said, Angular is better because it's a framework and not a library giving more strict guidelines and structure to work with.

As a beginner I learned some frameworks cause I thought they have some magical powers.

Unfortunately, they neither made me more money nor made me a happier person.

I just had to learn the same thing in a different packaging.

Turns out most of the time I need plain javascript and having own set of project specific classes.

I can reinvent the wheel the way I think should be reinvented for my specific case.
Yes, even plain old JS can get the job done. I would do it for a personal project. I would just use vite with plain typescript. It will ultimately get transpiled to html and js, but I would still have a great DX.

Yes. If you have super fine tuned model for writing C, you might be the fastest with C.


You mean in terms of runtime, or development time? Runtime - C takes the crown probably... But, I would not touch it with a stick. I would rather use rustlang if performance is what I am trying to achieve. It will be memory safe.

Development time - I would use something that has a big plugin/extension ecosystem - so that I won't have to code everything from scratch.
 
I like this...

https://catonmat.net/frameworks-dont-make-sense
Just went through a set of functions I wrote a month ago.

I'm impressed by how much of this stuff can be used throughout projects and in future endeavors.

The key is to abstract properly.

Few examples:
  1. createBrowser()
  2. startBrowser()
  3. getProxies()
  4. connectWithDB()
  5. retryOperation()
  6. autoScroll()
  7. xpathTextSelector()
  8. typeWithDelay()
  9. findElementAndClick() - does like 20 repetitive lines, so all files are like 5 times shorter
  10. extraEvaluateInstantType() - one of the most exclusive functions; people still use type() of puppeteer where I without using clipboard and ctrl + v edit DOM instantly
DB schema is almost the same.

A private library is a great idea.
 
i would like to learn how to automate social media profiles, acc creation, liking, posting, etc. one day i would like to run thousands of social media accounts that generates millions of clicks.

do you think I could do this with python and selenium?
 
i would like to learn how to automate social media profiles, acc creation, liking, posting, etc. one day i would like to run thousands of social media accounts that generates millions of clicks.

do you think I could do this with python and selenium?
Sure, python and selenium, OR node and puppeteer. It depends on what you are more comfortable with - JS or python.
 
Sure, python and selenium, OR node and puppeteer. It depends on what you are more comfortable with - JS or python.
obviously i should learn how to run proxies, create proxies. don't you think? do you think is is something reasonable or something so difficult that just 0.01% of devs knows how to do it?
 
Back
Top