Website

Check-in [85c613d390]
Login
Overview
Comment:Added sentance about concatinative programming.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 85c613d390396fdf5d97e878975de30f099dbed01ff884676a1f4e424133fd5a
User & Date: robin.hansen on 2021-06-08 13:12:43
Other Links: manifest | tags
Context
2021-06-08
13:48
Add metadata to .html pages to improve lighthouse scores. Could use some love on mobile screens. check-in: d7de19ffc5 user: robin.hansen tags: trunk
13:12
Added sentance about concatinative programming. check-in: 85c613d390 user: robin.hansen tags: trunk
13:04
Replace all occurences of 'Play' with 'Stabel' in the playground. check-in: 97867465fd user: robin.hansen tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Modified src/index.html from [ba09699efc] to [051c56d09d].

45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
                def: main
                : 2 increment # returns 3

                def: increment
                : 1 +
            </pre>

            <p>Without going into too much detail, code in Stabel consists of whitespace-separated functions which are called in a left-to-right fashion. The return value, or values, of a function call serve as the input arguments for the next function call. Numbers are functions which return themselves.</p>

            <h3>Easy to reason about</h3>

            <p>A strong, static type system helps you prevent bugs and document your code. Errors and IO are represented in the type system, so that forgetting to deal with a certain error condition is caught at compile time. All data structures in Stabel are also immutable, which greatly reduces the number of states your program can be in, which again makes your code easy to reason about.</p>

            <pre class="shell left">
                Compilation failed:







|







45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
                def: main
                : 2 increment # returns 3

                def: increment
                : 1 +
            </pre>

            <p>Without going into too much detail, code in Stabel consists of whitespace-separated functions which are called in a left-to-right fashion. The return value, or values, of a function call serve as the input arguments for the next function call. Numbers are functions which return themselves. This is known as concatinative programming.</p>

            <h3>Easy to reason about</h3>

            <p>A strong, static type system helps you prevent bugs and document your code. Errors and IO are represented in the type system, so that forgetting to deal with a certain error condition is caught at compile time. All data structures in Stabel are also immutable, which greatly reduces the number of states your program can be in, which again makes your code easy to reason about.</p>

            <pre class="shell left">
                Compilation failed: