The Artima Developer Community
Sponsored Link

Akka Concurrency Forum
Hints about which code snippets to implement

6 replies on 1 page. Most recent reply: Feb 19, 2013 9:12 PM by Derek Wyatt

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 6 replies on 1 page
Stig Brautaset

Posts: 7
Nickname: stigbra
Registered: Dec, 2012

Hints about which code snippets to implement Posted: Feb 18, 2013 10:40 PM
Reply to this message Reply
Advertisement
I'm trying to follow along and implement the code examples, but it's not always trivial. Sometimes it can be a bit difficult to know which code examples are there just to demonstrate something, and which show changes we need to implement to be able to get later examples to work. It would be good to have some more solid hints about this.


Derek Wyatt

Posts: 64
Nickname: dwyatt
Registered: Oct, 2012

Re: Hints about which code snippets to implement Posted: Feb 19, 2013 6:03 AM
Reply to this message Reply
Can you give me an example of where the confusion lies?

Dan Luu

Posts: 27
Nickname: amitra
Registered: Feb, 2013

Re: Hints about which code snippets to implement Posted: Feb 19, 2013 11:47 AM
Reply to this message Reply
Speaking only for myself, it wasn't obvious to me that the MyActorSpec example from 6.5 was just an abstract example, until I actually typed it up.

Stig Brautaset

Posts: 7
Nickname: stigbra
Registered: Dec, 2012

Re: Hints about which code snippets to implement Posted: Feb 19, 2013 3:31 PM
Reply to this message Reply
For me the biggest confusion so far is the UserGuardianStrategyConfigurator implementation starting on page 185.

Derek Wyatt

Posts: 64
Nickname: dwyatt
Registered: Oct, 2012

Re: Hints about which code snippets to implement Posted: Feb 19, 2013 4:14 PM
Reply to this message Reply
OK, thanks.

Do you think that the release of the accompanying source code would solve the issue, or does it still require some work to be done in the book?

(The source code should be coming out soon -- it just needs to be vetted, cleaned up, and so forth)

Stig Brautaset

Posts: 7
Nickname: stigbra
Registered: Dec, 2012

Re: Hints about which code snippets to implement Posted: Feb 19, 2013 4:30 PM
Reply to this message Reply
I normally prefer to follow along with the book and make the changes myself, rather than rely on downloadable source, to make sure I understand what's going on. As such I tend to use the downloadable source as a last resort. My preference would therefore be for the book to be a little clearer, but it's not a deal breaker.

Derek Wyatt

Posts: 64
Nickname: dwyatt
Registered: Oct, 2012

Re: Hints about which code snippets to implement Posted: Feb 19, 2013 9:12 PM
Reply to this message Reply
Alrighty. I'll see what I can do about calling out the different bits and pieces.

Flat View: This topic has 6 replies on 1 page
Topic: Ch 8.5: Page 198, missing imports Previous Topic   Next Topic Topic: Ch 6.2: Page 128, refactoring


Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2014 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us