You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,8 @@ I'm jotting down some very early thoughts on what I think I want to design for t
8
8
9
9
It should feel intuitive when doing the *right*™ things, appear obvious when doing the *risky* things, and discourage doing the *dangerous* things.
10
10
11
+
**Foi** is a language you write for other humans to read first. It's only a secondary benefit that the computer can understand the code and execute the desired operations.
12
+
11
13
<details>
12
14
<summary>Inspirational/Aspirational Design Ideas for Foi</summary>
13
15
<p></p>
@@ -47,25 +49,23 @@ It should feel intuitive when doing the *right*™ things, appear obvious wh
47
49
48
50
Here are some screenshots showing typical JS code (on top, in each image) to the equivalent **Foi** code (on bottom, in each image).
49
51
50
-
<p>
51
-
<ahref="foi-js-comparison-1.png"><imgsrc="foi-js-comparison-1.png"width=300alt="Comparison: chunking an array"></a>
52
-
</p>
53
-
54
-
<p>
55
-
<ahref="foi-js-comparison-2.png"><imgsrc="foi-js-comparison-2.png"width=300alt="Comparison: memoized fibonacci number computation"></a>
0 commit comments