maxfarnham / PharmManager

UIC CS342 Pharmacy Inventory management project
0 stars 0 forks source link

Presentation layer refactoring #3

Open maxfarnham opened 10 years ago

maxfarnham commented 10 years ago

There's a smattering of code like this in the codebase:

public void update() {
        System.out.println("Daily alerts for stock on " + getName() + ":");
        Iterator bulkIterator = createIterator();
[...]

We need to refactor this so all presentation code is handled centrally, without any business logic around it, or it will be very difficult to add a GUI later.