News for hackers. Stuff that matters.
Re:Elixir Type system updates: moving from research into dev... by CoastalCoder on Tuesday July 04, 2023 @05:36PM (#36592796)
> (I'm very type oriented when writing and, more importantly, reading code).

Me too!

Have you learned any tricks for getting up to speed on large code bases with very limited use of static typing?

I've mostly worked on deep-learning compiler frameworks in recent years, written mostly in Python. The very limited static typing not only sapped my joy in programming, it somewhat broke me.

Some people are really good at living with code bases like that. I'm not one of them, but I'm still hoping to find some way to bridge the mental gap.

Re:Elixir Type system updates: moving from research into dev... by wofo on Wednesday July 05, 2023 @11:00AM (#36601372)
> it really burned me out.

For me it didn't go that far, fortunately, because I managed to jump ship on time... But it was getting _tiring_.

> Have you learned any tricks (...)?

My current apprach is: don't. These days I usually work in Rust, C# and sometimes Typescript. I'm only open to working with dynamically typed languages for short periods of time, as a side quest of the main task (e.g. for my last contract I had to read quite some C code, which somewhat resembled dynamically typed code, but I spent even more time writing Rust, so it was OK).

Re:Elixir Type system updates: moving from research into dev... by CoastalCoder on Wednesday July 05, 2023 @11:12AM (#36601518)
> My current apprach is: don't.

Eh, thanks. That's my approach as well. I was just hoping for some silver bullet I guess.

Re:Elixir Type system updates: moving from research into dev... by wofo on Wednesday July 05, 2023 @11:18AM (#36601623)
Yeah, for me it was confusing to see that many programmers seem to thrive without static typing, and in fact the 6-month Elixir project was an experiment to see if I could do the same :P (to me, Elixir is still the most appealing of dynamically typed languages)