from Hacker News

Mint: A new language designed for building single page applications

by 076ae80a-3c97-4 on 3/29/21, 6:50 PM with 19 comments

  • by Zababa on 3/30/21, 12:05 PM

    I think people should stop presenting JavaScript == operator as some kind of black magic, it's not helping anyone. The standard is online and you can read it here [1]. It is complex and unintuitive, no doubt about that, and you should prefer === most of the time. However, rejecting any attempt at understanding it is counter productive.

    [1]: https://262.ecma-international.org/11.0/#sec-abstract-equali...

  • by void_mint on 3/29/21, 11:12 PM

    If the author of Mint sites Elm as an inspiration, it might be worthwhile to explain the ways Mint differs from Elm? It seems like, if the things Mint offers are things a dev is interested in, they'd be better off using Elm, as I would hazard a guess Elm is better supported/maintained than something Elm-like?
  • by mikewarot on 3/30/21, 2:31 AM

    It says in the article that everything is immutable, which I found intriguing, but then I see this in the example at mint-lang

    fun increment { next { counter = counter + 1 } }

    Something doesn't add up.

  • by Sn0wCoder on 3/29/21, 11:37 PM

    Curious if anyone here has tried mint? Looks to be a few years old and still at version 0.11.00. Looked at elm but still going down the web component rabbit hole on my next project. I guess I need to stop looking and just keep building
  • by mastrsushi on 3/30/21, 4:31 AM

    Hey, let's remediate the overwhelming amount of JS app frameworks with a new programming language.

    That totally won't encourage an overwhelming amount of JS transpiled languages.

  • by dbbk on 3/29/21, 10:55 PM

    Cute idea, but this is a maintainability nightmare scenario.
  • by culopatin on 3/30/21, 3:24 PM

    We need to come up with a different name. MintSim, Intuit Mint, this, gets confusing lol
  • by badhombres on 3/30/21, 2:32 AM

    My mind automatically goes to the XKCD comic - https://xkcd.com/927/

    I do agree that the number of tools and solutions out there for creating web applications is overwhelming at times. I just don't know if this a valid approach, especially when people keep churning out tech to replace old tech instead of improving on said old tech.