DEV Community

Discussion on: Programming Tip #2: Avoid globals for dependencies; instead inject them as function arguments.

 
jesterxl profile image
Jesse Warden

Thanks! I can't wait till Roc Lang is near beta. Switching my mind from Elm on the front-end to ReScript on the back-end is ROUUUUGH. No types, data last, deprecated |> use -> instead, and discouraged type annotations. I like it, but I like how Roc Lang is "basically Elm on the server" more.

Thread Thread
 
laurentpayot profile image
Laurent Payot

I’m all serverless now, but yes in a perfect word I could write my serverless functions in ROC 🙏