Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Strict Classification

In Irnix there is a strict classification of what is considered a method, an object, and a namespace, and what is not:

  • Anything that contains a dot in its name is not treated as an object or a method (files ending with .self are indeed contracts, but they are neither a method nor an object).
  • A namespace is not considered an object, therefore methods located inside a namespace cannot be executed.

The first restriction helps create directories and files that cannot be run directly through Irnix. These can be some objects that are unsafe to execute without observing the contract that will be checked at method startup. To create such an object it is enough simply to add a dot in its name, for example .config or important_script.sh.

Both of these restrictions relate to the future development of Irnix, as well as to the fact that they can be easily bypassed using links without violating the concept of objects, methods, and namespaces. More details are explained in the chapter "Working with Links". This may change in the future, but for now Irnix strives to maintain backward compatibility through such strict classifications.