HNHacker News
TopNewBestAskShowJobs

gdotdesign

284 karma · joined May 24, 2018

submissionscomments
gdotdesign··on Mint: A programming language for writing single page applications
Actually Mint uses React under the hood, I haven't figured out how to work with existing packages but it should be very possible.
gdotdesign··on Mint: A programming language for writing single page applications
Thanks for pointing it out, will do ;)
gdotdesign··on Mint: A programming language for writing single page applications
Thanks :) I love reading comments like this ;)
gdotdesign··on Mint: A programming language for writing single page applications
I've done an article about comparing it with React it a while back, the code shown there might be outdated but not much:

https://dev.to/gdotdesign/mint-vs-javascript-stack-15id

gdotdesign··on Mint: A programming language for writing single page applications
There you go: https://github.com/mint-lang/mint-realworld ;)

It maybe a little bit outdated but it should get the point across, also the demo seems to be offline, I'll check in the morning and get back to you :)

gdotdesign··on Mint: A programming language for writing single page applications
I think you are right about that. Mint is not a solution of the whole front-end development but a part of that, it tries to solve the problem of single-page applications specifically.

> There are deeper issues that need to be addressed. The fact that their landing page doesn’t work well on mobile is evidence of that. Assuming it was created using Mint.

Actually it's not created in Mint and that it doesn’t work well on mobile is the evidence that I didn't tested it thoroughly :D

gdotdesign··on Mint: A programming language for writing single page applications
Author here, yeah noted. I should do a better job on selling the language but it's not easy doing this as a single individual.

I can however elaborate on the points raised:

- Recursive components: you can do it, the type-checker allows it and it works, or goes into an infinite loop if you don't exit correctly.

- Data sharing: I don't know what you mean by this. If it's data sharing between components you can do that by creating a store and connect as many components to it as you like.

- Messaging: I don't know what you are referring to? Websockets? Http? between components?

The fact is that there is some many things built in that it is hard to fit it on a single page above the fold, that's why I would say it's advantages is: it's the only thing you should need.

> You must start with Mint and haul in other new tools, or it doesn't work.

Could you elaborate on this?

gdotdesign··on Mint: A programming language for writing single page applications
What I am aiming for is to move away from writing JavaScript or minimize it to the level where it's more controllable.

I've come from Elm where it is done in a very good way, but it's too restrictive, and I like react and it's expressiveness so I wanted to combine the two.

Vue is really good but at the end you are still writing JavaScript which is really hard to do in a safe way. And from my experience Typescript isn't 100% safe as well.

gdotdesign··on Mint: A programming language for writing single page applications
Author of the language here, I think it is a major advantage for several reasons:

- the documentation is in one place instead of several places

- the dependencies of a Mint project is usually a few megabytes since everything is included instead of hundreds of megabytes (I have a production app that does not have any dependencies at all)

- only need to learn one (compact) thing, instead of many complex things (complex since there is no compiler to make it simple)

- only need to update the code once there is a new version of the language not every time there is a new version of a dependency

On top of the libraries mentioned the language also includes a formatter, package manager, builder/dev server and testing environment, also for which you would need to add dependencies.

All of these add up to less cognitive load so I can focus on building the product instead of managing the development environment.

(edit: formatting)

gdotdesign··on Mint: A programming language for writing single page applications
I'm the author and main contributor of the language, let me know if you have any questions, happy to answer :)
gdotdesign··on Mint: A programming language for writing single page applications
Thanks for reporting this, will look into it!
gdotdesign··on A list of companies using Elm in production
For this particular syntax, the motivation here was to make it look like more of a tag than an interpolation.
gdotdesign··on A list of companies using Elm in production
Since you are a language nut, I would like your opinion on the language I've been developing for more than a year now - Mint (https://www.mint-lang.com) :)

It's something between Elm and React (while actually using React as a platform) with a lot of built-in functionality like routing, styling, data storage and more.

gdotdesign··on W3C recommends WebAssembly
I am there with you, right now as I understand it it's used in very specific parts where you need performance you cannot get otherwise.

> not sure how this plays out in a practical sense / relative to the state of web applications as they are now.

How I see it it either there will be one big framework (or language) that will have all the things and compiles to WebAssembly or there will be JavaScript libraries that ship compiled WebAssembly which you can interface with.

We are still a long way from having a React like framework which compiles to WebAssembly let alone a thriving community for it.

gdotdesign··on A nice app on Elm street
I'm curious if you know about the language I created - Mint (https://www.mint-lang.com)?

And if you do what is your impression? I created it because I was frustrated with Elm (more the community than the language itself although the language has some issues as well).

gdotdesign··on Show HN: Base – API for authentication, email sending, images and more
You can! One has email field the other has. description field.
gdotdesign··on Show HN: Base – API for authentication, email sending, images and more
It was easier then implementing it by hand, making sure that they are delivered to the inbox, etc.
gdotdesign··on Show HN: Base – API for authentication, email sending, images and more
Mailing list support is definitely on the backlog!
gdotdesign··on Show HN: Base – API for authentication, email sending, images and more
Thank you for the comment. It's not my intention to claim any ownership of content, I'll review the text and modify it accordingly.
gdotdesign··on Show HN: Base – API for authentication, email sending, images and more
By "if..." I assume you mean by going out of business? In that case the service would be released as open source and you would continue as normal.

What I would like feedback on is how people would like to use a service like this? Self hosted with a license? SaaS? some other way I'm not thinking of?

gdotdesign··on Show HN: Base – API for authentication, email sending, images and more
Thank you for your insight!

I'm still figuring out the pricing so I'll keep this in mind!

gdotdesign··on Show HN: Base – API for authentication, email sending, images and more
It's me, still a one man show :)
gdotdesign··on Show HN: Base – API for authentication, email sending, images and more
Thank you for spotting it! It's just inconsistency, I'll update the examples.
gdotdesign··on Show HN: Base – API for authentication, email sending, images and more
Thanks for the bug report! It should be fixed now.

> It'd be neat to be able to host it ourselves, if you ever plan to release it as OSS.

The pricing is just a placeholder at this point, it is possible that there will be a self hosted plan, since it can be easily compiled to a single binary.

gdotdesign··on Show HN: Base – API for authentication, email sending, images and more
I'm the author of Mint, so it was the obvious choice :)

I choose Crystal because I had experience using Ruby and I absolutely loved the syntax, also Mint is built with Crystal. I really like it because it easy to read (even with type annotations) and compiles to a fast binary.

Edit: If you have specific questions let me have it :D

gdotdesign··on Show HN: Base – API for authentication, email sending, images and more
I released Base about a month ago and created a blog post with some details https://dev.to/gdotdesign/base-api-for-authentication-email-...

Let me know what you think! :)

gdotdesign··on Crystal 0.29
I'm writing a language in it called Mint, which compiles to JavaScript.

https://www.mint-lang.com/

gdotdesign··on Crystal 0.28.0 Released
I'm writing Mint (https://www.mint-lang.com - https://github.com/mint-lang/mint) in Crystal.

For me it is a really good experience: for example the last update didn't break anything and I'm able to add features consistently and relatively quickly.

gdotdesign··on Mint – A refreshing programming language for the front-end web
Author here, please keep in mind that Mint is still very young and I'm still working to get things in order for a first stable-ish release (there are a lot of documentation to write and lot of cleanup work)
gdotdesign··on Mint-lang: a language for the front-end web
Author here, please keep in mind that Mint is still very young and I'm still working to get things in order for a first stable-ish release (there are a lot of documentation to write and lot of cleanup work)
← PreviousPage 3 of 4Next →