Javadoc Documentation Inheritance
Documentation inheritance? It sounds like an idea from a person on drugs with a serious sleep deprivation. Never the less, it turns out in practice to... more »
2 commentsSave Tags: eclipse, how-to, java, research
Scala Collections for the Easily Bored Part 1: A Tale of Two Flavors
One of the most obvious things to a Java developer first coming into Scala-land is the radically different Collections API included as part of the... more »
0 commentsSave Tags: java, other languages
On Returning To Java...
Ow. The pain. After a month of a diet of Groovy, coming back to Java is painful. Interestingly, my Java coding style has now changed. Before you read... more »
1 commentsSave Tags: groovy, java, opinion
Class Bit Hackery In Java
One of the most elegant and clever bit twiddling routines ever written.
0 commentsSave Tags: c-and-cpp, how-to, java, unix-linux
A Better Static Approach for Utility Classes
When writing utility classes it is very easy to go down on the path of writing code that can never be changed later on because of static functions... more »
1 commentsSave Tags: frameworks, java
XML Event in JDK6
Java SE 6, added the new class XMLEvent in the package javax. xml. stream.events. This is the base event interface for handling markup events. Not... more »
0 commentsSave Tags: java, xml
Goodbye Java Generics
When generics first came out I was pretty excited. I had used templates quite extensively in C++, before I soured on C++. C++ templates are a great... more »
5 commentsSave Tags: java, opinion
Strings in switch statements
Apparently, with JDK 7 we will have Strings in switch statements. I got a SCPJ certification long time back, but if someone asks me to write a switch... more »
1 commentsSave Tags: java
Java Closures - The Fundamental Benefit
Avoiding redundant code is a basic programming instinct. Java closures make it easier to eliminate redundant code and avoid it altogether! All other... more »
5 commentsSave Tags: java, opinion
Java One Liner - Reading a Text File At Once
Is it a one liner, is it not?
2 commentsSave Tags: java, opinion
The Forgotten Argument for Closures in Java
The concurrency / parallelism argument
0 commentsSave Tags: java, trends
Playing around with parallel maps in Scala
Over the last couple of days I have been hacking around with a few implementations of a parallel map in Scala.
0 commentsSave Tags: java, other languages
Static Typing with Less Keystrokes
Scala has a feature called type inference, which rose quite some discussion in the Java community, but all this does is save some typing, right? Don't... more »
0 commentsSave Tags: java, opinion, other languages
JSqueak - Smalltalk interpreter written in Java
JSqueak (formerly known as Potato) is less than 5000 lines of code, available under the MIT licence. It runs the Mini2.1 image, which is included for... more »
0 commentsSave Tags: java, other languages
Shutdown Hooks in Java? How are they used?
Read the article to get a good understanding of Shutdown Hooks and their working in Java. What are Shutdown Hooks? When do they execute? How reliable... more »
3 commentsSave Tags: java
Java 5 Function Object Awesomeness
You don't see a lot of blog posts about how great function objects are in Java. It's pretty popular to hate on Java in this area. You're not really a... more »
0 commentsSave Tags: java, opinion
Is Java the new COBOL? Yes. What does that mean, exactly? (Part 1)
If you are software developer that mainly writes applications for the web; even if you aren't a Java/J2EE developer, you have probably heard the new... more »
8 commentsSave Tags: java, opinion, trends
Doing it wrong: getters and setters
Every getter and setter in your code represents a failure to encapsulate and creates unnecessary coupling. A profusion of getters and setters (also... more »
4 commentsSave Tags: how-to, java, opinion, trends
Fun with Java: Biomorphs and Artificial Life
This article shows you how to write programs that model the selective breeding process, sometimes referred to as artificial selection. This is as... more »
0 commentsSave Tags: how-to, java
Java Concurrency: Read / Write Locks
Java 5 comes with read / write lock implementations in the java.util.concurrent package. Even so, it may still be useful to know the theory behind... more »
0 commentsSave Tags: how-to, java
Troubleshooting Guide for Java SE 6 Desktop Technologies
This document is a guide to help troubleshoot problems that might arise with applications that are deployed using the Sun Microsystems Inc. release of... more »
0 commentsSave Tags: gui, how-to, java
Sun Strategy on JavaFX, ready to take Silverlight
This Post discuss about JavaFX and its future and what would be its contributions to RIA ( Rich Internet Application )
5 commentsSave Tags: java, web 2.0
Java Concurrency - Introduction
Java was one of the first languages to make multithreading easily available to developers. Java had multithreading capabilities from the very... more »
0 commentsSave Tags: how-to, java
Java Concurrency - Slipped Conditions
This text is no. 13 in a series on Java Concurrency. It explains the problem of slipped conditions, how it may occur in Java, and shows a few hints to... more »
0 commentsSave Tags: how-to, java
Java to Scala - Smaller Inheritance hierarchies with Structural Typing
Structural typing can be one way to reduce your inheritance hierarchy. This feature in Scala can address one of the drawbacks of Java typing.
0 commentsSave Tags: how-to, java, other languages
via