Software Alternatives & Reviews

Haml VS Underscore.js

Compare Haml VS Underscore.js and see what are their differences

Haml logo Haml

HTML Abstraction Markup Language - A Markup Haiku

Underscore.js logo Underscore.js

Underscore is a utility-belt library for JavaScript that provides a lot of the functional...
  • Haml Landing page
    Landing page //
    2021-09-22
  • Underscore.js Landing page
    Landing page //
    2018-12-17

Haml videos

How to Get Baby in Urdu&Hindi | Hamal Check krny ka Treeka | Haml Ghar Ma Chk Krain | Get B In Urdu

Underscore.js videos

Introduction to Underscore.JS

Category Popularity

0-100% (relative to Haml and Underscore.js)
Javascript UI Libraries
13 13%
87% 87
Development Tools
0 0%
100% 100
Programming
100 100%
0% 0
Development
100 100%
0% 0

User comments

Share your experience with using Haml and Underscore.js. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Underscore.js might be a bit more popular than Haml. We know about 19 links to it since March 2021 and only 17 links to Haml. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

Haml mentions (17)

  • Building a syntax highlighting extension for VS Code
    First of all, I like Slim. I like the beauty and cleanness of Slim templates, to me they are way more readable than regular ERB templates and I think they fit in the ruby/Rails ecosystem very well. Slim is a close cousin to Haml, without the ugly percent characters, haha. I've used Slim exclusively in my projects since about 2016. - Source: dev.to / 6 months ago
  • Hamlet: A type-safe Haml template engine for Go
    > I can't say what problem it is supposed to solve "Haml accelerates and simplifies template creation" https://haml.info/ If you'd rather write raw HTML, keeping track of closing tags etc, then don't use HAML. No need to bash it because you personally feel it is ugly or unnecessary. FWIW I personally feel the exact opposite. - Source: Hacker News / 4 months ago
  • Hamlet: A type-safe Haml template engine for Go
    There is a better side by side of the syntax here https://haml.info (i've been using haml for 17 years lol, I find it more enjoyable to read and write). - Source: Hacker News / 4 months ago
  • Any web frameworks that could compare to Symfony?
    Personally, I'd recommend Maud if you don't need something with runtime reloading. Not only is it much faster, it implements a template language that is effectively the Rust-syntax equivalent to Slim or Haml using a procedural macro, so you get compile-time verification that your HTML output is well-formed. Source: about 1 year ago
  • Rux: A JSX-inspired way to render view components in Ruby
    Does this support HAML-style syntax? We're 100% HAML-only for templating, whether normal Rails views or ViewComponent... https://github.com/haml/haml so going back to writing HTML or ERB feels like a huge downgrade. - Source: Hacker News / about 1 year ago
View more

Underscore.js mentions (19)

  • 8 NPM Packages for JavaScript Beginners [2024][+tutorials]
    Not too far behind is Underscore.js, another utility library that's all about enhancing your JavaScript mojo. Whether you're dealing with arrays, objects, or strings, Underscore has got something for you. It's like Lodash's sibling, offering similar functionalities but with its own flair. The choice between them is like picking between chocolate and vanilla - it really comes down to personal taste. - Source: dev.to / about 1 month ago
  • Discovered a 63kb tiddlywiki like self saving HTML+JS wiki and its looking cool
    I once made a very crude and simple TiddlyWiki work-alike I called "HulloWurld" https://github.com/calroc/HulloWurld It's 143 KB, but it includes copies of Knockout, Underscore, Zepto, and the "Marked" markdown parser... ¯\_(ツ)_/¯ ( Good stuff BTW: http://knockoutjs.com/ http://underscorejs.org/ https://zeptojs.com/ https://github.com/chjj/marked ) Probably the only interesting bit is the code to save the page:... - Source: Hacker News / almost 2 years ago
  • Underscore.js: create a map out of list of objects using a key found in the object
    I am using the excellent Underscore.js library. I have a specific task which I can do fine using JavaScript or jQuery but was wondering if there was some sort of abstraction avaialable in Underscore that I was missing out on. Source: about 2 years ago
  • Asking Functional vs Class components again.
    There are many functional libraries for js like underscore, ramda, or even ts specific ones like fp-ts. Source: about 2 years ago
  • How to detect scroll direction in vanilla JavaScript (to make a goofy logo animation)
    /* Source: https://underscorejs.org/underscore-esm.js During a given window of time. Normally, the throttled function will run As much as it can, without ever going more than once per `wait` duration; But if you'd like to disable the execution on the leading edge, pass `{leading: false}`. To disable execution on the trailing edge, ditto. */ Function throttle(func, wait, options) { var timeout, context, args,... - Source: dev.to / about 2 years ago
View more

What are some alternatives?

When comparing Haml and Underscore.js, you can also consider the following products

Handlebars - Handlebars is a JavaScript template library that is, more or less, based on ...

jQuery - The Write Less, Do More, JavaScript Library.

Jinja2 - Jinja2 is a template engine written in Python.

React Native - A framework for building native apps with React

Pug - Pug is a robust, elegant, feature rich template engine for Node.js

Babel - Babel is a compiler for writing next generation JavaScript.