Keyword
A keyword is a language-defined word or token with a predefined syntactic or semantic role, often restricted from use as an ordinary identifier.
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 →
Related concepts
- MySQLused by · MySQL is an open-source relational database management system that stores, manages, and queries structured data using SQL.
- SQLuses · SQL is a standardized declarative language for defining, querying, and manipulating data and structures in relational database systems.
- programming languagepart of · A programming language is a formal language with defined syntax and semantics for expressing computations and instructions that computers can execute or interpret.
- break statementincludes · A break statement terminates the nearest supported enclosing loop, switch, or similar control construct and transfers control to the following statement.
- context keywordincludes · A Given step is a Gherkin scenario step that establishes the initial context, provider state, or prerequisites for an example.
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.


