Search the web
Sign In
New User? Sign Up
implementationpatterns · Implementation Patterns
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Re: Question about a style of coding   Message List  
Reply | Forward Message #9 of 13 |
First all I just finished reading IP and I loved it a great book
focussing on things that are truly important.

I have a question about a style of coding I encountered in the Guice
dependency injection framework http://code.google.com/p/google-guice/
that I found fascinating and hope you would comment on it here is an
excerpt

binder.bind(Service.class)
.to(ServiceImpl.class)
.in(Scopes.SINGLETON);

It seems that that you could almost form a English sentence coding this
way is this a good style to use why or why not ?

Troy Taillefer




Sun Dec 16, 2007 5:28 pm

ironwaist29
Offline Offline
Send Email Send Email

Forward
Message #9 of 13 |
Expand Messages Author Sort by Date

First all I just finished reading IP and I loved it a great book focussing on things that are truly important. I have a question about a style of coding I...
ironwaist29
Offline Send Email
Dec 16, 2007
6:58 pm

This is an internal DSL embedded in Java using Method Chaining and Grammar interfaces. Please see Martins Fowler DSL-Book (Work In Progress) at: ...
Michael Hunger
implementation.patter...
Send Email
Dec 16, 2007
11:48 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help