Skip to content

Instantly share code, notes, and snippets.

View vlad-stoian's full-sized avatar
😵
99 bugs in the code, take one down, deploy it around… 127 bugs in the code!

Vlad Stoian vlad-stoian

😵
99 bugs in the code, take one down, deploy it around… 127 bugs in the code!
View GitHub Profile
// 1. Fix bad naming.
class ShoppingCart {
UUID getShopingCartId() { ... }
boolean checkFreeShippingEligibility() { ... }
void removeOrderItem(OrderItem orderItem) { ... }
void addOrderItem(OrderItem orderItem) { ... }
Collection<OrderItem> getOrderItems() { ... }
}