• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Project to improve OOP concepts

Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I recently finished a genealogy program project that helped me reinforce my understanding of classes, objects and methods. However when I look at this program, it looks like something I could have done much more easily with a functional programming paradigm approach.
In other words, the classes I had where simply there because I was doing it the Java way, when I could have done the exact same thing in Matlab without classes. My next couple of projects are going to cover arrays, array lists, and some other Java fundamentals. However, after
I complete these, I'm looking for a project that really requires a solid understanding of OOP to execute correctly. I saw someone suggest creating a minesweeper clone, but will that mean I have to go in depth into Java GUI's before I attempt this project? I'm looking for any suggestions
for OOP heavy projects or if you think minesweeper fits the bill.

Posts: 65108
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should be able to write any sort of game without lots of GUIs. Remember that the GUI is simply a display showing what is happening; the other classes should follow good OO principles without being related to the display. The non‑GUI code should implement the logic of the game and the GUI code simply is a display. Please start by showing us the classes you used for the genealogy project. Please also explain how you would create genealogical trees with a functional approach.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!