Frontend Language Feature Matrix
Frontend Language Feature Matrix
Hi! I've created this page to showcase the features of Mint (since there are so many) and their corresponding versions in other similar languages.
Frontend Language Feature Matrix
Hi! I've created this page to showcase the features of Mint (since there are so many) and their corresponding versions in other similar languages.
TS as a statically typed language is not what I would call it. It's a language with enforced type annotations but can be circumvented pretty easily. For example when receiving a JSON from an http request a string field can be just whatever.
That's nitpicking. It is statically typed. Is Dart not statically typed because it has dynamic
.
You could call it "gradually typed" if you want to be pedantic.
can be circumvented pretty easily
That means it isn't sound.
Gradually typed is a great description because it's neither fully static or dynamic. TS does allow you to circumvent the types too easily to be called statically typed.
const strings: string[] = ([1] as any[])
Is ok in TS land so the type of strings
is not really static so to speak because you can assign whatever to it. Writing this in Dart would give
error - The argument type 'List<dynamic>' can't be assigned to the parameter type 'List<string>'. - argument_type_not_assignable
if I'm not mistaken.
Why is single line comments listed when it's green for all of them? Do they not have multi-line comments?
This is very incomplete. Like to see it become more complete.
Clojurescript and purescript are my favourites.
That's why I do everything in PowerBI, but my data sources are entirely manually-maintained excel files
I do my frontend in Rust thankyouverymuch.
Not seeing any links to a page, what's up?
What are "frontend language"s?
Just wondering if this is very incomplete or due to scoping.
Interesting, but the colours for exceptions are inverted. One of the features that Elm touts on its front page is that it doesn't have exceptions.
Structural equality is also debatable.
I would have also chosen green for "no exceptions". This is the way.
This is how I learned about ReScript
I love that little language. I learned ReasonML for fun and built a few toy apps a long time ago, but ReScript has been cool to watch
Technically, Purescript has support for exceptions since it compiles to javascript, but the more standard way to encode exception is through monadic interface
I'm pretty sure that Mint is capable of exceptions.
just hoping crystal gets more attention from the community _
Exceptions are not good. Alternatives are better
Suggestion: please update the colors so colorblind people like me have an easier time reading this chart
or add symbols. probably add symbols.
Question: Can you suggest resources or tips for picking colors that are friendly for color-blind people? Is it easier to differentiate based upon saturation?
I try to differentiable based on lightness/brightness
I don't have any go to tool :( bit of over color is father than the other is easier to see
There are tools that can change the colors of your screen to simulate different kinds of color blindness, that makes it pretty easy to test for the basics. I've been using this one in the past: https://colororacle.org/
But in general, it's also just a good guideline to never rely only on color to communicate important information, and always also have a graphical or textual cue to go with the color.