Life of the IT-Drummer

A web log from Tobias Rusås Olsen.

Doppel Gelb! Parallelles gelb!!

Nice one, referee.

Read the rest of Doppel Gelb! Parallelles gelb!!

Java Abstract Data Type Series: SimpleStack

Today I made a simple stack for you. It’s pretty much as basic as it gets. You push elements, you pop elements, you peek at elements, you get the size of the elements.
Here’s the code:
Node.java:

1
2
3
4
5
6
7
8
9
10
public class Node<E> {
private E content;
private Node<E> below;
 
public Node(E content) { this.content = content; }
public E getContent() { return content; }
public [...]

Read the rest of Java Abstract Data Type Series: SimpleStack

Software Development Cycles

Forget everything you’ve learned, this is how it’s done in the real world.
Software Development Cycles

Programmer produces code he believes is bug-free.
Product is tested. 20 bugs are found.
Programmer fixes 10 of the bugs and explains to the testing department that the other 10 aren’t really bugs.
Testing department finds that five of the fixes [...]

Read the rest of Software Development Cycles