4 ms·
> It's a web API and the strings sent back and forth in HTTP requests and responses can be generated by any serverside language. And Elixir doesn't handle that
by CharlesW 6y ago
> It's a web API and the strings sent back and forth in HTTP requests and responses can be generated by any serverside language.
And Elixir doesn't handle that well? Or it's hard to translate examples written in other languages to Elixir? (I don't use Elixir so I'm not grasping the problem.)
- AlchemistCamp 6y agoElixir's great at that stuff. I wrote a wrapper library for the specific functionality I needed, basically just building up from Plug.Conn.Query.encode/1. > Or it's hard to translate examples written in other languages to Elixir? Well, the first line, "gem install stripe" is a bit tough to translate into a language that doesn't have an official Stripe library :) The issue is that the official library does things behind the scenes that the guides don't mention (such as setting up headers, tokens for webhooks, etc).