From 0f3cc1112740aa231b66c1706841199726258b80 Mon Sep 17 00:00:00 2001 From: Refaktor Date: Tue, 12 Dec 2023 17:58:43 +0100 Subject: [PATCH] Create unorthodoxy.md --- _sandbox/unorthodoxy.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 _sandbox/unorthodoxy.md diff --git a/_sandbox/unorthodoxy.md b/_sandbox/unorthodoxy.md new file mode 100644 index 00000000..d02e592c --- /dev/null +++ b/_sandbox/unorthodoxy.md @@ -0,0 +1,35 @@ +# Unorthodox sides of Rye + +_Being unorthodox offers no benefit by itself._ + +_If you aren't creating anything really new, just use the old._ + +Rye is a programming language, no different than . Here I am trying to document sides of Rye that can be somewhat different, because the things that aren't, you already understand. +Many of these specifics come from Rye's inspirators, Rebol, Factor, Shell and Go. + +## Newlines and spaces + +Whole Rye program could be written in one line. There are no statement separators (there are also no statements, just expressions btw). + +Each Rye token must be separated by a space. + +Rye knows a token "," called expression guard, which is optional, but can help you explicitly safeguard the limits of expressions. + +---- + +_Unordered_ + +## Coding conventions + +* ? at the end of the word stands for get- and is usually used when a word is more of a property than a verb. Like: length? , color? +* functions that return boolean values often use is-xxxx. Like: is-integer , is-positive + +## Op-words and Pipe-words + +## Returning words + +## Failures and Errors + +## Hierarcies of Contexts + +## Scopes (Searching for context)