Get Advice Icon

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

F#
F#

205
204
+ 1
250
HAML
HAML

411
276
+ 1
262
Add tool

F# vs HAML: What are the differences?

Developers describe F# as "Strongly-typed, functional-first programming language for writing simple code to solve complex problems". F# is a mature, open source, cross-platform, functional-first programming language. It empowers users and organizations to tackle complex computing problems with simple, maintainable and robust code. On the other hand, HAML is detailed as "HTML Abstraction Markup Language - A Markup Haiku". Haml is a markup language that鈥檚 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.

F# and HAML belong to "Languages" category of the tech stack.

"Pattern-matching" is the primary reason why developers consider F# over the competitors, whereas "Clean and simple" was stated as the key factor in picking HAML.

F# and HAML are both open source tools. HAML with 3.44K GitHub stars and 544 forks on GitHub appears to be more popular than F# with 2.09K GitHub stars and 341 GitHub forks.

According to the StackShare community, HAML has a broader approval, being mentioned in 113 company stacks & 40 developers stacks; compared to F#, which is listed in 19 company stacks and 16 developer stacks.

What is F#?

F# is a mature, open source, cross-platform, functional-first programming language. It empowers users and organizations to tackle complex computing problems with simple, maintainable and robust code.

What is HAML?

Haml is a markup language that鈥檚 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.
Get Advice Icon

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

Why do developers choose F#?
Why do developers choose HAML?

Sign up to add, upvote and see more prosMake informed product decisions

    Be the first to leave a con
    What companies use F#?
    What companies use HAML?

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

    What tools integrate with F#?
    What tools integrate with HAML?

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

    What are some alternatives to F# and HAML?
    PHP
    Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.
    JavaScript
    JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
    Python
    Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
    Java
    Java is a programming language and computing platform first released by Sun Microsystems in 1995. There are lots of applications and websites that will not work unless you have Java installed, and more are created every day. Java is fast, secure, and reliable. From laptops to datacenters, game consoles to scientific supercomputers, cell phones to the Internet, Java is everywhere!
    HTML5
    HTML5 is a core technology markup language of the Internet used for structuring and presenting content for the World Wide Web. As of October 2014 this is the final and complete fifth revision of the HTML standard of the World Wide Web Consortium (W3C). The previous version, HTML 4, was standardised in 1997.
    See all alternatives
    Decisions about F# and HAML
    Russel Werner
    Russel Werner
    Lead Engineer at StackShare | 11 upvotes 105.3K views
    atStackShareStackShare
    Sass
    Sass
    HAML
    HAML
    React
    React
    Glamorous
    Glamorous
    JavaScript
    JavaScript
    Emotion
    Emotion
    #Inlinecss

    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:

    1) Previous team experience with this library 2) We can write our styles in plain JavaScript (which brings many benefits) 3) It supports server-side rendering 4) It has great composition patterns

    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!

    #inlinecss

    See more
    Yshay Yaacobi
    Yshay Yaacobi
    Software Engineer | 28 upvotes 371K views
    atSolutoSoluto
    Docker Swarm
    Docker Swarm
    .NET
    .NET
    F#
    F#
    C#
    C#
    JavaScript
    JavaScript
    TypeScript
    TypeScript
    Go
    Go
    Visual Studio Code
    Visual Studio Code
    Kubernetes
    Kubernetes

    Our first experience with .NET core was when we developed our OSS feature management platform - Tweek (https://github.com/soluto/tweek). We wanted to create a solution that is able to run anywhere (super important for OSS), has excellent performance characteristics and can fit in a multi-container architecture. We decided to implement our rule engine processor in F# , our main service was implemented in C# and other components were built using JavaScript / TypeScript and Go.

    Visual Studio Code worked really well for us as well, it worked well with all our polyglot services and the .Net core integration had great cross-platform developer experience (to be fair, F# was a bit trickier) - actually, each of our team members used a different OS (Ubuntu, macos, windows). Our production deployment ran for a time on Docker Swarm until we've decided to adopt Kubernetes with almost seamless migration process.

    After our positive experience of running .Net core workloads in containers and developing Tweek's .Net services on non-windows machines, C# had gained back some of its popularity (originally lost to Node.js), and other teams have been using it for developing microservices, k8s sidecars (like https://github.com/Soluto/airbag), cli tools, serverless functions and other projects...

    See more
    .NET
    .NET
    F#
    F#
    C#
    C#
    Docker
    Docker
    Kubernetes
    Kubernetes

    I've used .NET for many years, but only in recent years, after Microsoft introduced .NET Core, I've found a new love and excitement for the technology again. The main driver for us using .NET Core is not that it is cross platform compatible, open source or blazingly fast (which it is!), but the fact that we can use (what we consider) the best programming languages (mainly F# and C#) to carry out our jobs without sacrificing the other benefits.

    Today we run most of our web infrastructure on .NET Core in Docker containers, deployed into a Kubernetes cluster which spans across multiple time zones in the Google Cloud and we couldn't be happier. Due to the portability of the .NET Core platform we are even able to develop many new services as serverless functions with F# which has become an absolute game changer.

    See more
    Interest over time
    Reviews of F# and HAML
    No reviews found
    How developers use F# and HAML
    Avatar of StackShare
    StackShare uses HAMLHAML

    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

    Avatar of Tuomas Hietanen
    Tuomas Hietanen uses F#F#

    Backend programming language.

    Avatar of Tuomas Hietanen
    Tuomas Hietanen uses F#F#

    Programming language

    How much does F# cost?
    How much does HAML cost?
    Pricing unavailable
    Pricing unavailable
    News about F#
    More news
    News about HAML
    More news