Week 3 - Functions and strings

Functions

String functions

JavaScript Modules

Scope

IDE navigation

DRY (Don’t Repeat Yourself)

Function size

Using LLMs for efficient learning

Practice

Assignment

Back to core program

Week 3 Overview

In this week, we’ll start looking into reusability and the structure of code using Functions and Modules. When writing applications we will need to be able to reuse some of it for multiple purposes, which is what Functions allow us to do. We’ll go into how to write them and then introduce some standard functions provided by JavaScript that are useful.

The other big topic we will dive into are Modules, which is how we can separate our code into multiple files. These are both core concepts in keeping code maintainable as in the future you will be writing thousands and thousands of lines of code in just one project.

Finally we will continue our exploration of LLMs and how we can use them to accelerate learning!

Learning goals


The HackYourFuture curriculum is licensed under CC BY-NC-SA 4.0 **

CC BY-NC-SA 4.0 Icons

*https://hackyourfuture.net/*