Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

program to interface principle  RSS feed

 
Maddison
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, just wondering if anyone could expand on the 'program to an interface' principle.

From what i've read it's about controlling dependencies....umm and perhaps a way to do this is to use interfaces??

sorry couldn't find much out there.
 
Michael Dunn
Ranch Hand
Posts: 4632
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 15861
81
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Nerd Gerl, is your name really "Nerd Gerl"? Did you read the JavaRanch official policy on registered names?
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See The FAQ, too. Probably a friendlier place to start.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!