A new Gleam release is right around the corner and it will come with a new feature I absolutely love: _label shorthands._ It might not be as flashy as other features but I wanted to implement it for the longest time and think it will really help me write better code. Here's what it's all about.
This is something that really confused me when i first read some gleam code because it does not really look like a function call in other languages, which would be read from right to left but this way seems more logical when considering we read left to right and i think i would really get used to it when i get the opportunity to use it more
Jan |> month_to_string |> io.println
This is something that really confused me when i first read some gleam code because it does not really look like a function call in other languages, which would be read from right to left but this way seems more logical when considering we read left to right and i think i would really get used to it when i get the opportunity to use it more