• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Python lossing place against Scala?

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is it true the tittle? O just a comment? Scala mixes two powerful paradigms and is one the best static type language at moment. So, if Python is dynamic, should I compare these two language? I have not taken yet a decision about what language choice. So, let me know or give me an advise to continue in one direction.
 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
More comparable would be Python and Groovy. both Dynamic.

I wouldn't start learn Scala, Python would be the clear winner there however if your goal is to work on the JVM then Groovy or Java would be choice of languages. Groovy does have a bonus in that you can write both static and dynamically, however there are fewer learning resources for Scala and Groovy as most writers assume your knowledge of java.

For a functional language try haskell and a good beginner book Learn You a haskell http://www.haskell.org/haskellwiki/Image:Lyah.png
 
ignacio giagante
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I´m gonna check Groovy and of Course Python. Thanks!
 
clojure forum advocate
Posts: 3479
Mac Objective C Clojure
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Is it true the tittle?


No!

O just a comment?


Where did you hear/read it?
 
Hussein Baghdadi
clojure forum advocate
Posts: 3479
Mac Objective C Clojure
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Sayth renshaw wrote:

I wouldn't start learn Scala, Python would be the clear winner there however if your goal is to work on the JVM then Groovy or Java would be choice of languages. Groovy does have a bonus in that you can write both static and dynamically, however there are fewer learning resources for Scala and Groovy as most writers assume your knowledge of java.


If the OP's goal is to work on the JVM, then why he shouldn't consider Scala programming language?

Groovy does have a bonus in that you can write both static and dynamically


True for Scala too (Scala enjoys type inference).
 
Bartender
Posts: 4568
9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Hussein Baghdadi wrote:

Groovy does have a bonus in that you can write both static and dynamically


True for Scala too (Scala enjoys type inference).


Type inference isn't the same as dynamic typing, though. It just makes strong typing easier.
 
Ranch Hand
Posts: 163
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Python (actually Jython) also has an advantage (in my job anyway) in that it is the basis for the Weblogic Scripting Tool (WLST), which allows you to do amazing things with Weblogic with regards to server config, server monitoring and application deployment.
 
Hussein Baghdadi
clojure forum advocate
Posts: 3479
Mac Objective C Clojure
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Matthew Brown wrote:

Hussein Baghdadi wrote:

Groovy does have a bonus in that you can write both static and dynamically


True for Scala too (Scala enjoys type inference).


Type inference isn't the same as dynamic typing, though. It just makes strong typing easier.


Yes indeed!
However, Martin Odersky added "Dynamic" type to Scala: https://lampsvn.epfl.ch/trac/scala/changeset/23993
That (according my my understanding) brings some dynamic typing to Scala.
 
Ranch Hand
Posts: 383
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It is actually a high exaggeration that you can write statically typed Groovy code. It just allows you to declare types, and at runtime, the system performs casts, that's all. You can still call any method on such instances, including those that are _not_ in the target type, or those that are not visible / defined in the target type - welcome to duck typing.
To be clear - I am not bashing groovy in any way. I am a huge fan of both it and python, but I use them for different purposes. But that's a story that requires a different topic.
 
security forum advocate
Posts: 236
1
Android Flex Google App Engine
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not long ago, was I laughing out at an article that said Java was dead for FOSS(Free Open Source Software) projects...
 
reply
    Bookmark Topic Watch Topic
  • New Topic