Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

program to interface principle

 
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
Saloon Keeper
Posts: 15207
36
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic