DEV Community

Discussion on: How to write an object oriented program that doesn't suck

Collapse
thedeemon_lj profile image
Dmitry Popov

In _accountType == "SavingsAccount" you're comparing an int with a string. Just saying. ;)