Resources for learning to code
• Lastmod: 2019-09-12
I'm sometimes asked about resources I would recommend for learning how to code. That phrase can mean a lot of things, so pulling from my own experience, here's how I'd narrow it down. Please note that these are my personal recommendations, and are only a very small slice of the “learning to code” pie.
All resources linked below are free, except those by TeamTreehouse. Yes, their content is paid, but it's well worth it, as they have the best cost-to-value ratio of any online video course I've used. They offer a free trial, so if you hustle, you can finish a full course before the trail expires.
Basic Web Design #
If you just want to build pretty websites, a solid foundation in HTML and CSS is what you need.
Advanced Web Design #
As you get more serious, you'll want to keep your projects in version control (Git). Long gone are the days of losing your only site backup. And if you're on a team, Git makes collaboration easy.
Before learning Git, it makes sense to have a solid foundation in command line, which is called Command Prompt on Windows, or Terminal on Mac and Linux. If you plan to work in IT/Software, command line skills will pay dividends throughout your career.
Finally, learn a Static Site Generator, which will keep your code DRY with base templates and layouts, and make the build-test-deploy cycle faster.
All previous items, plus:
- Command Line
- Static Site Generator
Web Development #
If you plan to work in Software, then you'll definitely need to learn Relational Databases, as these will be the datastore for most web apps. SQL is the language used to query relational databases.
Next is learning a Server Side Language and Framework. Some of the most popular are listed below – and from my experience – are the most likely to land you a job. Instead of hopping around from language to language (and framework to framework), I recommend picking one, and learning it well.
Most projects these days use Continuous Integration (CI), aka The Pipeline, which basically means you merge in small changes often, instead of waiting till the end to merge in a big change. These small changes then get the full treatment, e.g. your project is built from scratch, tested, then deployed to various environments.
Finally, there is containerization. This adds a level of abstraction to the web app, which makes it easier for developers to get their environment setup and get consistent testing results. Among other things, it also ensures the environment you are working with locally will be the same environment in Dev, PreProd, PROD, etc.
All previous items, plus:
- Relational Databases and SQL
- Server Side Language and Framework
- Continuous Integration (aka Pipeline)
Next: Create an HTML table from a TOML data file in Hugo
Previous: The os.Stat function in Hugo