Effective Programming in Scala

Effective Programming in Scala

Curso
en
Inglês
Subtitles available
49 h
Este conteúdo é classificado como 0 de 5
Fonte
  • De www.coursera.org
CONDIÇÕES
  • Individualizado
  • Acesso livre
  • Certificado gratuito
Mais informações
  • 6 sequências
  • Intermediate Level
  • Legendas em English

Os seus colaboradores estão a aprender diariamente com Edflex

  • Safran
  • Air France
  • TotalEnergies
  • Generali
Saiba mais

Detalhes do curso

Programa de Estudos

WEEK 1 - Getting Started, Basics, Domain Modeling
First, get up and running with Scala on your computer. Then, learn how to write and evaluate basic expressions and definitions. Last, learn how to model a business domain by defining case classes and sealed traits.

WEEK 2 - Standard Library, Loops
Manipulate collections of values by using the generic List data type from the standard library. Then, learn about the other generic data structures provided by the standard library (sets, sequences, and maps), and their respective use cases. All the collection classes have a comprehensive set of high-level operations to transform, filter, and iterate over their elements. Last, you will learn a couple of techniques to implement loops in Scala, and their tradeoffs.

WEEK 3 - Build Tools, Modules
How to write Scala projects larger than a worksheet? Learn how to define an entry point for a Scala project, and discover the tools you can leverage to write, compile, run, and debug your code. Then, use object-oriented programming techniques to break down a complex project into small modular components. Finally, we discuss when to use case classes versus simple classes.

WEEK 4 - Reasoning About Code
The recommendation in Scala is to use immutable data types by default. Indeed, they have desirable properties such as being thread-safe and allowing local reasoning. However, in some cases, mutable variables lead to simpler code, as you will see in the lectures. We then dive into different testing techniques such as unit testing, property-based testing, integration testing, and mocking.

WEEK 5 - Type-Directed Programming
Programs automate repetitive tasks. Sometimes, writing a program is a repetitive task. We look into a unique feature of Scala that lets the compiler write some (repetitive) parts of your programs for you! Based on the expected type of a parameter, the compiler can provide a value for this parameter if it finds an unambiguous candidate value. This technique is often used to automatically generate the serializer and deserializer of a data type, solely based on its definition, for instance.

WEEK 6 - Error Handling, Concurrent Programming
Scala supports a simple low-level mechanism for error handling: exceptions. We discuss the pros and cons of this mechanism, and we show alternative approaches that you can apply when you want to make it explicit in a method signature that it can fail with an error. We then move to a similar topic, input data validation, where we want to construct nice-looking error messages listing all the errors that the user needs to fix. We conclude with a couple of lectures showing how to work with asynchronous computations, and how to leverage the multiple CPUs of a computer by running tasks in parallel. You will see that the same idioms we used for writing data validation rules can also be used to write graphs of parallel computations.

Pré-requisito

Nenhum.

Instrutores

Julien Richard-Foy
Computer Scientist - Scala Center
Julien Richard-Foy makes Scala developers life easier, at Scala Center.

Noel Welsh
Noel Welsh is an experienced technology professional with a deep knowledge of software development, and machine learning. He likes writing books and speaking at conferences about programming.

Editor

A École polytechnique fédérale de Lausanne (EPFL) é uma universidade de investigação em Lausanne, na Suíça, especializada em ciências físicas e engenharia.

A EPFL é um dos dois Institutos Federais Suíços de Tecnologia. Foi fundada pelo governo federal suíço com a seguinte missão

formar engenheiros e cientistas ao mais alto nível internacional
ser um centro nacional de excelência em ciência e tecnologia
constituir um centro de interação entre a comunidade científica e a indústria.
A EPFL é considerada uma das universidades mais prestigiadas do mundo no domínio da engenharia e da ciência. Está classificada em 17º lugar geral e 10º em engenharia no QS World University Rankings 2015; 34º lugar geral e 12º em engenharia no Times Higher Education World University Rankings 2015.

Plataforma

A Coursera é uma empresa digital que oferece um curso on-line massivo e aberto, fundado pelos professores de computação Andrew Ng e Daphne Koller Stanford University, localizado em Mountain View, Califórnia.

O Coursera trabalha com as melhores universidades e organizações para disponibilizar alguns dos seus cursos on-line e oferece cursos em várias disciplinas, incluindo: física, engenharia, humanidades, medicina, biologia, ciências sociais, matemática, negócios, ciência da computação, marketing digital, ciência de dados. e outros assuntos.Cours

Este conteúdo é classificado como 4.5 de 5
(nenhuma revisão)
Este conteúdo é classificado como 4.5 de 5
(nenhuma revisão)
Conclua este recurso para fazer uma avaliação