BD Unit 4 Sprint 14 - Code-Alongs
Code-Along Overview
These code-along sessions are designed to give you hands-on experience with the concepts covered in this sprint. Follow along with the instructors as they guide you through implementing custom exceptions, dependency injection, and linked list data structures.
Code-Along 1: Custom Exceptions
Overview
In this code-along, you'll practice creating custom exceptions for a real-world application. You'll learn how to design an exception hierarchy that effectively communicates error conditions to clients of your API.
Learning Objectives
- Implement custom exception classes with proper constructor signatures
- Design an exception hierarchy for a specific domain
- Practice exception chaining to preserve error context
- Use appropriate exception types for different error scenarios
Resources
Code-Along 2: Linked List Implementation
Overview
In this code-along, you'll implement a linked list data structure from scratch. You'll gain a deeper understanding of how linked lists work internally and when they're appropriate to use in your applications.
Learning Objectives
- Implement a basic linked list with nodes
- Add, remove, and search operations in a linked list
- Understand the performance characteristics of linked lists
- Compare linked lists to array-based lists