logo       

Views: msg#00461

lang.scala

Subject: Views

Referring to "A Tour of the Scala Programming Language" page 46, I get
the impression that 'Views' are a concept that is implemented with
implicit defs and implicit parameters. I also get the impression that
the special syntax (<%) is nothing more than syntactic sugar and
provides no additional benefit to the code with the implicit parameter.

Is this correct? If not, what additional value is a 'View' besides a
concept? What additional benefit do you get from using the <% syntax?

--
Tony Morris
http://tmorris.net/


Attachment: signature.asc
Description: OpenPGP digital signature

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise