Antonio Cangiano

Removing Duplicates From a List in Elixir

Removing Duplicates From a List in Elixir

Thanks to the Enum module, in Elixir we can trivially remove duplicates from a list. In the following example, we take a list of integers and pass it to the Enum.uniq/1 function which removes duplicates from the list without altering the original...

read more
Developing with Elixir/OTP Course Review

Developing with Elixir/OTP Course Review

Ruby was the first programming language I truly fell in love with. Yes, I had used several others before (and have since), but Ruby was and still is something dear to me. I can appreciate the usefulness of Python, the simplicity of Go, and the mind-expanding nature of...

read more
Sorting Results by Specific Values in SQL with CASE

Sorting Results by Specific Values in SQL with CASE

Recently I rewrote the backend for my service, Any New Books, due to an Amazon API change. Generally speaking, rewriting an entire codebase is a bad idea. However, the code was quite old and the API changes rather drastic, so I took the opportunity to rewrite the...

read more