Mercurial Hosting > luan
view website/src/why.html.luan @ 1987:535921391867
better why.html
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 29 Jun 2025 17:58:25 -0600 |
parents | bd00b36380d9 |
children |
line wrap: on
line source
local Luan = require "luan:Luan.luan" local error = Luan.error local Io = require "luan:Io.luan" local Site_translator = require "luan:ai/Site_translator.luan" local get_lang = Site_translator.get_lang or error() local text_writer = Site_translator.text_writer or error() local Shared = require "site:/lib/Shared.luan" local head = Shared.head or error() local header = Shared.header or error() return function() Io.stdout = text_writer() %> <!doctype html> <html lang="<%=get_lang()%>"> <head> <% head() %> <title>Why Luan?</title> </head> <body> <% header() %> <div content> <h1>Why Luan?</h1> <p>Luan is designed for reliability, simplicity, and readability. What makes its extreme simplicity possible is that it is a pure scripting language as Ousterhout envisioned in his paper <a href="scripting.html">Scripting: Higher Level Programming for the 21st Century</a> (1998). Luan is tightly coupled with Java, with Luan for scripting (writing applications) and Java for writing libraries. Compare this to a language like Python. While Python is a nice language, it is optimal neither for scripting nor for writing libraries. Python sits in the middle as a compromise. Ousterhout's vision is to use the optimal tool for each task. Luan is an uncompromising scripting language while Java is ideal for writing libraries.</p> <p>Luan rejects the complexity of modern software. It is mature software that I have been using for years for web programming. Whether Luan will appeal to you depends on who you are. Members of modern culture will not like Luan because they hate simplicity. Luan will only appeal to good cultures that value simplicity, so I will address the two good cultures that I know of.</p> <h2>For Mennonites</h2> <p>Here I am addressing Mennonites who reject modern culture, and so are not part of modern culture.</p> <p>Mennonites describe themselves as <a href="https://en.wikipedia.org/wiki/Plain_people">plain people</a> reflecting their preference for plain and simple dress, and plain and simple churches. I have also noticed that Mennonites prefer plain and simple tools for their work. Luan is a plain and simple programming language, so it should appeal to Mennonites.</p> <p>As a follower of the Old Testament, I learned a little Hebrew, and I was struck by how plain and simple the Hebrew of the Old Testament is. I love this writing style. Profound ideas are expressed in simple and direct language. Luan is designed to enable this style in programming. In addition, I have <a href="https://mikraite.arkian.net/The-Old-Testament-on-Programming-tp1923.html">applied</a> the wisdom of the Old Testament to my programming and to Luan's design.</p> <h2>For Japanese</h2> <p>Japan is the only remaining country that I know of that values quality. The Japanese understand that quality is the result of keeping things clean and simple, and of continuous improvement. I have applied these things to Luan. I discussed how Japanese ideas apply to my programming <a href="https://mikraite.arkian.net/Core-Programming-Principles-tp1237.html">here</a>. I think you can see all of these principles in my code.</p> <p>Luan's style of programming can be compared to the Japanese arts of Kumiki and Kintsugi. Just like how in Kumiki the Japanese take pieces of wood and make strong structures without any need for nails and such, Luan uses simple but effective and strong Java libraries and makes strong programs without any unnecessary parts that modern programmers like to use. This idea of assembling Java libraries into an application is the scripting idea described above. In Kintsugi you take broken objects and fix them up using something visually pleasing such as gold or silver. This is done instead of throwing an old and broken object away. Once again Luan does the same thing. When Luan needs new functionality, I look for an old Java library that was written when Western culture was still good. If it has bugs or is incomplete, I fix it by adding my code.</p> <p>Western software does not follow these ideas. Instead it just continuously gets more complicated and unreliable. In contrast, Luan has been getting simpler and more reliable over the years as a result of continuous improvement. You cannot expect to achieve Japanese standards of quality and reliability if you use modern western software. So use Luan instead.</p> </div> </body> </html> <% end