liveBook · Manning

Keyword

Also called reserved words

A language-defined word or token with a predefined syntactic or semantic role, which may be restricted from use as an ordinary identifier.

How 3 Manning books explain it

The Well-Grounded Rubyist, Fourth Edition

A Ruby keyword is a predefined reserved term associated with a specific programming construct or syntactic context, including the logical-negation keyword not.

How it is used
Distinguishes reserved syntax from local variables and method calls when reading Ruby identifiers.
How deep it goes
Explains reserved words and the order of bareword resolution, without cataloging every keyword.
Examples
Uses `def`, `if`, `class`, `true`, `false`, and an unresolved bare `x` to distinguish syntactic roles.
What you can do after
Diagnose/debug ambiguous Ruby barewords by checking for a keyword, assignment, parentheses, or an existing definition.

Read how The Well-Grounded Rubyist, Fourth Edition explains keyword →

Get Programming: Learn to code with Python

A keyword is a reserved word in a programming language with a predefined syntactic meaning.

How it is used
Uses reserved words to mark Python syntax for decisions, classes, and condition-controlled loops.
How deep it goes
Defines reserved words and demonstrates three uses, but does not provide a complete keyword inventory or language-level implementation details.
Examples
Demonstrates if with a positive-number check, class with Circle, and while with a word-guessing game.
What you can do after
Evaluate Python code by recognizing reserved words and relating each keyword to the structure it begins.

Read how Get Programming: Learn to code with Python explains keyword →

Java Persistence with Spring Data and Hibernate epub

An SQL keyword that has a predefined syntactic or semantic meaning and therefore may be invalid as an unquoted identifier.

How it is used
Prevents SQL naming collisions when JPA maps entity or property names to database identifiers.
How deep it goes
Explains explicit renaming, automatic quoting, manual quoting, and dialect limitations without detailing SQL parser internals.
Examples
Uses User mapped to USERS and contrasts automatic, backtick, and double-quote identifier handling.
What you can do after
Operate/configure JPA mappings that avoid or deliberately quote reserved database names.

Read how Java Persistence with Spring Data and Hibernate epub explains keyword →

Also covered in

What to know first

Related concepts

Questions about keyword

What is keyword?

A language-defined word or token with a predefined syntactic or semantic role, which may be restricted from use as an ordinary identifier.

Which Manning books explain keyword?

The Well-Grounded Rubyist, Fourth Edition, Get Programming: Learn to code with Python and Java Persistence with Spring Data and Hibernate epub.

What should I know before learning keyword?

Manning books that teach keyword usually introduce database table, identifier, Python and SQL first.

What kinds of keyword are there?

Kinds of keyword include abstract keyword, after keyword, begin keyword, but keyword and case keyword.

What is keyword also called?

Keyword is also called reserved words.

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.