Scala 2.8 beta com muitas novidades  XML
Índice dos Fóruns » Notícias
Autor Mensagem
mochuara
Virtual Machine Man
[Avatar]

Membro desde: 20/05/2009 11:21:32
Mensagens: 874
Offline

fredferrao wrote:
mochuara wrote:Ao meu ver, além da sintaxe outro problema da Scala é não ser funcional, e sim orientada a objetos.


Tambem fiquei sem entender esta tua afirmação.

http://www.scala-lang.org/node/25 wrote:
Scala is object-oriented

Scala is a pure object-oriented language in the sense that every value is an object. Types and behavior of objects are described by classes and traits. Classes are extended by subclassing and a flexible mixin-based composition mechanism as a clean replacement for multiple inheritance.

Scala is functional

Scala is also a functional language in the sense that every function is a value. Scala provides a lightweight syntax for defining anonymous functions, it supports higher-order functions, it allows functions to be nested, and supports currying. Scala's case classes and its built-in support for pattern matching model algebraic types used in many functional programming languages.

Furthermore, Scala's notion of pattern matching naturally extends to the processing of XML data with the help of right-ignoring sequence patterns. In this context, sequence comprehensions are useful for formulating queries. These features make Scala ideal for developing applications like web services.


Ainda não comecei a estudar scala(pretedendo fazer isto esta semana), mas que tem alguma coisa funcional ae tem.



Uma linguagem que possui recursos funcionais como Scala não é propriamente uma linguagem funcional.

C++ is a general purpose programming language designed to make programming more enjoyable for the serious programmer. (Stroustrup 1987)
diegosantiviago
JavaTeenager

Membro desde: 14/12/2008 11:53:44
Mensagens: 198
Offline

MENSAGEM EDITADA PELA MODERAÇÃO.

This message was edited 1 time. Last update was at 02/02/2010 11:22:23


SCJA, SCJP, SCBCD, IBM SOA, ITIL v3
[Email] [WWW] [MSN]
fredferrao
Virtual Machine Man
[Avatar]

Membro desde: 01/06/2005 13:23:32
Mensagens: 993
Localização: Porto Velho-RO
Offline

mochuara wrote:
fredferrao wrote:
mochuara wrote:Ao meu ver, além da sintaxe outro problema da Scala é não ser funcional, e sim orientada a objetos.


Tambem fiquei sem entender esta tua afirmação.

http://www.scala-lang.org/node/25 wrote:
Scala is object-oriented

Scala is a pure object-oriented language in the sense that every value is an object. Types and behavior of objects are described by classes and traits. Classes are extended by subclassing and a flexible mixin-based composition mechanism as a clean replacement for multiple inheritance.

Scala is functional

Scala is also a functional language in the sense that every function is a value. Scala provides a lightweight syntax for defining anonymous functions, it supports higher-order functions, it allows functions to be nested, and supports currying. Scala's case classes and its built-in support for pattern matching model algebraic types used in many functional programming languages.

Furthermore, Scala's notion of pattern matching naturally extends to the processing of XML data with the help of right-ignoring sequence patterns. In this context, sequence comprehensions are useful for formulating queries. These features make Scala ideal for developing applications like web services.


Ainda não comecei a estudar scala(pretedendo fazer isto esta semana), mas que tem alguma coisa funcional ae tem.



Uma linguagem que possui recursos funcionais como Scala não é propriamente uma linguagem funcional.


Não é puramente funcional, chamemos de hibrida entao

Há tantos burros mandando em homens de inteligência, que, às vezes, fico pensando que a burrice é uma ciência.
Ruy Barbosa.
fredferrao
Virtual Machine Man
[Avatar]

Membro desde: 01/06/2005 13:23:32
Mensagens: 993
Localização: Porto Velho-RO
Offline

Plugin Scala para Netbeans:

http://sourceforge.net/projects/erlybird/

Mais info:

http://wiki.netbeans.org/Scala68v1

Há tantos burros mandando em homens de inteligência, que, às vezes, fico pensando que a burrice é uma ciência.
Ruy Barbosa.
mochuara
Virtual Machine Man
[Avatar]

Membro desde: 20/05/2009 11:21:32
Mensagens: 874
Offline

fredferrao wrote:
mochuara wrote:
fredferrao wrote:
mochuara wrote:Ao meu ver, além da sintaxe outro problema da Scala é não ser funcional, e sim orientada a objetos.


Tambem fiquei sem entender esta tua afirmação.

http://www.scala-lang.org/node/25 wrote:
Scala is object-oriented

Scala is a pure object-oriented language in the sense that every value is an object. Types and behavior of objects are described by classes and traits. Classes are extended by subclassing and a flexible mixin-based composition mechanism as a clean replacement for multiple inheritance.

Scala is functional

Scala is also a functional language in the sense that every function is a value. Scala provides a lightweight syntax for defining anonymous functions, it supports higher-order functions, it allows functions to be nested, and supports currying. Scala's case classes and its built-in support for pattern matching model algebraic types used in many functional programming languages.

Furthermore, Scala's notion of pattern matching naturally extends to the processing of XML data with the help of right-ignoring sequence patterns. In this context, sequence comprehensions are useful for formulating queries. These features make Scala ideal for developing applications like web services.


Ainda não comecei a estudar scala(pretedendo fazer isto esta semana), mas que tem alguma coisa funcional ae tem.



Uma linguagem que possui recursos funcionais como Scala não é propriamente uma linguagem funcional.


Não é puramente funcional, chamemos de hibrida entao


Chame como achar melhor, mas o ponto é que Scala não é funcional o suficiente, é apenas uma versão moderna do Java feita de cientistas para cientistas, ou seja, sem muita preocupação com aplicações praticas do dia-a-dia.

C++ is a general purpose programming language designed to make programming more enjoyable for the serious programmer. (Stroustrup 1987)
 
Índice dos Fóruns » Notícias
Ir para:   
Powered by JForum 2.1.8 © JForum Team