V
1

Pro tip: I think everyone's wrong about starting with Python for web stuff.

I tried to build a simple website with Flask last month and got stuck for 3 days because the error messages were so vague. I switched to just using plain HTML, CSS, and a bit of JavaScript and finished the project in an afternoon. Why do people push beginners toward frameworks before they know the basics?
3 comments

Log in to join the discussion

Log In
3 Comments
ward.anna
ward.anna1d ago
Switched to plain PHP for a backend after hitting a wall with Django. The framework was doing too much magic and I couldn't see where my code broke. Building a few simple scripts that just echoed HTML made the whole request cycle click. Now when I use a framework, I actually get what it's doing for me.
2
eric_adams11
Bro plain PHP? That's like going back to the stone age on purpose lol. I get wanting to see the request cycle but man, dealing with all that raw SQL and manual HTML escaping sounds like a nightmare. You must have the patience of a saint to build anything real that way.
6
daniel_cooper34
You say it's a nightmare but that's exactly why it's good. You learn what's actually happening instead of trusting magic. Then when you do use a framework you know what to fix when it breaks.
3