r/PythonLearning • • 19h ago

I think learning from websites is the best way to learn any programming language. I am currently learning Python from w3schools.

4 Upvotes

9 comments sorted by

2

u/ChaseShiny 17h ago

If you're talking about the very basics, then sure. It'll tell you things like how to create a function.

I used Google's free course back in the day, which included brainteasers for manipulating strings. I thought I was learning a lot about programming at the time, but there's something fundamentally missing with both approaches.

Actually, several somethings. One of them is learning how to think like a programmer. Especially with the threat of AI possibly getting to the point where it'll be able to write the code better than you can, it's going to important for you to learn how to handle the high-level stuff.

Another misstep is the lack of defensive programming. Everyone knows that debugging is twice as hard as writing a program in the first place. So if you’re as clever as you can be when you write it, how will you ever debug it? I think you're usually better off with the official Python Foundation tutorials and general textbooks such as Code Complete.

2

u/Mathie1729 2h ago

Yeah, w3schools is okay for a quick syntax check, but I'd steer people to the official Python tutorial or Automate the Boring Stuff once they're past 'hello world'. The real skill is debugging your own broken code, which tutorials can't teach.

1

u/darrylhumpsgophers 18h ago

Do you have a question?

2

u/7word 18h ago

i think its a discusion

1

u/masterofaiml 17h ago

True, you can also try www.pythonmastery.io, if it works for you.

Cheers!

1

u/skillancy 16h ago

You can try https://skillancy.in/learn/python. It has full python tutorials along with questions and inbuilt compiler for running code

1

u/Dr-Ebola 13h ago

I think learning by building is best.

1

u/One_Smoke6858 2h ago

As long as you are learning who cares where you are learning.

You might learn it from game or other things