Congrats on the release, it like every bit of it !
I hope Gleam will find more sponsors for Louis and the core contributors, especially one from a stable company !
On this side, have you thought about publishing paid educational content to both pay the bill and still contribute to Gleam’s growth ?
I don’t know for others but I would love to pay for something like Luca Palmieri’s book Zero To Production in Rust but in Gleam !
A better name would’ve been “shorthand for named arguments.” Labels have a widely accepted meaning in programming languages: they identify a location within source code.
One of my favorite features of JavaScript, newly Ruby, and now Gleam! Some folks also call this “punning” (I assume it’s because the identifier has a sort of “double meaning”).
Originally it was called punning for Gleam, but prior to release it was determined a little unclear for folks from some ecosystems so we tried to use a name which was more descriptive.
Not a fan of the shorthand syntax (it’s being proposed in Python too). But I’m really intrigued by how steady gleam is progressing and how many great QoL improvements are shipped! Well done.
Congrats on the release, it like every bit of it !
I hope Gleam will find more sponsors for Louis and the core contributors, especially one from a stable company !
On this side, have you thought about publishing paid educational content to both pay the bill and still contribute to Gleam’s growth ? I don’t know for others but I would love to pay for something like Luca Palmieri’s book Zero To Production in Rust but in Gleam !
Thank you!
I’d like to explore this in future for sure!
I love how every new release becomes my new favourite one, so many nice additions! And I wanted the label shorthand syntax for a long time
A better name would’ve been “shorthand for named arguments.” Labels have a widely accepted meaning in programming languages: they identify a location within source code.
This definition of labels is quite common in non C-family languages, and also in PLT.
It’s always good to look across multiple paradigms and ecosystems when naming things as the nomenclature is quite diverse.
One of my favorite features of JavaScript, newly Ruby, and now Gleam! Some folks also call this “punning” (I assume it’s because the identifier has a sort of “double meaning”).
Originally it was called punning for Gleam, but prior to release it was determined a little unclear for folks from some ecosystems so we tried to use a name which was more descriptive.
Not a fan of the shorthand syntax (it’s being proposed in Python too). But I’m really intrigued by how steady gleam is progressing and how many great QoL improvements are shipped! Well done.
I also do not care for that shorthand syntax, having 2 delimiter characters immediately next to each other like that feels uncomfortable
Interestingly, we actually have a single character that is like the combination of a comma and colon - the semicolon.
I wonder if anyone thought of this?
Date(year; month; date;)
OCaml uses semicolons as record field delimiters and has record field punning as well, so it just works out like that
{ Date.year; month; day }Oh yeah, I actually would like that a lot more, even though
;is typically a terminating character in PLsRuby introduced the same thing “recently”. While not a fan in the beginning, it grew on me.