Monday, April 13, 2009

In The Beginning... there was Psuedocode!

Java can be a very powerful gateway language for the common student and enthusiast alike. Though, some books and sites can really bog a person down with complicated explanations of how all things Java actually work. I am planning for this blog to be a very down to Earth approach to help people get through those first few struggles of understanding Java as well as its counterparts as I progress through my schooling. I am a computer science student at a nationally recognized university, have decent experience in Java as a language and a tool. My mentor / Professor is a nationally recongnized author of a Java Text, with over 24 schools having adopted it. So lets get to the nitty gritty shall we?

Java can be overwhelming if taken in too fast, so we will take it all step by step beginning with psuedocode:

Psuedocode(Synthetic code) is a type of brainstorming tactic that most programmers start out using and sometimes continue to use as their professions / careers grow. From my experiences so far, it is an easy way to make notes without having to worry about syntax, and even more a tool implemented for "getting used" to programming logic and creativity. Here is an example of psuedocode:

x equal to 7
y equal to 10
x plus y equals 17

You can write psuedocode almost any way you feel necessary, think of them as blueprints of your actual programming. Take it easy and try not to think too hard about details while you develop your psuedocode. It's just way to brainstorm effectively and not lose trail of your thoughts. I used psuedocode throughout the first few semesters at my university and had a great time using it, knowing I was about to implement the concept into java was very exciting for me as I hope it will be for you. Just pay attention to any specifications your job / school gives as to how your supposed to write your psuedocode, my professor always had us put an arrow after each line ending like:

x equals 7 ->

This was to give an idea of where each "part" ended.

That will be it for the day, but tomorrow I will go further into the beginning tactics of Java as I see it and go into details of flowcharts and operators. Thanks for visiting and make sure to bookmark as I will be posting on a daily basis!!
Click Here!