Arc vs HAML: What are the differences?
What is Arc? A dialect of the Lisp programming language developed by Paul Graham and Robert Morris. Arc is designed for exploratory programming: the kind where you decide what to write by writing it. A good medium for exploratory programming is one that makes programs brief and malleable, so that's what we've aimed for. This is a medium for sketching software.
What is HAML? HTML Abstraction Markup Language - A Markup Haiku. Haml is a markup language that’s used to cleanly and simply describe the HTML of any web document, without the use of inline code. Haml functions as a replacement for inline page templating systems such as PHP, ERB, and ASP. However, Haml avoids the need for explicitly coding HTML into the template, because it is actually an abstract description of the HTML, with some code to generate dynamic content.
Arc and HAML belong to "Languages" category of the tech stack.
HAML is an open source tool with 3.44K GitHub stars and 544 GitHub forks. Here's a link to HAML's open source repository on GitHub.
Kickstarter, Code School, and StackShare are some of the popular companies that use HAML, whereas Arc is used by Helpful, Cask, and Icalia Labs. HAML has a broader approval, being mentioned in 113 company stacks & 40 developers stacks; compared to Arc, which is listed in 7 company stacks and 6 developer stacks.
What is Arc?
What is HAML?
Need advice about which tool to choose?Ask the StackShare community!
Why do developers choose Arc?
Sign up to add, upvote and see more prosMake informed product decisions
What are the cons of using Arc?
Sign up to get full access to all the companiesMake informed product decisions
When we rebooted our front-end stack earlier this year, we wanted to have a consolidated and friendly developer experience. Up to that point we were using Sass and BEM. There was a mix of HAML views, React components and Angular. Since our ongoing development was going to be exclusively in React, we wanted to shift to an inline styling library so the "wall of classnames" could be eliminated. The ever-shifting landscape of inline CSS libraries for React is sometimes difficult to navigate.
We decided to go with Glamorous for a few reasons:
As you may or may not know, Glamorous has ceased active development and been mostly superseded by Emotion. We are planning to migrate to either Emotion or @styled-components in the near future, and I'll write another Stack Decision when we get there!
Personally, I really like HAML. Not having to use open and close tags is a huge time saver. As a result, writing markup with HAML is much more pleasant. HAML essentially forces you to be very strict about spacing, organization, and structure. It also makes the markup easier to read. Protip: I use this pretty frequently: htmltohaml.com