Three Ways to Debug Code in Elixir

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • ice_cream

  • icecream

    🍦 Never use print() to debug again.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • livebook

    Automate code & data workflows with interactive Elixir notebooks

  • Another thing worth trying, is connecting a Livebook instance (see: https://livebook.dev/) to a running application.

  • awesome-advent-of-code

    A collection of awesome resources related to the yearly Advent of Code challenge.

  • ```

    I find the above really elegant. It's correct, the special case for "0" is very explicit, and if you try a negative number, Elixir will simply be unable to match the given problem to a function definition (n < 0), which makes more sense than throwing "BadArgument" errors/exceptions.

    If you really want to just solve problems, I advise sticking with Python, there's nothing wrong with it. Most languages also provide a lot of functional concepts, I'm sure Python is no exception (with some libraries). Be prepared that functional languages require you to think differently, but it is really fun to do things in a functional way!

    Good luck!

    [1]: https://github.com/Bogdanp/awesome-advent-of-code

  • advent-of-code-2021

    Discontinued An Elixir learner's solution for the Advent of Code 2021 event. (by MarcusCemes)

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts