• 0 Posts
  • 6 Comments
Joined 2 years ago
cake
Cake day: June 19th, 2023

help-circle
  • Elixir in Action is a great way way to learn the core language, and it’s pretty up-to-date with its latest edition. Elixir as a language has been declared feature-complete, so it doesn’t change that much anyway (the major libraries are a different story).

    If you wanted a book to walk you through LiveView after that, I can recommend Programming Phoenix LiveView. The book is currently in “beta”, with the final version expected in a month, so it’s very up-to-date. We have a book club at work and just finished it this past week. It does a good job of showing how to make live-updating CRUD pages along with building a pentominoes puzzle game that’s rendered with SVG. You build up the project chapter-to-chapter and have a pretty cool little app at the end.

    As long as you don’t need offline support, then a monolith webapp seems like a perfect use for LiveView, especially for a solo dev!



  • I used to feel this way. Over the course of building out 2 calendar systems in my career (so far) and having to learn the intricacies of date and time-related data types and how they interact with time zones, I don’t have much disdain for time zones. I’d suggest for anyone who feels the same way as this meme read So You Want To Abolish Time Zones.

    Also, programmers tend to get frustrated with time zones when they run into bugs around time zone conversion. This is almost always due to the code being written in a way that disregards the existence of times zones until it’s needed and then tacks on the time zone handling as an afterthought.

    If any code that deals with time takes the full complexities of time zones into account from the get-go (which isn’t that hard to do), then it’s pretty straightforward to manage.