Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

howto i improve my coding skill in term of better design  RSS feed

 
Alvin chew
Ranch Hand
Posts: 834
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, i know basic coding on java, however , i found that my problem , when i try write a program which suppose have multiple class , but i couldn't understand how i should interact among all these classes ,
example :
given scenario like computer environment , i will design classes like cpu, keyboard, speaker, graphic card , monitor..etc
but say if i want my program flow like this way --> when keyboard press, cpu detect characters (ie: 2+5)and process , after process (result:7), cpu send processed data to graphic card, and now graphic card detect data from cpu and display the result onto monitor
my question is , howto i specify the relationship among classes and how should it interact with other ...can anyone help ?
howto i improve my design skill ? what book should i refer ? i found lots of programming book only introduce on howto code with specified method in API.
thanks in advance and appreciated if some sample code given ...thks again !
 
Maarten Vergouwen
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are plenty of books which focus on OO design. Have a look on your favourite booksite.
I'd pick one that deals with UML at the same time, so that yuo can learn to design and then model that design at the same tme.
 
Alvin chew
Ranch Hand
Posts: 834
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
recommend me some book you think is good for newbie..tq
 
Maarten Vergouwen
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try "Understanding Object-oriented Programming Using Java" by timothy budd.
It will probably be better for you than a 'general' OO design book, since it focuses on Java with which you have some experience.
Good luck
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!