Scala: Use Scala for OO Teaching

Source: Internet
Author: User

I haven't been to Scala official website for a long time. I accidentally opened the browser bookmarks tonight and found the article "Scala-Teaching O-O" on the home page, and the Updated is just Updated yesterday: 2010-10-18 ,), And the title is quite attractive.

Yann, Assistant Professor in Paris, chose Scala and Simply Scala website http://www.simplyscala.com/ability to write and execute Scala scripts online) to help teach advanced object-oriented courses, it aims to help students gain a deeper understanding of the OO programming paradigm. Yann believes Scala provides answers to some basic questions, such as decomposition, adequacy, and correctness. Some Scala features allow students to explore OO programming and learn how to solve problems in a functional way.

However, to use Scala for teaching, we must weigh the benefits of OO and answer the following key questions:

1, How to break down the problem with OO ideas? What are the advantages, limitations, and shortcomings of OO thinking?

2, Why is the modular OO paradigm scalable? What are the advantages and disadvantages of class-based programming methods in terms of modularity? Which design patterns and modern programming mechanisms are conducive to solving these problems? How can I write reusable general components?

3, Can't understand... Token)

I think the most wonderful thing is that on the Simply Scala website, you do not need to download the JDK or Scala installation package to install and configure it on your machine, then use a huge IDE tool to learn Scala. You just need to enter the Scala script in the website and click "Evaluate" to execute the script. This saves the time for the hacker to take it. Note:The website cannot be accessed on my machine.Free GateYou only need to go over the wall.

Home page:

650) this. width = 650; "onclick = 'window. open (" http://blog.51cto.com/viewpic.php? Refimg = "+ this. src) 'src =" http://www.bkjia.com/uploads/allimg/131228/140635DC-0.png "border =" 0 "alt =" "/>

In addition, the website also provides some Scala code snippets for reference. You can click the code boxes to execute them, for example:


650) this. width = 650; "onclick = 'window. open (" http://blog.51cto.com/viewpic.php? Refimg = "+ this. src) 'src =" http://www.bkjia.com/uploads/allimg/131228/14063515a-1.png "border =" 0 "alt =" "/>


650) this. width = 650; "onclick = 'window. open (" http://blog.51cto.com/viewpic.php? Refimg = "+ this. src) 'src =" http://www.bkjia.com/uploads/allimg/131228/1406351313-2.png "border =" 0 "alt =" "/>

Such a website is very interesting, straightforward, and simple to try to learn Scala functions. The article also mentions interesting things. Yann's students all use French, and it seems that English websites are not easy for them to learn. It seems that learning English is not just a problem... Next, Yann also mentioned the advantages of using Scala to teach this website.

I think, when will China dare to use Scala programming language to teach OO in colleges and universities like this ??

This article is from the "ant" blog, please be sure to keep this source http://haolloyin.blog.51cto.com/1177454/407790

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.