continue reading hover preload topbar hover preload widget hover preload

Feelin’ Groovy

Categories: Java, programming  |   No Comments
I love Perl.  Perl was the first language that I was able to be truly productive with “out of the box”.  It was simple, it was fast, it had an easy syntax and good text manipulation controls, and a good set of stable libraries for networked computing.  As advertised, it kept simple things simple, and made complex things possible.  It was the first language I really loved coding in. 
 
A few weeks ago, I was talking with a friend about the need for that story for the Java platform: a way to leverage the mature libraries we have in Java, with the ease of use and cool scripting properties of Perl. Then last week I picked up a book at Amazon, called “Scripting in Java”, by Dejan Bosanac.  The book covers many scripting libraries and languages available for the JVM, including JRuby, Jython, BeanShell, and so on. I’ve been feverishly reading it for a couple of days.  Even though I’m only through the first third of the book, and I’m no expert by any stretch, I think I have found my new best friend:  it is Groovy.

C# regular expressions

Categories: C#.Net, Java, programming  |   No Comments

I like the Microsoft implementation of regular expressions in C#. I think they learned from Java’s mistake, and built something a tiny bit cleaner and easier. The key differences are:

  • No special static “factory method” needed to create a regular expression
  • IsMatch method of Regex class used for quick and dirty searches
  • array-syntax “indexer” is used to retrieve results from a match

Remember the override

Categories: C#.Net, Java, programming  |   No Comments

C# requires the use of an override keyword in order to implement inheritance. Perhaps this is too obvious, but it is a difference we Java folk will trip over right away. The short description for this is:

In Java, all methods are virtual. In C#, only methods declared with the “override” keyword are virtual.

Java or C#.Net? A descent into oblivion

Categories: C#.Net, Java, best practices, programming  |   No Comments

I am a Java guy. Java was the first object-oriented language that I understood, the first one that just did what I expected it to, with very few exceptions. It was the first language that I loved to code in. I understand Java. I breathe Java. Java is my friend.

At my work we are having battles over what programming languages and frameworks to use for internal development. We have a growing list of projects that are coming up, and we are “skilling up” our group to be proficient in one or more languages to support these projects, so the team can have a consistent, interchangeable skill set to work from. We need to make a decision on what language to use.

A sepia banner

Categories: blog, media  |   No Comments

Here is the new banner image, with a sepia tone filter applied. I’m not sure I like it better than the original.
Sepia tone banner image

Here is the original image:
original banner image

A new banner image

Categories: blog, media  |   No Comments

A flickr user named Jason Thompson graciously provided a great picture of the Tucson cityscape with Creative Commons Attribution license. I cropped the image to use here as the banner. I may eventually modify the color scheme to make it look older (or something). But thanks to Jason for providing such a wonderful picture to the world through Creative Commons.