The Artima Developer Community
Sponsored Link

Programming in Scala Forum
Please clarify, chapter 3: p70

2 replies on 1 page. Most recent reply: Jan 1, 2008 5:22 AM by Justin Forder

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 2 replies on 1 page
Carsten Eckelmann

Posts: 6
Nickname: careck
Registered: Jun, 2003

Please clarify, chapter 3: p70 Posted: Dec 27, 2007 6:06 PM
Reply to this message Reply
Advertisement
You write: 'to run this code, you'll need to create an application.'

WHY?

What is the difference between a script and an application? And what was special about the WorldlyGreeter example that warranted an application and couldn't have been done in a script?

Cheers,
Carsten.


Simon Chappell

Posts: 3
Nickname: simonpeter
Registered: Dec, 2007

Re: Please clarify, chapter 3: p70 Posted: Dec 31, 2007 9:37 AM
Reply to this message Reply
I think the authors wanted to introduce the application concept at this point. As the 2nd and 3rd chapters are kind of a whirlwind tour of Scala, this is not unreasonable, albeit a little contrived. So, while you're right, there is nothing that couldn't be done as a script in the application, there is also the pragmatic element of showing how to create an application for the sake of showing us an application.

Justin Forder

Posts: 9
Nickname: jufo
Registered: May, 2007

Re: Please clarify, chapter 3: p70 Posted: Jan 1, 2008 5:22 AM
Reply to this message Reply
> You write: 'to run this code, you'll need to create an
> application.'
>
> WHY?

I made a similar comment via the "Suggest" link on the page. It would be useful to see a list of the Errata/suggestions received so far (with any relevant feedback from authors). No need for a fancy solution like the Pragmatics have - a plain text listing updated about once a day would be enough.

Flat View: This topic has 2 replies on 1 page
Topic: Chap 1, p36 Previous Topic   Next Topic Topic: Chapt. 9: Inconsistent type declarations

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use