Conversation
Notices
-
Embed this notice
dilbert 1 (sun@shitposter.world)'s status on Tuesday, 04-Feb-2025 08:51:24 JST dilbert 1
@lucy the only languages I like to program in now are Elixir and TypeScript. - kaia and Doughnut Lollipop 【記録係】:blobfoxgooglymlem: like this.
-
Embed this notice
dilbert 1 (sun@shitposter.world)'s status on Tuesday, 04-Feb-2025 08:53:20 JST dilbert 1
@matty @lucy I had a really difficult time getting into Elixir, the only thing that got me over that hump was getting assigned a big project at work and to write it in Elixir. I learned a lot but it still took time. Maybe I'm just admitting I'm not as smart as I thought I was but learning Elixir was not easy. -
Embed this notice
Matty (matty@nicecrew.digital)'s status on Tuesday, 04-Feb-2025 08:53:21 JST Matty
I'm learning TS/React/Node/Deno right now but I'd like to try some Elixir stuff again. Do you know of any resources I could use? I don't mind paying for a course. -
Embed this notice
dilbert 1 (sun@shitposter.world)'s status on Tuesday, 04-Feb-2025 08:54:20 JST dilbert 1
@matty @lucy I don't want to be too discouraging because it's definitely learnable and not like, intentionally difficult. But it is very different than everything else and it took time to learn the conventions. -
Embed this notice
Matty (matty@nicecrew.digital)'s status on Tuesday, 04-Feb-2025 08:55:50 JST Matty
I tried the Exercism courses but they were pretty poorly organized and I wasn't exactly sure where to start. Plus, only really "knowing" object oriented programming languages like JavaScript makes it hard to unlearn that to switch to functional languages. A lot of the fundamentals seem the same, except for things in Elixir being immutable, but my time learning React has helped me understand and prepare for that a bit better, specifically with Redux. dilbert 1 likes this. -
Embed this notice
Matty (matty@nicecrew.digital)'s status on Tuesday, 04-Feb-2025 08:56:19 JST Matty
I like a challenge. I'm going to stay focused on JS/TS for now but in the event that I want to learn something different or write a frontend in TS but a backend in something more efficient, I'd probably go with Elixir. Then again I really don't know enough as it sits to make that determination. dilbert 1 likes this. -
Embed this notice
dilbert 1 (sun@shitposter.world)'s status on Tuesday, 04-Feb-2025 08:57:57 JST dilbert 1
@matty @lucy If you want I'll link you to code I've written from scratch in case it's helpful to see how to organize a project. My biggest advice I got from Lain which is to immediately make a commitment to learning and using Ecto when you access a database. In fact my major project mostly did not use Ecto for performance reasons but literally everything else extensively used Ecto and it is really worth using. -
Embed this notice
Matty (matty@nicecrew.digital)'s status on Tuesday, 04-Feb-2025 09:01:34 JST Matty
Like I said - I don't know enough to really know what I do and don't know, if that makes sense. I know that the Pleroma project uses Ecto, I just don't know what it does. Is it a package manager? I would have to read up on it. Maybe after I burn myself out on JS. I appreciate it. dilbert 1 likes this. -
Embed this notice
dilbert 1 (sun@shitposter.world)'s status on Tuesday, 04-Feb-2025 09:01:34 JST dilbert 1
@matty @lucy It's kind of a wrapper for relational database access, but it makes it so nice and elixir-like.
I think I have a couple projects where literally all they do is provide a couple JSON API endpoints, I think they're good because you could just fork them to start your own. I'll see if I can find them later. -
Embed this notice
dilbert 1 (sun@shitposter.world)'s status on Tuesday, 04-Feb-2025 09:02:41 JST dilbert 1
@matty @lucy in the future when/if you jump into it I'd be happy to provide input/advice. -
Embed this notice
dilbert 1 (sun@shitposter.world)'s status on Tuesday, 04-Feb-2025 09:18:12 JST dilbert 1
@Verfassungsschmutz @lucy @matty One really great addition is TypeSpecs, that let you define what the input and output of functions is _supposed_ to be, and then your language server can warn you -
Embed this notice
Verfassungsschmutz :sonnenrad: (verfassungsschmutz@nicecrew.digital)'s status on Tuesday, 04-Feb-2025 09:18:13 JST Verfassungsschmutz :sonnenrad:
I've had good experiences with the Pragmatic Bookshelf's titles, but unfortunately it seems that their main Elixir book hasn't been updated in 7 years:
https://pragprog.com/titles/elixir16/programming-elixir-1-6/
I haven't been following the scene actively so I don't know how much has changed (I assume the majority of it will still work but new features might have been added since), but Dave Thomas is a great writer. I learned Ruby on Rails from one of his books and it was money.dilbert 1 likes this.