Keyword
A language-defined word or token with a predefined syntactic or semantic role, which may be 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 →
Also covered in
- Learn SQL in a Month of Lunches
- Software Engineering for Data ScientistsIn early access (MEAP)
- Inside AI
- Grokking Relational Database Design
- Modern C
- Acing the CCNA Exam: Volume 1 Fundamentals and Protocols
- API Design Patterns
- Go in Practice, Second Edition
- gRPC Microservices in Go
- Learn PowerShell Scripting in a Month of Lunches, Second Edition: Write and organize scripts and tools
- React Quickly, Second Edition
- Learn C++ by Example
What to know first
- database tableA database table is a relational data structure that organizes records into rows whose values correspond to defined columns.
- identifierAn identifier is a name or value that denotes or distinguishes an entity or program element within a system.
- PythonPython is a high-level, general-purpose, dynamically typed programming language with readable syntax and support for multiple programming paradigms.
- SQLSQL is a standardized declarative language for defining, querying, and manipulating data in relational database systems.
Related concepts
- MySQLused by · MySQL is a relational database management system that stores, manages, and queries structured data using SQL.
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.


