Mercurial Hosting > reactionary
changeset 89:416bdc22a478 default tip
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 23 Apr 2025 12:25:56 -0600 |
parents | f320d444face |
children | |
files | src/beanshell.html.luan src/learn.html.luan |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/beanshell.html.luan Tue Apr 22 23:11:59 2025 -0600 +++ b/src/beanshell.html.luan Wed Apr 23 12:25:56 2025 -0600 @@ -66,6 +66,8 @@ <p>The BeanShell <code>pwd</code> command is like the Bash <code>pwd</code> command, and the BeanShell <code>print</code> command is somewhat like the Bash <code>echo</code> command. But the syntax is different. BeanShell and Java have syntax like most programming languages. While Bash does <code>command arg1 arg2 arg3</code>, most programming languages do <code>command(arg1,arg2,arg3)</code>. In addition, Java requires a <code>;</code> at the end of a statement (command line).</p> +<p><code>pwd</code> and <code>print</code> are only BeanShell commands. They are not in Java.</p> + <p>Also note that Java has the standard arithmetic operators.</p> <%
--- a/src/learn.html.luan Tue Apr 22 23:11:59 2025 -0600 +++ b/src/learn.html.luan Wed Apr 23 12:25:56 2025 -0600 @@ -195,7 +195,7 @@ <ul> <li><a href="https://docs.oracle.com/javase/8/docs/api/overview-summary.html">Java 8 API Specification</a> - This is the reference for the different types of Java objects and what they do. I will refer to this a lot.</li> <li><a href="https://www.amazon.com/Java-Programming-Language-4th/dp/0321349806/">The Java Programming Language</a> - This is the core reference text for Java.</li> - <li>You should get a Java book for beginners. Unfortunately they are all horrible. Sorry, but you still have to get one and read it.</li> + <li>You should get a Java book for beginners. Unfortunately they are all quite bad. The least bad ones I could find are <a href="https://www.amazon.com/dp/1265054630/">Java: A Beginner's Guide</a> and <a href="https://www.amazon.com/dp/1119986648/">Java All-in-One For Dummies</a>. You will have to pick a book and read it to learn Java.</li> <li>For desktop GUI programming, you will need <a href="https://docs.oracle.com/javase/tutorial/uiswing/">Creating a GUI With Swing</a>, <a href="http://www.miglayout.com/">MigLayout</a>, <a href="https://www.formdev.com/flatlaf/">FlatLaf</a>, and <a href="https://docs.oracle.com/javase/tutorial/2d/">2D Graphics</a>.</li> </ul>