So would a better solution be to use something like:
public static doSomething(Database db){
db.write("did something"
} public static doSomething(Database db){
db.write("did something"
}Basically, this concept means that it's static all the way down, from the top layer to the bottom layer.