comparison src/java_fork.html.luan @ 34:c385a4f75b10

add java fork
author Franklin Schmidt <fschmidt@gmail.com>
date Sat, 27 May 2023 16:27:48 -0600
parents src/lucene.html.luan@612a6dd1c2fa
children 7c496678f32a
comparison
equal deleted inserted replaced
33:cdce663231b0 34:c385a4f75b10
1 local Luan = require "luan:Luan.luan"
2 local error = Luan.error
3 local Io = require "luan:Io.luan"
4 local Http = require "luan:http/Http.luan"
5 local Shared = require "site:/lib/Shared.luan"
6 local head = Shared.head or error()
7 local needed_header = Shared.needed_header or error()
8
9
10 return function()
11 Io.stdout = Http.response.text_writer()
12 %>
13 <!doctype html>
14 <html>
15 <head>
16 <% head() %>
17 <title>Reactionary Software - Java Fork</title>
18 <style>
19 li {
20 margin-top: 8px;
21 }
22 </style>
23 </head>
24 <body>
25 <% needed_header() %>
26 <div content>
27 <h1>Java Fork</h1>
28
29 <p><a href="/java.html">Java 8</a> is good reactionary software but is essentially unsupported. So someone should fork it and maintain and improve it. I suggest these improvements:</p>
30
31 <ul>
32 <li>Fix inner classes as described <a href="http://www.mikraite.org/Jave-inner-classes-tp3503.html">here</a>.</li>
33 <li>Replace generics with a cleaner solution.</li>
34 <li>Remove static imports.</li>
35 <li>Remove lambda expressions.</li>
36 </ul>
37
38 <p>There is no need for backward compatibility. People who want that can just use Java 8 as is. The fork is for reactionary programmers who are actively writing code, so the fork should be as clean as possible.</p>
39 </div>
40 </body>
41 </html>
42 <%
43 end