Should I learn Web Frameworks as a Beginner?

twitter logo ・1 min read

I have been doing front end web development on and off as a hobby for a few years now. I don't have any fully published works for public view, mostly due to self-doubt and thinking my code is 'ugly'.

Recently I have been more involved in front end coding and am starting to really love it more and more. My biggest issue is that there are so many resources out there that use frameworks and packages that do much of the heavy lifting for you. This sounds great but I feel it doesn't teach me very well, I want to know why the code works not just make it works.

My question is should I as someone who is still considered a beginner learn more about frameworks or is it better to focus on vanilla code?

twitter logo DISCUSS (4)
markdown guide
 

I would say it depends on the language you're using. If your programming language already has published code style guidelines, then I would say study them and use them in your code. Python and PEP8 would be a good example of this. However, say for a language like PHP, where a lot of best practices are community driver, I would say start with a good framework like Laravel which can really teach you how to structure and organize your code well.

One thing to remember with frameworks when starting out is that we often forget that there are other ways to do things as well. Frameworks are great ways to learn good coding practices, as long as we remember they are not the only coding practices.

 

Focus on vanilla code. Frameworks will make you produce working code - but you won't understand what is going on. This is nothing you should want to achieve.

 

I would suggest that you master the basics before touching any framework whatsoever. Also once you master the basics, you'll be able to learn and master any framework

 
Classic DEV Post from May 3

Formidable Labs to Start Paying for OSS Contributions

An interesting blog post came out today from Formidable Labs. As the blog title s...

Patrick Wilkes profile image

dev.to now has dark theme. 🌝

Go to the "misc" section of your settings and select night theme

P.S. It's also the best place to talk code amongst thoughtful developers, and it's totally open source.