Intermediate terms
A Promise represents an asynchronous operation's eventual result — .then()/.catch()/.finally() chain handlers without nesting callbacks.
3mo ago
javascript intermediate
Prompt Engineering
3
The practice of designing and iterating on LLM input prompts to reliably produce accurate, useful, and appropriately formatted outputs.
3mo ago
ai_ml intermediate
Property Hooks (PHP 8.4)
PHP 8.4+
1
PHP 8.4 allows get and set hooks directly on class properties — replacing boilerplate getter/setter methods with inline logic on the property declaration.
3mo ago
php intermediate
Prototypal Inheritance
ES5
JavaScript objects inherit from other objects via a prototype chain — class syntax is syntactic sugar over this mechanism.
3mo ago
javascript intermediate
Proxy Pattern
PHP 5.0+
Provides a surrogate object that controls access to another object, adding indirection for lazy loading, caching, logging, or access control.
3mo ago
quality intermediate
Psalm Type Annotations
PHP 7.1+
1
Psalm's docblock annotations — @param, @return, @template, @psalm-type — extend PHP's native type system to express generics, aliases, and complex types.
3mo ago
style intermediate
PSR-11: Container Interface
PHP 5.3+
A standard ContainerInterface with get() and has() enabling framework-agnostic service resolution from any PSR-11-compliant DI container.
3mo ago
style intermediate
PSR-14: Event Dispatcher
PHP 7.2+
Standard EventDispatcherInterface and ListenerProviderInterface for framework-agnostic event dispatch and handler registration.
3mo ago
style intermediate
PSR-15: HTTP Handlers & Middleware
PHP 7.0+
Defines RequestHandlerInterface and MiddlewareInterface for composable, framework-agnostic HTTP middleware pipelines.
3mo ago
style intermediate
PSR-17: HTTP Factories
PHP 7.1+
Standard factory interfaces for creating PSR-7 HTTP objects — decoupling library code from any specific PSR-7 implementation.
3mo ago
style intermediate
PSR-6: Caching Interface
PHP 5.5+
Standard CacheItemPoolInterface and CacheItemInterface for framework-agnostic cache integration — decouple code from specific cache backends.
3mo ago
style intermediate
PSR-7: HTTP Message Interface
PHP 5.3+
Immutable interfaces for HTTP requests and responses, enabling framework-agnostic HTTP handling and middleware composition.
3mo ago
style intermediate
Pure Function
A function whose output depends only on its inputs and that produces no side effects — maximally testable and predictable.
3mo ago
quality intermediate
Pydantic
Python 3.8+
A Python library for data validation using type annotations — defining models as classes with typed fields that validate and coerce input data at runtime.
3mo ago
python intermediate
Python's native async framework — coroutines, event loop, and asyncio — for concurrent I/O without threads.
3mo ago
python intermediate
Python Dataclasses & Pydantic
Python 3.7+
3
@dataclass auto-generates __init__, __repr__, __eq__; Pydantic adds runtime validation and serialisation — Python's equivalent of typed DTOs.
3mo ago
python intermediate
Functions that wrap other functions to add behaviour — @cache, @dataclass, @property — applied at definition time with the @ syntax.
3mo ago
python intermediate
Python Error Handling
Python 2.0+
1
Python uses try/except/else/finally blocks and a rich exception hierarchy — good error handling is specific, informative, and never silently swallows exceptions.
3mo ago
python intermediate
Python Generators & yield
Python 2.2+
Functions that yield values one at a time — enabling lazy evaluation of infinite sequences without storing all values in memory.
3mo ago
python intermediate
Python Logging
Python 3.0+
Python's built-in logging module provides a structured, configurable way to emit log messages at different severity levels — replacing print() for production code.
3mo ago
python intermediate