Reversing Arrays...

Recently, I've been working quite a lot in Java. Most modern languages are Turing Complete, so it is rarely about what you can do, but rather how you can do it. Every now and again, I come across painfully annoying Java constructs which make the code that much harder to read and write (for no...

Integral out of range

I've been working quite a lot in Java. Although this is part of the university course, we actually have some QAs we need to satisfy, and so the quality of the code matters. Most modern languages are Turing Complete, so it is rarely about what you can do, but rather how you can do it....

New Date in Java

I've been working quite a lot in Java. Although this is part of the university course, we actually have some QAs we need to satisfy, and so the quality of the code matters. Most modern languages are Turing Complete, so it is rarely about what you can do, but rather how you can do it....

Associating enum values with ints

Simple things should be simple, complex things should be possible. Alan Kay I've been working quite a lot in Java. As part of the university course we work with BT's people and 'bring meaningful innovation'. Because of university policies, we have to work in Java. Every now and again (more often than not actually), I...

Multiline strings in Java? Nobody's got time for that

Recently, I've been playing around with SQL strings (yes, I know outdated a little). They can very lengthy at times. So how can Java help us? It can't:

Meanwhile in C#:

The curious case of banner468

On one of my websites, I used a css class called "banner468". As the name suggests the original purpose of the class was to hold some ads. I used it for different purpose. From one day to the next, the functionality contained within the banner468, disappeared. It got hidden. Origianlly, I thought, this had something...