Beginner Guide to Ovie's oya Keyword for Immutable Declarations
The guide introduces oya, the immutable declaration keyword in the Ovie programming language, and explains what immutability means using a permanent-marker analogy. It contrasts oya with mut, which allows values to be reassigned. Examples include a simple hello program and constants such as APP_NAME. A table outlines when to choose oya versus mut, such as constants and fixed labels versus counters and user input. The recommended default is to start with oya and switch to mut if the compiler reports a reassignment error.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in