- ELM - Discussion
- ELM - Useful Resources
- ELM - Quick Guide
- ELM - Subscriptions
- ELM - Commands
- ELM - Messages
- ELM - Package Manager
- ELM - Architecture
- ELM - Error Handling
- ELM - Records
- ELM - Tuples
- ELM - List
- ELM - String
- ELM - Functions
- ELM - Loop
- ELM - Decision Making
- ELM - Operators
- ELM - Variables
- ELM - Data Types
- ELM - Basic Syntax
- ELM - Environment Setup
- ELM - Introduction
- ELM - Home
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Elm - Introduction
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