Readable code. Precise contracts.
Learn each language concept with complete examples, supported syntax and the boundaries that matter in a real application.
Values, types & conversion
Keep data in its useful type, and convert explicitly at the boundary between a user interface and your logic.
Open guideProcedures & arguments
Define small callable contracts and be explicit about mutation, defaults and return values.
Open guideDecisions & loops
Express decisions directly and stop loops at a clearly defined boundary.
Open guideArrays, collections & dictionaries
Choose a container by how you need to find, order and change its values.
Open guideModules, classes & object lifetime
Separate stateless helpers from instance state, and keep object ownership visible.
Open guideErrors, cleanup & diagnostics
Separate compiler diagnostics from runtime failures and preserve the operation’s cleanup path.
Open guideAsync procedures & Await
Keep the interface responsive while respecting McBasic™’s deliberately bounded asynchronous syntax.
Open guideJSON values & HTTP envelopes
Read structured data by shape, and distinguish transport results from the response body.
Open guideExact API contracts#
20f4bfed6b · Build manifest