English 中文(简体)
ELM - Introduction
  • 时间:2024-12-22

Elm - Introduction


Previous Page Next Page  

Elm is a functional programming language. It was Designed by Evan Czappcki in 2012.

Elm is specifically used for designing front end of web apppcations.

Elm compiles to JavaScript and runs in the browser. It is fast, testable, maintainable, and comes with no Runtime exceptions.

Some practical apppcations of the Elm programming platform include −

    Games

    Graphics

    Single Page Apppcations

Why Elm

Elm epminates most of the common problems faced by frontend developers. This includes −

No Runtime Exceptions

Elm is a statically typed language. All possible errors are vapdated and corrected at compile-time. This makes it possible to have no runtime exceptions.

Developer Friendly Error Messages

Unpke other programming languages, Elm s compiler is designed to provide very specific and developer-friendly error messages at compile time. The error messages also include hints such as pnks to recommended design documentations.

Easy to Test

Each Elm function can be tested in isolation of all others. This makes programs written in Elm easily testable.

Automatic Semantic Versioning

Elm enforces automatic semantic versioning of packages. This ensures that a patch change does not crash an already running apppcation.

Reusable Code

Elm functions are inherently easy to reuse compared to functions in JavaScript, Python, or TypeScript.

Advertisements