This is a short Scala post to explain what the difference is between val and var. I was showing some Scala code to a co-worker this past week and he was asking what the difference was between val and var. It is quite simple:
Less Than Dot is a community of passionate IT professionals and enthusiasts dedicated to sharing technical knowledge, experience, and assistance. Inside you will find reference materials, interesting technical discussions, and expert tips and commentary. Once you register for an account you will have immediate access to the forums and all past articles and commentaries.
Browsing "Java EE"
This is a review of The Well-Grounded Java Developer, Vital techniques of Java 7 and polyglot programming. Written by Benjamin J. Evans and Martijn Verburg. The book was published in July, 2012 and it contains 496 pages
This is an excellent…
Scala 2.10 was released yesterday and I decided to take a look at it. But first what is Scala anyway? From the Scala site:
Scala is a general purpose programming language designed to express common programming patterns in a concise, elegant, and typ…
Java Day 4
The Collections Framework
Legacy Container Classes
A container is an object that holds a collection of other objects
An array is a simple container. Arrays have a couple of limitations
. The size is fixed
. All the members of the arra…
Control statements
if
has to have parentheses and it has to be a boolean expressions if (boolean-expression) {statement};
We also covered the while and do while loop followed by the for loop
Enhanced for loop aka foreach loop
The for loop lo…
Today is day one of the Java class I am taking this week. I am just dumping some of the stuff that I am hearing about, some of the stuff I might already know.
Java is a general purpose language, it is interperted, output is by…
This week eleven coworkers and myself will be in Java training for most of the time, I haven’t touched Java since 2001. I did a bunch of research over the 4 day weekend to get a little head start.
I installed Netbeans and Eclipse to see how they are…
Oracle has updated the Sun Acquisition FAQ. The FAQ now has Oracle’s plans for MySQL, Java, Virtualization, NetBeans, Glassfish, OpenOffice, Open Source and other things.
Below are the relevant pieces from that document.
What are Oracle’s plans fo…
LTD Social Sitings
Note: Watch for social icons on posts by your favorite authors to follow their postings on these and other social sites.