Dotted notation
Dotted notation is syntax that uses periods to access or invoke members, qualify names, or represent hierarchical paths.
The Well-Grounded Rubyist, Fourth Edition
The dot operator is Ruby syntax that sends the expression on its right as a message to the object on its left.
- How it is used
- Uses dotted notation as the normal form for sending messages to Ruby objects and calling their methods.
- How deep it goes
- Explains receivers, method calls, arguments, and implicit `self`, while deferring detailed treatment of `method_missing`.
- Examples
- Demonstrates string conversion, an `Object.new` receiver with a `talk` method, and calls with and without an explicit receiver.
- What you can do after
- Practice/perform Ruby method calls with explicit or implicit receivers and distinguish a bare method call from a same-named local variable.
Read how The Well-Grounded Rubyist, Fourth Edition explains dotted notation →
Get Programming: Learn to code with Python
Dot notation is Python syntax that accesses an operation or attribute through an object by placing a dot between the object and the member name.
- How it is used
- Uses object-centered syntax to access type-specific operations and properties in Python.
- How deep it goes
- Explains object properties, operations, type inference, and explicit class calls, while deferring deeper object-oriented implementation details.
- Examples
- Uses lower(), upper(), replace(), append(), keys(), and Circle radius methods as concrete examples.
- What you can do after
- Apply it in Python to call operations on strings, lists, dictionaries, and custom objects.
Read how Get Programming: Learn to code with Python explains dotted notation →
MongoDB 8.0 in Action, Third Edition
Dot notation is MongoDB query syntax that accesses fields in nested documents or fields across array elements by joining path components with periods.
- How it is used
- Filters nested documents and array contents during MongoDB queries.
- How deep it goes
- Explains nested paths, array positions, quoting, and $elemMatch, while stopping short of broader query optimization.
- Examples
- Uses airline fields, route prices, customer accounts, tier details, and indexed array elements as query examples.
- What you can do after
- Apply it via MongoDB query filters for nested fields, arbitrary array elements, indexed elements, and same-element conditions.
Read how MongoDB 8.0 in Action, Third Edition explains dotted notation →
D3.js in Action, Third Edition
Dot notation is JavaScript property access syntax that places a property name after an object and a period.
- How it is used
- Uses property access to read and transform fields in JavaScript objects and datasets.
- How deep it goes
- Defines dotted access, contrasts bracket notation, and applies both within dataset iteration.
- Examples
- Uses employee objects, an employee dataset, property conversion, name extraction, filtering, and record lookup.
- What you can do after
- Apply it via JavaScript to read and update object properties while iterating through datasets.
Read how D3.js in Action, Third Edition explains dotted notation →
Data-Oriented Programming: Reduce software complexity
Dot notation is syntax for accessing a named property or member through a dot-separated expression.
- How it is used
- Contrasts concise property access with generic key-based access when applying data-oriented programming to maps.
- How deep it goes
- Defines dot notation and contrasts it with map access, but defers detailed language semantics and implementation internals.
- Examples
- Uses user.email, member.email, nested catalog paths, and Lodash _.get and _.at examples.
- What you can do after
- Evaluate when concise attribute syntax or generic path-based access better fits a data representation.
Read how Data-Oriented Programming: Reduce software complexity explains dotted notation →
Django in Action
Dot notation is syntax that accesses attributes, collection items, dictionary values, or no-argument callables through period-separated names.
- How it is used
- Connects Django template variables with nested object, dictionary, sequence, and callable data during rendered-page construction.
- How deep it goes
- Explains four lookup forms and demonstrates loop usage, but stops short of detailed lookup precedence or error behavior.
- Examples
- Uses person attributes, dictionary keys, fruit indexing, no-argument methods, and instrument lists rendered as HTML.
- What you can do after
- Apply it via Django templates to display context data and fields while iterating over collections.
Learn Rust in a Month of Lunches
Dot notation is Rust syntax that accesses a tuple element or object member by placing a period before its selector.
- How it is used
- Uses periods to select tuple elements, access struct fields, and call methods while keeping reference-heavy syntax readable.
- How deep it goes
- Explains tuple selectors, struct fields, method calls, and automatic dereferencing, but stops short of broader operator rules.
- Examples
- Demonstrates tuple positions, String emptiness checks through nested references, and struct field access through a borrowed value.
- What you can do after
- Apply it via Rust syntax to access tuple elements, read struct fields, and call methods without manually writing every dereference.
Read how Learn Rust in a Month of Lunches explains dotted notation →
Pandas Workout: 200 exercises to make you a stronger data analyst
Dot notation is attribute-access syntax that can retrieve a pandas column when its label is a valid Python identifier and does not conflict with an attribute.
- How it is used
- Uses concise attribute-style expressions to retrieve pandas DataFrame columns.
- How deep it goes
- Defines column access, contrasts row indexing, and stops short of broader pandas attribute mechanics.
- Examples
- Uses df.colname, df['x'], df.loc['x'], and df.iloc[0] to contrast column and row retrieval.
- What you can do after
- Apply it via pandas to retrieve compatible DataFrame columns and choose bracket notation for unsupported labels.
The Quick Python Book, Fourth Edition
Dot notation is syntax that accesses an attribute or method by placing its name after an object and a period.
- How it is used
- Accesses fields, methods, and imported module functions in everyday Python expressions.
- How deep it goes
- Defines attribute and method syntax through examples, then connects it to initialization, inheritance, and immutable strings.
- Examples
- Demonstrates circle fields, complex-number parts, math functions, list methods, inherited movement, and string capitalization.
- What you can do after
- Apply it to read and assign attributes, call methods, and invoke functions through imported modules.
Read how The Quick Python Book, Fourth Edition explains dotted notation →
Related concepts
- attributeuses · An attribute is a named property, value, or piece of information associated with an entity, object, or program element.
- dereferencingimplements · Dereferencing is the operation of following a pointer or reference to access the object or value it designates.
- subdocumentuses · A subdocument is a document nested within another document and stored as part of the containing document.
- indexingalternative to · Indexing is the organization or use of positions, keys, or lookup structures to identify and retrieve selected data or elements.
- square bracketsalternative to · Square brackets are paired punctuation marks used in programming-language syntax to delimit expressions or constructs, including indexing and collection literals.
- structuses · A struct is a composite data type or structure that groups related fields or values into a single unit.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.








