JavaScript is a great language. It has a simple syntax, large ecosystem and, what is most important, a great community. At the same time, we all know that JavaScript is quite a funny language with ...
Those coming from the world of TypeScript or Java initially think of classes, interfaces, and generics when they hear “types.
Report do def user_age_to_string(user) do Integer.to_string(user.age) end end # An anderer Stelle im Projekt: Report.user_age_to_string(%{age: "42"}) Integer.to_string/1 is Elixir's usual notation for ...