diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/java_fork.html.luan	Sat May 27 16:27:48 2023 -0600
@@ -0,0 +1,43 @@
+local Luan = require "luan:Luan.luan"
+local error = Luan.error
+local Io = require "luan:Io.luan"
+local Http = require "luan:http/Http.luan"
+local Shared = require "site:/lib/Shared.luan"
+local head = Shared.head or error()
+local needed_header = Shared.needed_header or error()
+
+
+return function()
+	Io.stdout = Http.response.text_writer()
+%>
+<!doctype html>
+<html>
+	<head>
+<%		head() %>
+		<title>Reactionary Software - Java Fork</title>
+		<style>
+			li {
+				margin-top: 8px;
+			}
+		</style>
+	</head>
+	<body>
+<%		needed_header() %>
+		<div content>
+			<h1>Java Fork</h1>
+
+			<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>
+
+			<ul>
+				<li>Fix inner classes as described <a href="http://www.mikraite.org/Jave-inner-classes-tp3503.html">here</a>.</li>
+				<li>Replace generics with a cleaner solution.</li>
+				<li>Remove static imports.</li>
+				<li>Remove lambda expressions.</li>
+			</ul>
+
+			<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>
+		</div>
+	</body>
+</html>
+<%
+end