Lexikon

My working reference for web engineering and AI tools: HTML, CSS, JavaScript, PHP, Python, SQL, Bash, GitHub, Claude, Codex, Hermes, and the expressions AI assistants use, each explained in plain language with an example.

Filters (2 active)

A

  • *args and **kwargs

    Collect any number of extra positional arguments (args) or named arguments (kwargs).

    Languages · Advanced

  • async / await (Python)

    Running many waiting tasks (network calls) at the same time in one program.

    Languages · Advanced

B

C

  • Class (Python)

    A blueprint for objects with their own data (attributes) and functions (methods).

    Languages · Intermediate

D

  • datetime and time zones

    Dates, times, durations, and why every stored time should carry its time zone.

    Languages · Intermediate

  • Decorator

    A line starting with @ above a function that wraps it with extra behaviour, such as caching.

    Languages · Advanced

  • Dictionary (dict)

    Python’s key-value map, like a PHP associative array or a JS object.

    Languages · Beginner

F

  • f-string

    A string with expressions inside {}, filled in at runtime.

    Languages · Beginner

  • for, while, range, enumerate, zip

    The ways to repeat things in Python.

    Languages · Beginner

  • Function (def)

    A named block of reusable code, defined with def; it can take arguments and return a value.

    Languages · Beginner

G

  • Generator and yield

    A function that produces values one at a time, so huge data never has to fit in memory.

    Languages · Advanced

  • Guard

    A check at the start of a function that exits early when a condition is not met.

    Languages · Intermediate

H

  • Hard-coded

    A value written directly into the code instead of coming from settings or data.

    Languages · Beginner

I

  • if __name__ == "__main__"

    Runs code only when the file is executed directly, not when it is imported.

    Languages · Intermediate

  • import and modules

    Every .py file is a module; import loads code from another file, the standard library or an installed package.

    Languages · Beginner

  • Indentation

    In Python, spaces at the start of a line decide which block the line belongs to.

    Languages · Beginner

L

  • lambda

    A tiny nameless function written on one line.

    Languages · Intermediate

  • List and tuple

    A list is an ordered, changeable collection; a tuple is the same but fixed.

    Languages · Beginner

  • List comprehension

    A one-line way to build a list from another list.

    Languages · Intermediate

M

  • Magic number

    A bare number in code with no name explaining what it means.

    Languages · Intermediate

  • Monkey patch

    Changing how existing code behaves at runtime from outside, without editing its source.

    Languages · Advanced

P

  • pandas

    The library for tables of data in Python: load, clean, filter, group and export.

    Languages · Intermediate

  • pathlib and files

    The modern way to work with file paths and read or write files.

    Languages · Intermediate

  • Predicate

    A function or condition that answers yes or no about a value.

    Languages · Advanced

  • Python

    A readable general-purpose language, the favourite for scripts, data work, automation and AI.

    Languages · Beginner

S

  • Set

    A collection without duplicates, with very fast "is it in there?" checks.

    Languages · Intermediate

  • Standard library

    The modules that come with Python: files, dates, JSON, CSV, HTTP, regex, and more.

    Languages · Intermediate

T

  • try / except

    Catching errors so the program can react instead of crashing.

    Languages · Intermediate

  • Type hints

    Optional notes on which types variables and functions expect; editors and tools like mypy check them.

    Languages · Intermediate

W