Time: ⏰ 1 hour and 15 minutes ⏰
Slides:
By the end of this lesson, fellows will be able to:
>> 1. Understand the inner workings of higher-order methods.
Time: 1 hr 30 mins - 2 hrs
Time: 1 hr 30 mins
Time: 3 hrs
function factorial(n){
if(n === 1) {
return 1
}
return n * factorial(n - 1)
} |
📐 Every significant project at Pursuit adheres to its unique style guide: a set of conventions that aim to create a consistent coding framework. When navigating a substantial codebase, consistency is key for comprehension and collaboration amongst students.
The term "style" encompasses aspects like "adopt camelCase for variable names" and principles like "modularize code" or "handle errors properly."
This document (Pursuit styleguide) introduces you to the stylistic standards we advocate for at Pursuit. As you code with Pursuit, you'll be referred back to this guide to ensure your code aligns with our best practices. Following these standards will help you develop good coding habits.
Here is an example from Google: Google JavaScript Style Guide
💡 Introduction: Before diving into data manipulation or database administration, one needs a secure and efficient platform. TablePlus provides a user-friendly interface that simplifies the interaction with PostgreSQL databases. The steps outlined below will walk you through setting up TablePlus, connecting it to a PostgreSQL database, and ensuring everything is in place for a seamless database management experience.
📚 Summary:
Access PostgreSQL: The foundational step to verify the server's operation. Database Creation: Establish a dedicated space for data, ensuring organization.
This guide walks you through setting up an Express backend connected to a PostgreSQL database, creating a table, seeding it, and testing endpoints with Tableplus.
1. Initial Project Setup
Why? Every project starts with an initial setup. This step creates the project structure and installs necessary packages.