Jump to content

Check out our Community Blogs

Register and join over 40,000 other developers!

Recent Status Updates

View All Updates

- - - - -

Java Source Code: Calculator App


  • Please log in to reply
12 replies to this topic

#13 Exabit


    CC Newcomer

  • Member
  • PipPip
  • 22 posts
  • Location:Sydney Australia
  • Programming Language:Java
  • Learning:Python

Posted 18 January 2013 - 09:09 PM

I would try to apply four methods to make your programs more readable:

1.More classes and methods. (Point of OOP)
2.Information hiding. (Point of OOP)
3.Data tables, for all those pesky nested/endless if/case statements.
4.Variable names being a bit more descriptive. (exitButton instead of buttonOne)etc. (NO ABBREVIATIONS!)
  • 0

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download