changeset 34:c385a4f75b10

add java fork
author Franklin Schmidt <fschmidt@gmail.com>
date Sat, 27 May 2023 16:27:48 -0600
parents cdce663231b0
children 81c9b568cde9
files src/java.html.luan src/java_fork.html.luan src/lib/Shared.luan src/needed.html.luan
diffstat 4 files changed, 46 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.html.luan	Fri May 19 07:24:02 2023 -0600
+++ b/src/java.html.luan	Sat May 27 16:27:48 2023 -0600
@@ -34,7 +34,7 @@
 
 			<ul history>
 				<li>Java 1.0 was release in 1995.</li>
-				<li>Java 1.1 (1997) added reflection which was good. It also added inner classes which had problems as I discussed <a href="https://old.reddit.com/r/GoodSoftware/comments/d3glp4/jave_inner_classes/">here</a>.</li>
+				<li>Java 1.1 (1997) added reflection which was good. It also added inner classes which had problems as I discussed <a href="http://www.mikraite.org/Jave-inner-classes-tp3503.html">here</a>.</li>
 				<li>Java 1.2 (1998) didn't change the language.</li>
 				<li>Java 1.4 (2002) added "assert" which is harmless though I don't use it.</li>
 				<li>
--- /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
--- a/src/lib/Shared.luan	Fri May 19 07:24:02 2023 -0600
+++ b/src/lib/Shared.luan	Sat May 27 16:27:48 2023 -0600
@@ -23,7 +23,7 @@
 				/ <%=crumb%>
 <%	end %>
 			</span>
-			<span>by <a href="https://www.linkmystyle.com/fschmidt">fschmidt</a></span>
+			<span>by <a href="https://linkmy.style/fschmidt">fschmidt</a></span>
 		</div>
 <%
 end
--- a/src/needed.html.luan	Fri May 19 07:24:02 2023 -0600
+++ b/src/needed.html.luan	Sat May 27 16:27:48 2023 -0600
@@ -22,6 +22,7 @@
 			<h1>Needed Reactionary Software</h1>
 			<ul links>
 				<li><a href="/lucene.html">Lucene Fork</a></li>
+				<li><a href="/java_fork.html">Java Fork</a></li>
 				<li><a href="/freedit.html">FreedIt - A Reddit Alternative</a></li>
 				<li><a href="/wysiwyg.html">WYSIWYG Web Editor</a></li>
 			</ul>