Sintaxis de programación, explicada concepto a concepto.
Guías centradas en variables, tipos de datos, control de flujo, funciones, clases y biblioteca estándar: referencias breves que puedes leer y copiar mientras trabajas.
- Guías de sintaxis
- 3860+
- Temas
- 14
- Herramientas
- 15
from dataclasses import dataclass
@dataclass
class Guide:
topic: str
minutes: int
def total_minutes(guides: list[Guide]) -> int:
return sum(guide.minutes for guide in guides)Dataclasses and type hints
Open guideHerramientas de desarrollo en el navegador
15 utilidades que se ejecutan por completo en tu navegador, sin enviar nada a un servidor.
Últimas guías de sintaxis
Las cuatro guías más recientes, directamente de la biblioteca.
El texto está en inglés
Las más de 3860 guías de sintaxis de la biblioteca se publican en inglés. Las herramientas de abajo están totalmente traducidas y cada enlace a una guía abre el original en inglés.
Git Push Rejected GH001: Large Files and History Rewrite
The 100 MB limit applies to every blob in the pushed history, so deleting the file does not help. Find the object, rewrite with filter-repo, or migrate to LFS.
Rust Tokio: Blocking the Runtime and spawn_blocking Fixes
A synchronous call inside an async fn stops the worker that drives every other task on it, timers included. Detection, spawn_blocking, and the guard-across-await trap.
Go http.Client: unexpected EOF and Connection Reuse Leaks
A body closed without being read cannot be reused, and descriptors pile up. Idle timeouts shorter than the upstream's, MaxIdleConnsPerHost and safe retries.
Node.js JWT invalid signature: JWKS Rotation and Clock Skew
One message covers three bugs: the wrong key type for RS256 or ES256, a JWKS cache that never refreshes after a kid rotation, and a clock that drifted.
Explorar por tema
Todas las categorías de la biblioteca y cuántas guías tiene cada una.