I have officially started programming in Java. I have some limited Java experience from my senior year in high school from Programming AP. I didn’t do so hot in the class: the teacher didn’t “teach” me squat. This lack of teaching made for some bad times when finals came along. I had to debug the “Fish” program. To his credit he was a good teacher; he was well versed in BASIC and C++, but I think he had to learn Java alongside me. He taught me many tricks and tips and made me one mean BASIC and C++ coder… just failed to do the Java thing.
Much to my surprise I found my old AP textbook. It cost $30 at the time and taught me quite a bit, but not enough to make anything spectacular. It basically taught me basic input/output. I tried asking for help in the later chapters but as he was learning the language at the same time I was, he was not much help. I remember the basics of Java (I/O), but forgot the dirty details. To show this, this is the classic “Hello World!” programming in Java. This prints “Hello there, world!” to the console.
public class Hello
public static void main(String args)
System.out.println(“Hello there, world!”);
I know simple things such as if/else, switch, loops, etc., just forget stuff like JFrame. I need to learn JFrame so I can do graphical things! My main goal is to make an IRC client. This is by no means a simple task, even for an experienced programmer. This is my final goal in Java. I must master JFrame and networking to get it all together! The hello world script is pretty much the simplest thing there is. My first gooey goal is a working calculator… only then can I move on to the IRC client! If anyone feels like helping out, send me an e-mail at email@example.com.
I am head deep into Final Fantasy I. I just hit the first dungeon area! I have a fighter, thief, red mage and black mage. I am having so much fun on this classic.
While playing Final Fantasy I, I have been on my python calculator. I have run into a coder’s block. Let’s just say that I am stuck between a loop and a hard spot.
I have made my first GUI program with Python. It is very basic and crude. It adds, multiplys, subtracts, and divides numbers and decimals. I am going to enhance it later on this week! You need to have Python installed on your system in order to run it; there are no extra addons needed in order to run it. You can run it on any operating system! The source code is listed below on pastebin.