Switching between languages

The same principle applies when switching between different programming languages. When switching between projects, you need to juggle between different contexts; when switching between languages, you need to juggle between different syntax, data structures, and ecosystems. To demonstrate, the following table illustrates some key differences between Python and JavaScript:

Python JavaScript
Has many data types, including None, Boolean, int, float, complexlist, tuple, range, strbytes, bytearray, memoryviewset, frozenset, dict, and many more Has seven data types: undefined, null, Boolean, number, string, symbol, and object
Statements are grouped by indentation Statements are grouped by blocks, expressed ...

Get Building Enterprise JavaScript Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.