DEV Community

Discussion on: Mint - A refreshing programming language for the front-end web

Collapse
 
nssimeonov profile image
Templar++

A couple of other languages, that compiled to JS sort of "died" in the past year, yet you create a new one. So the most serious questions are:

  1. You are about to compete with TypeScript - do you believe you can catch up? They are many years ahead plus they are very very close to JS and people with JS background can start using it right away with minimal changes in their habits.
  2. Your decentralised package manager is going to compete with npm and it's enormously big codebase. Will you build some sort of package import and how do you plan to attract developers?
Collapse
 
gdotdesign profile image
Szikszai Gusztáv

Thank you for the comment, here are my answers:

  1. As you wrote TypeScript is very similar to JavaScript and Mint is very different from both, it has more things in common with Elm or Reason so that can be one of the factors. I think that the main reason people might use Mint is that it's compact, it has all the tools needed in one single binary, only one thing to learn.

  2. The idea for a decentralized package manager is actually coming from the Crystal programming language (which the compiler is written in), it seems to be working for them so far. It really simplifies things because any Git repository can be a package so there are no servers to manage, and for private packages the only thing needed is an SSH key.

Will you build some sort of package import

NPM packages are not compatible with Mint packages, it's easy to include external JavaScript files in a package so porting popular libraries should not be a big issue.

how do you plan to attract developers?

It will be difficult for sure. I am planning to write many posts about the parts of the language for education purposes, posts about how it compares to an other language, and Mint packages and applications for demonstration purposes.

Collapse
 
nssimeonov profile image
Templar++

What language Mint is similar to is irrelevant. If the language is superior to another is also irrelevant. Take for example PHP - it's not superior to any language. It's actually a big pile of crap, yet it became popular.

If you will compete with other languages you need to consider all other pieces of the ecosystem like NPM packages and compatibility with already existing software. TypeScript is very close to JS and it can use existing NPM packages without any effort. With minimal effort they get type information too.

JS is very very popular at the moment, not so sure about Elm and definitely not Crystal or Reason (I had to google these and I have over 20 years of experience and I tend to keep the pace and know what is going on around here).

My point is, that choosing this language over JS or TypeScript for a project seems to be a hard business decision and only a few companies may risk investing in it...