r/shittyprogramming • u/3beer1919 • Nov 02 '18
Java banking system project
Hello everyone, I’m working on a java banking system project and i was wondering what are the possible classes i could use. Note: I’m restricted to 6 classes including inheritance. Thanks
70
Upvotes
18
u/tjugg Nov 02 '18
Are you working at JPMorgan?
121
u/yoanon Nov 02 '18
Wow there, look at this guy using more than 1 class.
Just 1 class is fine. Here I finished your project for you. I have turned off the banking system now so that no unsupervised banking is done, but just set shouldIDoBanking to true to do banking. Send me money. My paypal is heyitmeurbrethren.
94
u/MrMagoo22 Nov 02 '18
All six classes should be banking classes to maximize the amount of banking the program can do.
74
u/zahefk Nov 02 '18 edited Nov 02 '18
The only class bankers belong is Bourgeoisie. You just need to inherit the following code.
A banking software is a great way to learn how to use objects, or workers as some people call them.
8
u/zyxzevn Nov 02 '18 edited Nov 02 '18
I would use an object for each dollar and dollar-cent.
That way you can track each dollar and cent in your system.
I used inheritence as often as I could to make it more professional.
6
u/[deleted] Nov 02 '18
6 clases is not enough, request access to use up to 600 classes for the project so you can have a class for each bank, currency, and transaction type in the whole entire world.
6
u/omsusno Nov 02 '18
Your organization needs a software engineering class
5
u/lateral-spectrum Nov 02 '18
You make bank with banking software, that's what you do.
4
u/Amuro_Ray Nov 02 '18
up it to seven and call each one a deadly sin.
16
u/[deleted] Nov 02 '18
r/lostredditors
Sorry mate hope you’ve figured out this is a joke sub and don’t take any advice seriously 😬
3
u/[deleted] Nov 02 '18
I'd guess classes like secure/security and nohack etc would be a good start? Maybe a pointless veil of obscure measures too, seems to be all the rage nowadays.
3
u/FragileStudios Nov 03 '18
Just us the Java.elitebanking.* import. Forget about floats, use int's we don't need accuracy just make it work.
1
u/rommel917 Nov 03 '18
You can joke about it, but I was once moved to new banking project and it was 3 classes, one 6k lines and 2 of 4k lines. Thouse 2 mostly duplicated.