Post AM3d1RQZgTthMSi6XA by bjc@tines.spork.org
 (DIR) More posts by bjc@tines.spork.org
 (DIR) Post #AM3TvqKhH7g1HKDVZI by Moon@shitposter.club
       2022-07-31T15:48:31.134728Z
       
       2 likes, 0 repeats
       
       Maybe I am wrong but my perception is if you are dealing with really dirty data then a lot of the benefits of Elixir are removed
       
 (DIR) Post #AM3UBKkmSCxLyDntVQ by shibao@misskey.bubbletea.dev
       2022-07-31T15:51:19.811Z
       
       2 likes, 0 repeats
       
       @Moon@shitposter.club pattern matching is especially nice with potentially degraded data, it's one of things that make me really want to use it for things like xmpp parsing
       
 (DIR) Post #AM3UNWW2Y2MpvQinUO by Moon@shitposter.club
       2022-07-31T15:53:29.438540Z
       
       0 likes, 0 repeats
       
       @bjc i guess that's true. I was thinking of the "with", whenever I deal with one I have some exception that makes me not able to use it.
       
 (DIR) Post #AM3USO4rLi4JCaKM3E by shibao@misskey.bubbletea.dev
       2022-07-31T15:54:23.807Z
       
       0 likes, 0 repeats
       
       @Moon@shitposter.club @bjc@tines.spork.org honestly with is probably like the worst built in macro
       
 (DIR) Post #AM3Uht6sFlgnn7f26y by bjc@tines.spork.org
       2022-07-31T15:56:47.314356Z
       
       2 likes, 0 repeats
       
       @Moon simple solution: embrace tradition, use erlang
       
 (DIR) Post #AM3UjFPCqOGTEIsrLc by Moon@shitposter.club
       2022-07-31T15:57:21.540168Z
       
       0 likes, 0 repeats
       
       @shibao @bjc I'm still gonna learn it I just need the thing that makes me say "OK this is perfect for it"
       
 (DIR) Post #AM3UnqAA7gZaOB2My0 by shibao@misskey.bubbletea.dev
       2022-07-31T15:58:16.729Z
       
       1 likes, 0 repeats
       
       @Moon@shitposter.club @bjc@tines.spork.org the thing that it's perfect for is are 2 element status tuples, which are a pretty ingrained elixir and erlang convention (there's even optimizations in the compiler specifically for this) but otherwise it's a bit clumsy to use
       
 (DIR) Post #AM3XWOW7xJLlaRgT1k by helene@p.helene.moe
       2022-07-31T16:28:44.930345Z
       
       2 likes, 0 repeats
       
       @Moon ironically, i think this is where it shines mostit's incredibly easy to fix data with pattern matching and all of that in Elixir, to me
       
 (DIR) Post #AM3d1RQZgTthMSi6XA by bjc@tines.spork.org
       2022-07-31T15:52:04.301591Z
       
       1 likes, 0 repeats
       
       @Moon the main benefit of elixir is the otp and its crash reistance. dirty data arguably makes that more important