Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 262901
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T22:33:24+00:00 2026-05-11T22:33:24+00:00

It is my opinion that every language was created for a specific purpose. What

  • 0

It is my opinion that every language was created for a specific purpose. What was Scala created for and what problems does it best solve?

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T22:33:24+00:00Added an answer on May 11, 2026 at 10:33 pm

    One of the things mentioned in talks by Martin Odersky on Scala is it being a language which scales well to tackle various problems. He wasn’t talking about scaling in the sense of performance but in the sense that the language itself can seem to be expanded via libraries. So that:

    val lock = new ReentrantReadWriteLock
    lock withReadLock {
       //do stuff
    }
    

    Looks like there is some special syntactic sugar for dealing with j.u.c locks. But this is not the case, it’s just using the scala language in such a way as it appears to be. The code is more readable, isn’t it?

    In particular the various parsing rules of the scala language make it very easy to create libraries which look like a domain-specific language (or DSL). Look at scala-test for example:

    describe("MyCoolClass") { 
      it("should do cool stuff") {
         val c = new MyCoolClass
         c.prop should be ("cool")
      }
    } 
    

    (There are lots more examples of this – I found out this one yesterday). There is much talk about which new features are going in the Java language in JDK7 (project coin). Many of these features are special syntactic sugar to deal with some specific issue. Scala has been designed with some simple rules that mean new keywords for every little annoyance are not needed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was of the opinion that virtualization doesnt work in the super class constructor
It seems to be the general opinion that tables should not be used for
I have long been of the opinion that the time and resources it would
What's your opinion for the best possible way to build asp.net multilingual localized web
Years ago, I have heard that someone was about to demonstrate that every computer
I'm looking for insight into best practices regarding database scripting for modifications that go
I hall, I need your opinion on what is best in the following case.
I'd like your opinion on the following subject: Imagine we have a method that
I've encountered lately some opinions saying that Object Oriented design/programming should not always be
I just wanted some opinions from people that have run Selenium ( http://selenium.openqa.org )

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.