Showing posts with label programming. Show all posts
Showing posts with label programming. Show all posts

Friday, October 14, 2011

So You Want to Be a Programmer(Java): Get Started NOW!

Open Eclipse and create a new Java project in the same manor that you created the Hello World project. Name the project Raven and create a new class named TheRaven. Be sure to check the box that says "public static void main(String[] args)".

Create a program that prints the following excerpt from Edgar Allen Poe's The Raven:

horizontal spaceOnce upon a midnight dreary, while I pondered weak and weary,
Over many a quaint and curious volume of forgotten lore,
While I nodded, nearly napping, suddenly there came a tapping,
As of some one gently rapping, rapping at my chamber door.
`'Tis some visitor,' I muttered, `tapping at my chamber door -
Only this, and nothing more.'

Ah, distinctly I remember it was in the bleak December,
And each separate dying ember wrought its ghost upon the floor.
Eagerly I wished the morrow; - vainly I had sought to borrow
From my books surcease of sorrow - sorrow for the lost Lenore -
For the rare and radiant maiden whom the angels named Lenore -
Nameless here for evermore.

Your output should appear exactly like this:



Necessary Information (Click on links for more info):
There are two ways to print in Java, System.out.println(); and System.out.print(). The only difference is that System.out.println(); prints a return at the end of what you are printing.
The sentence or words that you put in the quotes in the print statement is called a String.
To print a new line in Java you use, "\n".
To print an apostrophe, you use "\'".


It is possible that you may need help with this. Contact me with any questions you have!

Thursday, October 13, 2011

So You Want to Be a Programmer(Java) / Computer Scientist?


A lot of people want to get in to programming but really do not know where to start. This post will hopefully help you get a sense of what is all involved in programming, and where to start.

The first thing you have to ask yourselves is, "Do I really want to be a computer scientist?" Computer Science and programming really does take a lot of time and effort to master, but I find it to be one of the most rewarding experiences. I think it is very much worth the effort, but many, many people do not see the enjoyment in programming. How do I know this? Next time you meet someone, just tell them, "I am majoring in Computer Science," and get your camera ready because they are gonna have a funny look on their face. The reality is most people just don't know what Computer Science is, but that is changing. Computer Science is one of the fastest growing fields and will continue to be a growing field as the consumer electronic market grows. But that is enough about how people are dumbfounded about what Computer Science really is.

Let's talk about what Computer Science actually is, because how do you know if you want to be a Computer Scientist if you don't know what a computer scientist is or does? Wikipedia says, "Computer science or computing science (abbreviated CS) is the study of the theoretical foundations of information and computation and of practical techniques for their implementation and application in computer systems." That definition makes it sound way more terrifying than it really is, so let's just focus on one aspect of being a computer scientist, programming. So what is programming? Wikipedia says, "Computer programming (often shortened to programming or coding) is the process of designing, writing, testing,debugging, and maintaining the source code of computer programs. "  Now doesn't that sound much more enjoyable? It is.

So what does it take to start programming? 
  1. The desire to learn how to program. If you don't want to learn, then you won't learn. You won't persist when you have problems and you will just give up.
  2. Time. Unfortunately, you will not be programming Android apps after just one day.
  3. You find joy in the little things. With programming you have to start small. You have to be amazed by something as simple as getting a sentence to print out. If you get excited over the little steps that you make as you learn to program, then you will be successful with programming.
  4. A computer. You can't program without at least having access to a computer. It does not matter if it runs Windows, Mac OSX, or Linux.
If you have all four of those things, then I recommend that you give programming a try! You never know if you will like it until you try it. Let's get started! Click on words with links for more information of the subject. And get pumped you are gonna learn to program!


Getting Started
  1. You need an integrated development environment or IDE. The most popular one in the world is Eclipse. It is available for a wide range of systems. We are going to use Eclipse for Java Developers. Download it here. The links are on the right side of the page just select your operating system.

Sunday, September 25, 2011

5 Weeks! Great Scott!

Today I had a job interview for an Android programming job for a company that I can not disclose. The company was started by three recent Entrepreneurship graduates. They are looking for an Android developer to make an application for them. I wish I could say more, but legally I can't.

I believe that they have a breakthrough idea, but I do not seeing them succeeding unless they learn a lesson. Don't make unrealistic timelines.  Dr. Emmett Brown pretty much sums up my shock when they said they wanted a full blown app in five weeks, and that I would be the sole developer on the project.


Business people do not understand software development. That is why they hire engineers to make the software for them. Unrealistic timelines will scare off potentially valuable resources, demotivate the team, and flat out stress people out.

As far as the interview goes, I nailed it. My answers for the questions were perfect. I got a lot of "good answer's" from the interviewers and they were really into my ideas for the app. Unfortunately, I can not meet their timeline. I do not know whether or not they were interested in hiring me or not, but as my decision stands right now, I would have to respectfully decline their offer, solely because of a bad timeline. This is not just a message to business people, I have learned that many people, regardless of their field are often unrealistic with timelines. Do yourself a favor, set realistic timelines, surpass your expectations and feel good about doing so.