Concrete type
A concrete type is a fully specified, directly implementable or instantiable type with a particular representation and behavior.
Julia as a Second Language
A concrete type is a type that can be directly instantiated or used as the representation of values rather than serving only as an abstract classification.
- How it is used
- Models distinct battle-simulator units as instantiable members of a shared hierarchy.
- How deep it goes
- Explains instantiation, fields, subtype restrictions, and dispatch through a worked hierarchy, without detailing type-system internals.
- Examples
- Uses Archer, Pikeman, and Knight structs, an attempted Warrior constructor, and a battle between an Archer and a Knight.
- What you can do after
- Apply it in Julia to define and instantiate concrete subtypes for a simulator.
Read how Julia as a Second Language explains concrete type →
Go by Example
A concrete type is a non-interface Go type that specifies values with an underlying representation and may have methods.
- How it is used
- Uses concrete types as the initial implementation choice before shared behavior warrants an interface.
- How deep it goes
- Explains concrete types through sql.DB’s driver architecture and interface-discovery rationale, without detailing type representation.
- Examples
- Uses sql.DB with SQLite and PostgreSQL drivers, plus link.Shortener and sqlite.Shortener implementations.
- What you can do after
- Apply it by starting with concrete implementations and defining focused interfaces only after observing shared consumer needs.
Data-Oriented Programming in Java
A data type whose representation and permitted values directly encode a particular meaning.
- How it is used
- Clarifies domain meaning by choosing representations that communicate what values are and which states they permit.
- How deep it goes
- Contrasts vague and concrete representations, stopping short of detailed construction or validation mechanics.
- Examples
- Uses an unadorned String identifier, invalid identifier literals, and a UUID replacement.
- What you can do after
- Evaluate and improve data models by replacing imprecise representations with types that express domain meaning.
Read how Data-Oriented Programming in Java explains concrete type →
Learn Rust in a Month of Lunches
A concrete type is a specific Rust type rather than an abstract type parameter or trait description.
- How it is used
- Distinguishes fixed Rust types from generic parameters and trait descriptions when reading function signatures.
- How deep it goes
- Defines concrete types, contrasts generic syntax, and works through closure type errors without covering boxing internals.
- Examples
- Uses fixed and generic return_item functions, undeclared MyType, and two identical-looking closures rejected as different types.
- What you can do after
- Evaluate whether a Rust signature names one fixed type, introduces a generic parameter, or accepts behavior through a trait bound.
Read how Learn Rust in a Month of Lunches explains concrete type →
Also covered in
What to know first
- GoGo is a statically typed, compiled, general-purpose programming language with garbage collection and built-in support for concurrency.
- structA struct is a named composite type or data structure that groups multiple fields or values into one structured unit.
- arrayAn array is an ordered collection of elements organized in one or more dimensions and accessible by position or index.
Related concepts
- primitive typeincludes · A primitive type is a predefined basic data type representing a simple value rather than a composite structure of multiple values or fields.
- structincludes · A struct is a named composite type or data structure that groups multiple fields or values into one structured unit.
- sql.DBincludes · sql.DB is a Go database/sql handle that provides database operations while managing a pool of database connections.
- class hierarchypart of · A class hierarchy is an organization of related classes connected by inheritance relationships, typically from more general base classes to more specialized derived classes.
Questions about concrete type
What is concrete type?
A concrete type is a fully specified, directly implementable or instantiable type with a particular representation and behavior.
Which Manning books explain concrete type?
Julia as a Second Language, Go by Example, Data-Oriented Programming in Java and Learn Rust in a Month of Lunches.
What should I know before learning concrete type?
Manning books that teach concrete type usually introduce Go, struct and array first.
What kinds of concrete type are there?
Kinds of concrete type include primitive type, struct, http.ResponseController, slog.Logger and sql.DB.
What is concrete type part of?
Concrete type is part of class hierarchy. A class hierarchy is an organization of related classes connected by inheritance relationships, typically from more general base classes to more specialized derived classes.
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.



