Course “JS: Building abstractions with data”
Course updated on September 6, 2023
Access this and all courses with a subscription
What's included
Description
Programming is not just about computing: any nontrivial program models within itself the domain for which it was designed. For example, Hexlet works with the Course, Project, Student and other entities; they can interact and are somewhat related. This is what is called an abstraction. In this course, we will learn more about what an abstraction is and how to build it.
You will learn
- Determine the domain entities and set the proper relations between them
- Select the correct data structure for storing entities
- Correctly design abstraction interfaces
- Identify the invariants and stick to them
- Use indexed and associative arrays properly
Syllabus
1 | About course Learn about the course, its structure, objectives, and goals |
2 | Ontology Meet the "domain" concept |
3 | Points on the coordinate plane Learn to model a specific domain |
4 | Array semantics Learn how to choose the right data structure for the task |
5 | Creating an abstraction Discover the rationale for hiding the data (structure) and examine the examples |
6 | Interfaces Meet the new terminology |
7 | Level-based design Learn to recognize the abstraction barriers and isolate abstraction layers |
8 | Invariants Get acquainted with the concept of data hiding and analyze examples |
Challenges
1 | Link processing |
Recommended programs

- Run code right in the browser
- Lifetime access
- Learn at your own pace
Access this and all courses with a subscription

