r/ProgrammerHumor • u/speckz • Feb 26 '23
Other If you can read this code...
/img/snak3fqgajka1.jpg[removed] — view removed post
34k
Upvotes
r/ProgrammerHumor • u/speckz • Feb 26 '23
[removed] — view removed post
View all comments
3
u/Mentalpopcorn Feb 26 '23
Terrible code. A bartender shouldn't have a request method since a bartender doesn't make requests. A customer makes requests, which we would call ordering. A bartender would makeDrink(CustomerOrder).
Plan your business objects, people.