Roc has just released it's first numbered version after eight years in the oven. It's slogan is "Fast, Friendly, Functional", and I have followed it because it is one of the few language with...
Roc has just released it's first numbered version after eight years in the oven. It's slogan is "Fast, Friendly, Functional", and I have followed it because it is one of the few language with ironclad type guarantees while also being simple to use and read (even for people who don't have a background in functional programming).
If you want to learn it: there is an up-to-date course on Exercism, the docs have been updated and the folks on the Zulip chat are very friendly (like the slogan suggests).
I've not tried it out yet, but the platforms idea is weirdly compelling to me. IIUC the idea is that the core Roc standard library is purely functional without side effects. Then you choose a...
I've not tried it out yet, but the platforms idea is weirdly compelling to me. IIUC the idea is that the core Roc standard library is purely functional without side effects. Then you choose a platform to code against which provides a library of all of the effectful pieces you need. So you only get the side effects of the actual platform you're coding against, eg. if you're coding against the browser you get DOM element manipulation and if you're coding a game you might get Vulcan draw calls. Strongly encourages the pure functional core with stateful wrapper model that I find appealing.
Roc has just released it's first numbered version after eight years in the oven. It's slogan is "Fast, Friendly, Functional", and I have followed it because it is one of the few language with ironclad type guarantees while also being simple to use and read (even for people who don't have a background in functional programming).
If you want to learn it: there is an up-to-date course on Exercism, the docs have been updated and the folks on the Zulip chat are very friendly (like the slogan suggests).
I've not tried it out yet, but the platforms idea is weirdly compelling to me. IIUC the idea is that the core Roc standard library is purely functional without side effects. Then you choose a platform to code against which provides a library of all of the effectful pieces you need. So you only get the side effects of the actual platform you're coding against, eg. if you're coding against the browser you get DOM element manipulation and if you're coding a game you might get Vulcan draw calls. Strongly encourages the pure functional core with stateful wrapper model that I find appealing.