Datatypes | JS Fundamentals

> Data dominates. If you've chosen the right data structures and organized things well, > the algorithms will almost always be self-evident. Data structures, not algorithms, are > central to programming. > – Rob Pike

Advance your knowledge of **data types** and declaration patterns with comprehensive set of exercises. Go trough interactive quizzes, and solve downloadable tasks to figure out how everything works together. Learn to see differences between dicts, structs, tuples, arrays. Master data declarations, destructuring, spreads, etc. Warning: your perception of the topic will change forever!



Primitives vs Objects (15 exercises)
Properties (15 exercises)
Type Casting (9 exercises)
Structures (9 exercises)
Representations (11 exercises)

59 exercises with solutions and explanations.

Before you start

1. We believe that a learning environment should be as realistic as possible. There are no Paste-n-Run sandboxes for coding tasks at Paqmind. You should use your own editor to write code and your own machine to run it – like a real programmer does.

2. Make sure you know the required theory, at least in the first approximation. Terms from the Topics should sound familiar for you. Refer to the Theory list below and always search for more. Start tomorrow (or next week) but start prepared.

3. Don't expect to pass the tutorial in one sitting. It's not a usual Easy-Level stuff made to massage your ego. We tried to make each exercise challenging, sometimes even discomfortable, yet enlightening. If you're here just to verify your knowledge, it may take a few days. But if you're new to the topic – it may easily take two weeks or more.

From the author

Data type (or just type) is a form in which you represent business data in a program. Any real-world data can be represented in multiple ways and the choice should not be random. In this tutorial we won't dive deep into Type Theory (we'd probably need TypeScript for that) and concentrate on data, its forms and representations instead (hence the title). Every concept we cover here is super important and we suggest you to give it a go, especially if you don't have a CS degree. Let's learn by practice!





About the Author

Ivan Kleshnin
Fullstack Engineer

Experienced software engineer, mentor and entrepreneur. 12+ years in webdev. Generalist. Proponent of minimalism and 改善 (kaizen). In his free time, Ivan creates learning materials and blogs about programming and web development. As a mentor, prefers to give knowledge that will remain relevant over the years.


Challenge your friends and colleagues.