Software Alternatives, Accelerators & Startups

Roc Lang for Advent of Code 2022

Mochajs Elm
  1. Mocha is a JavaScript test framework running on Node.js and the browser, making asynchronous testing simple.
    Pricing:
    • Open Source
    I like roc test, but I don’t like how it’s like “yo, your test failed!” Coming from Mocha in JavaScript and PyTest in Python, they’re pretty verbose in telling you why it failed, specifically what your expectation was expecting vs. What it got. I know it’s early days, but dbg (Roc’s console.log) wasn’t working for me in roc test, so I was blind.

    #Development Tools #Javascript UI Libraries #JavaScript Framework 86 social mentions

  2. 2

    Elm

    A type inferred, functional reactive language that compiles to HTML, CSS, and JavaScript
    Pricing:
    • Open Source
    This year, I chose Roc. It’s a strictly typed functional language. As someone who loves Elm, a strictly typed functional language for front-end web development, I was lacking a language for everything else (server, cli, etc). ReScript has been my stand in for various reasons. I was excited to try Roc lang for last year’s Advent of Code, but my youngest daughter convinced me to use Lua for Roblox. I figured after a whole year, things would be much more stable now.

    #Programming Language #OOP #Generic Programming Language 114 social mentions

Discuss: Roc Lang for Advent of Code 2022

Log in or Post with