Google Delivers New Java-like Language: Noop

The developers over at Google have come up with Noop, a new language that runs on the Java Virtual Machine.

“Noop (pronounced ‘noh-awp,’ like the machine instruction) is a new language that attempts to blend the best lessons of languages old and new, while syntactically encouraging industry best-practices and discouraging the worst offenses,” according to a description of the language on the Noop language Website.

Noop supports dependency injection in the language, testability and immutability. Other key characteristics of Noop, according to the Noop site, include the following: “Readable code is more important than any syntax feature; Executable documentation that’s never out-of-date; and Properties, strong typing, and sensible modern stdlib.”

I suppose your thinking why another language? Google explain this:

Our experience has been that developers often create code that’s hard to test and maintain, without realizing it. On a large software project, this can create problems later on for the whole team. In analyzing this problem, we found that the root cause in many cases was language features - like globally visible state, misused subclassing, and API’s that are easily misused. Noop will try to avoid these problems.

Noop avoids these problems by being opinionated, meaning it pushes you toward using good practices while developing software. It does this by;

Noop saying Yes toNoop saying No to
Dependency injection built into the languageAny statics whatsoever
Testability - a seam between every pair of classesImplementation inheritance (subclassing)
ImmutabilityPrimitives
Syntax geared entirely towards readable codeUnnecessary boilerplate
Executable documentation that’s never out-of-date
Properties, strong typing, and sensible modern standard library

I’m still only learning Java myself, have to this year with the course. But I hope to mess around with Noop sometime soon in the future!


Posted on September 23, 2009

Programmers Day

programmer-comic.jpg Today, it is “The Day of the Programmer”. Since yesterday this has been made an official Russian holiday!

The day of programmer will be noted on September 13 (in 256- y the day of year), if year is bissextile - on September 12.

What is Programmers Day?

Programmer’s day is a whimsical “holiday” on the 256th day of the year celebrated mostly by computer programmers (reason: 256 = 2 to the power of 8 = the number of values representable in a byte of data).

Traditions include drinking, behaving silly, coding silly programs, mini computer games, playing with old computers, etc. Programmer’s day usually falls on September 13th; on leap years, it is September 12th.

Why the 256th Day of the year?

A byte can have 256 possible values, bytes are very important to programmers. Not because they are required for programs to work, but because the payroll system and Krispy Kreme doughnut cash registers require them.


Posted on September 13, 2009

Who Hosts Irish Blogs ?

I was interested to see what web hosts are hosting Irish blogs in 2009, so here are the stats.

Stats

Pie Chart

blog-hosts.png


Posted on September 09, 2009