annotate src/java_fork.html.luan @ 65:7c496678f32a

mikraite links
author Franklin Schmidt <fschmidt@gmail.com>
date Sat, 24 Aug 2024 21:45:21 -0600
parents c385a4f75b10
children b1982e401900
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
a19e0f3a6203 add lucene
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
1 local Luan = require "luan:Luan.luan"
a19e0f3a6203 add lucene
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
2 local error = Luan.error
a19e0f3a6203 add lucene
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
3 local Io = require "luan:Io.luan"
a19e0f3a6203 add lucene
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
4 local Http = require "luan:http/Http.luan"
a19e0f3a6203 add lucene
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
5 local Shared = require "site:/lib/Shared.luan"
a19e0f3a6203 add lucene
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
6 local head = Shared.head or error()
a19e0f3a6203 add lucene
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
7 local needed_header = Shared.needed_header or error()
a19e0f3a6203 add lucene
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
8
a19e0f3a6203 add lucene
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
9
a19e0f3a6203 add lucene
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
10 return function()
a19e0f3a6203 add lucene
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
11 Io.stdout = Http.response.text_writer()
a19e0f3a6203 add lucene
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
12 %>
a19e0f3a6203 add lucene
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
13 <!doctype html>
a19e0f3a6203 add lucene
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
14 <html>
a19e0f3a6203 add lucene
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
15 <head>
a19e0f3a6203 add lucene
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
16 <% head() %>
34
c385a4f75b10 add java fork
Franklin Schmidt <fschmidt@gmail.com>
parents: 18
diff changeset
17 <title>Reactionary Software - Java Fork</title>
c385a4f75b10 add java fork
Franklin Schmidt <fschmidt@gmail.com>
parents: 18
diff changeset
18 <style>
c385a4f75b10 add java fork
Franklin Schmidt <fschmidt@gmail.com>
parents: 18
diff changeset
19 li {
c385a4f75b10 add java fork
Franklin Schmidt <fschmidt@gmail.com>
parents: 18
diff changeset
20 margin-top: 8px;
c385a4f75b10 add java fork
Franklin Schmidt <fschmidt@gmail.com>
parents: 18
diff changeset
21 }
c385a4f75b10 add java fork
Franklin Schmidt <fschmidt@gmail.com>
parents: 18
diff changeset
22 </style>
15
9694eff797bf fix html
Franklin Schmidt <fschmidt@gmail.com>
parents: 3
diff changeset
23 </head>
3
a19e0f3a6203 add lucene
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
24 <body>
a19e0f3a6203 add lucene
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
25 <% needed_header() %>
a19e0f3a6203 add lucene
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
26 <div content>
34
c385a4f75b10 add java fork
Franklin Schmidt <fschmidt@gmail.com>
parents: 18
diff changeset
27 <h1>Java Fork</h1>
3
a19e0f3a6203 add lucene
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
28
34
c385a4f75b10 add java fork
Franklin Schmidt <fschmidt@gmail.com>
parents: 18
diff changeset
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>
3
a19e0f3a6203 add lucene
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
30
34
c385a4f75b10 add java fork
Franklin Schmidt <fschmidt@gmail.com>
parents: 18
diff changeset
31 <ul>
65
7c496678f32a mikraite links
Franklin Schmidt <fschmidt@gmail.com>
parents: 34
diff changeset
32 <li>Fix inner classes as described <a href="http://mikraite.arkian.net/Jave-inner-classes-tp3503.html">here</a>.</li>
34
c385a4f75b10 add java fork
Franklin Schmidt <fschmidt@gmail.com>
parents: 18
diff changeset
33 <li>Replace generics with a cleaner solution.</li>
c385a4f75b10 add java fork
Franklin Schmidt <fschmidt@gmail.com>
parents: 18
diff changeset
34 <li>Remove static imports.</li>
c385a4f75b10 add java fork
Franklin Schmidt <fschmidt@gmail.com>
parents: 18
diff changeset
35 <li>Remove lambda expressions.</li>
c385a4f75b10 add java fork
Franklin Schmidt <fschmidt@gmail.com>
parents: 18
diff changeset
36 </ul>
3
a19e0f3a6203 add lucene
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
37
34
c385a4f75b10 add java fork
Franklin Schmidt <fschmidt@gmail.com>
parents: 18
diff changeset
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>
3
a19e0f3a6203 add lucene
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
39 </div>
a19e0f3a6203 add lucene
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
40 </body>
a19e0f3a6203 add lucene
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
41 </html>
a19e0f3a6203 add lucene
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
42 <%
a19e0f3a6203 add lucene
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
43 end