≡ Menu

Podcast Episode 5 – Show Notes

Syntax

Wiki definition:

In computer science, the syntax of a programming language is the set of rules that define the combinations of symbols that are considered to be correctly structured programs in that language.

I would define syntax to be a particular layout of words and symbols.

Think of an email address… when you see it, you know it’s an email address… why is that? Email’s have a syntax.

Syntax is usually the toughest thing to grasp for more experienced programmers. This is because most of the things you learn from your first language, you can carry forward into another. But syntax is usually the big differentiation between languages.

Good news is that Integrated Development Environments help you with syntax.

Tools

Helps you get the job done faster. You could just program in Notepad, but then you would miss great features of an IDE.

– Code completion
– Compiler to check syntax
– Ability to ctrl-click on methods/variables to jump to where they are defined
– Applies colour schemes to code, for readability

The IDE I’d recommend is SpringSource Tool Suite

http://www.springsource.org/sts

Other IDEs are:

Eclipse: http://www.eclipse.org/downloads/
NetBeans: http://netbeans.org/downloads/
IntelliJ: http://www.jetbrains.com/idea/download/index.html

Before you install any IDEs, you’ll first need to install a JDK, Java Development Kit. This essentially allows you to write and run Java programs. You can see how to do this here:

http://howtoprogramwithjava.com/the-5-basic-concepts-of-any-programming-language-concept-5/

{ 3 comments… add one }

  • Jim McKeeth October 19, 2012, 12:33 am

    Why do you recommend SpringSource Tool Suite? It is the only one on your list I have not heard of or used. Listening to the podcast now, so maybe you answer this question there.

  • Jim McKeeth October 19, 2012, 12:41 am

    IntelliJ has a free & Open Source “Community Edition” that isn’t limited, but lacks some of the features of the “Ultimate Edition.”

    • Trevor Page October 19, 2012, 10:23 am

      In the blog I talk about Netbeans, Eclipse and IntelliJ. I use SpringSource Tool Suite because it has a code generator (Spring ROO) and a web server that allows you to measure the performance of your code for free.

      It’s an extension of Eclipse, so it has the same look & feel + shortcut keys.

Leave a Comment

Powered by sweet Captcha