Elm vs Objective-C

Need advice about which tool to choose?Ask the StackShare community!

Elm

738
740
+ 1
318
Objective-C

13K
6.4K
+ 1
490
Add tool

Elm vs Objective-C: What are the differences?

Elm: A type inferred, functional reactive language that compiles to HTML, CSS, and JavaScript. Writing HTML apps is super easy with elm-lang/html. Not only does it render extremely fast, it also quietly guides you towards well-architected code; Objective-C: The primary programming language you use when writing software for OS X and iOS. Objective-C is a superset of the C programming language and provides object-oriented capabilities and a dynamic runtime. Objective-C inherits the syntax, primitive types, and flow control statements of C and adds syntax for defining classes and methods. It also adds language-level support for object graph management and object literals while providing dynamic typing and binding, deferring many responsibilities until runtime.

Elm and Objective-C belong to "Languages" category of the tech stack.

"Code stays clean" is the primary reason why developers consider Elm over the competitors, whereas "Ios" was stated as the key factor in picking Objective-C.

Elm is an open source tool with 5.3K GitHub stars and 424 GitHub forks. Here's a link to Elm's open source repository on GitHub.

Uber Technologies, Instagram, and Pinterest are some of the popular companies that use Objective-C, whereas Elm is used by NoRedInk, Brilliant, and RolePoint. Objective-C has a broader approval, being mentioned in 851 company stacks & 363 developers stacks; compared to Elm, which is listed in 27 company stacks and 35 developer stacks.

Decisions about Elm and Objective-C
Noel Broda
Founder, CEO, CTO at NoFilter · | 5 upvotes · 229.8K views

1 code deploys for both: Android and iOS. There is a huge community behind React Native. And one of the best things is Expo. Expo uses React Native to make everything even more and more simple. Awesome technologies. Some other important thing is that while using React Native, you are reusing all JavaScript knowledge you have in your team. You can move easily a frontend dev to develop mobile applications.

A huge PRO of Expo, is that it includes a full building process. You run 1 line in the terminal, and 10 minutes after you have 2 builds done. Double check EAS Expo.

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Elm
Pros of Objective-C
  • 45
    Code stays clean
  • 43
    Great type system
  • 40
    No Runtime Exceptions
  • 33
    Fun
  • 28
    Easy to understand
  • 23
    Type safety
  • 22
    Correctness
  • 17
    JS fatigue
  • 12
    Ecosystem agrees on one Application Architecture
  • 12
    Declarative
  • 10
    Friendly compiler messages
  • 8
    Fast rendering
  • 7
    If it compiles, it runs
  • 7
    Welcoming community
  • 5
    Stable ecosystem
  • 4
    'Batteries included'
  • 2
    Package.elm-lang.org
  • 212
    Ios
  • 115
    Xcode
  • 62
    Backed by apple
  • 47
    Osx
  • 40
    Interface builder
  • 10
    Good old fashioned ooe with a modern twist
  • 2
    Goober, please
  • 1
    Object-oriented
  • 1
    Handles well null values (no NullPointerExceptions)

Sign up to add or upvote prosMake informed product decisions

Cons of Elm
Cons of Objective-C
  • 3
    No typeclasses -> repitition (i.e. map has 130versions)
  • 2
    JS interop can not be async
  • 2
    JS interoperability a bit more involved
  • 1
    More code is required
  • 1
    No JSX/Template
  • 1
    Main developer enforces "the correct" style hard
  • 1
    No communication with users
  • 1
    Backwards compability breaks between releases
  • 1
    UNREADABLE

Sign up to add or upvote consMake informed product decisions

What is Elm?

Writing HTML apps is super easy with elm-lang/html. Not only does it render extremely fast, it also quietly guides you towards well-architected code.

What is Objective-C?

Objective-C is a superset of the C programming language and provides object-oriented capabilities and a dynamic runtime. Objective-C inherits the syntax, primitive types, and flow control statements of C and adds syntax for defining classes and methods. It also adds language-level support for object graph management and object literals while providing dynamic typing and binding, deferring many responsibilities until runtime.

Need advice about which tool to choose?Ask the StackShare community!

What companies use Elm?
What companies use Objective-C?
See which teams inside your own company are using Elm or Objective-C.
Sign up for StackShare EnterpriseLearn More

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Elm?
What tools integrate with Objective-C?

Sign up to get full access to all the tool integrationsMake informed product decisions

What are some alternatives to Elm and Objective-C?
TypeScript
TypeScript is a language for application-scale JavaScript development. It's a typed superset of JavaScript that compiles to plain JavaScript.
React
Lots of people use React as the V in MVC. Since React makes no assumptions about the rest of your technology stack, it's easy to try it out on a small feature in an existing project.
PureScript
A small strongly typed programming language with expressive types that compiles to JavaScript, written in and inspired by Haskell.
ReasonML
It lets you write simple, fast and quality type safe code while leveraging both the JavaScript & OCaml ecosystems.It is powerful, safe type inference means you rarely have to annotate types, but everything gets checked for you.
Haskell
It is a general purpose language that can be used in any domain and use case, it is ideally suited for proprietary business logic and data analysis, fast prototyping and enhancing existing software environments with correct code, performance and scalability.
See all alternatives